2 references to TryGetTypeHandle
System.Reflection.Emit (2)
System\Reflection\Emit\ILGeneratorImpl.cs (1)
618WriteOrReserveToken(_moduleBuilder.TryGetTypeHandle(cls), cls);
System\Reflection\Emit\ModuleBuilderImpl.cs (1)
1231public override int GetTypeMetadataToken(Type type) => GetTokenForHandle(TryGetTypeHandle(type));