Synced
TypeCacheSnapshot.GetTypeRef
Section titled “TypeCacheSnapshot.GetTypeRef”
- Gets the reference for a CLR type in this snapshot.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Extensibility.Types
Declaration
Section titled “Declaration”public Inno.Extensibility.Types.TypeRef Inno.Extensibility.Types.TypeCacheSnapshot.GetTypeRef(System.Type type)Returns
Section titled “Returns”The logical and generation-local identity of type.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when type is null.
Exception T:System.InvalidOperationException: Thrown when the type does not belong to this snapshot.
Parameters
Section titled “Parameters”Parameter type: The type consumed by get type ref; ownership remains with the caller unless explicitly stated otherwise.