Synced
TypeCacheSnapshot.TryGetTypeRef
Section titled “TypeCacheSnapshot.TryGetTypeRef”
- Tries to get 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 bool Inno.Extensibility.Types.TypeCacheSnapshot.TryGetTypeRef(System.Type type, out Inno.Extensibility.Types.TypeRef typeRef)Parameters
Section titled “Parameters”Parameter type: The CLR type to identify.
Parameter typeRef: Receives its logical and generation-local identity.
Returns
Section titled “Returns”true when the type belongs to this snapshot.