mirror of
https://github.com/Smaug123/WoofWare.PawPrint
synced 2025-10-06 06:28:39 +00:00
Uncomment a bit of a test (#64)
This commit is contained in:
@@ -519,6 +519,12 @@ type UnaryMetadataTokenIlOp =
|
||||
| Call
|
||||
| Calli
|
||||
| Callvirt
|
||||
/// Attempts to cast an object passed by reference to the specified class.
|
||||
/// If the class of the object on the top of the stack does not implement the new class
|
||||
/// (assuming the new class is an interface)
|
||||
/// and is not a derived class of the new class then an InvalidCastException is thrown.
|
||||
/// If the object reference is a null reference, castclass succeeds
|
||||
/// and returns the new object as a null reference.
|
||||
| Castclass
|
||||
| Newobj
|
||||
| Newarr
|
||||
|
@@ -92,6 +92,8 @@ type TypeInfoCrate =
|
||||
abstract ToString : unit -> string
|
||||
abstract BaseType : BaseTypeInfo option
|
||||
abstract Assembly : AssemblyName
|
||||
abstract Namespace : string
|
||||
abstract Name : string
|
||||
|
||||
[<RequireQualifiedAccess>]
|
||||
module TypeInfoCrate =
|
||||
@@ -108,6 +110,10 @@ module TypeInfoCrate =
|
||||
member this.BaseType = t.BaseType
|
||||
|
||||
member this.Assembly = t.Assembly
|
||||
|
||||
member this.Namespace = t.Namespace
|
||||
|
||||
member this.Name = t.Name
|
||||
}
|
||||
|
||||
type BaseClassTypes<'corelib> =
|
||||
|
Reference in New Issue
Block a user