Synced
TypeRef.Resolve
Section titled “TypeRef.Resolve”
- Resolves this reference against a specific immutable type-cache snapshot.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Extensibility.Types
Declaration
Section titled “Declaration”public System.Type Inno.Extensibility.Types.TypeRef.Resolve(Inno.Extensibility.Types.TypeCacheSnapshot snapshot)Parameters
Section titled “Parameters”Parameter snapshot: The snapshot that defines the required assembly generation.
Returns
Section titled “Returns”The CLR type represented by this reference in snapshot.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when snapshot is null.
Exception T:System.InvalidOperationException: Thrown when the reference is empty or the logical type does not exist in the snapshot.