13 references to GetTypeHandle
System.Reflection.Emit (13)
System\Reflection\Emit\ILGeneratorImpl.cs (1)
66
GetMetaLabel(eb.HandlerStart), GetMetaLabel(eb.HandlerEnd), _moduleBuilder.
GetTypeHandle
(eb.ExceptionType!));
System\Reflection\Emit\ModuleBuilderImpl.cs (9)
153
parent =
GetTypeHandle
(typeBuilder.BaseType);
175
_metadataBuilder.AddNestedType(typeHandle, (TypeDefinitionHandle)
GetTypeHandle
(typeBuilder.DeclaringType));
209
_metadataBuilder.AddInterfaceImplementation(typeHandle,
GetTypeHandle
(iface));
236
EventDefinitionHandle eventHandle = AddEventDefinition(eventBuilder,
GetTypeHandle
(eventBuilder.EventType));
744
memberHandle = AddMemberReference(field.Name,
GetTypeHandle
(declaringType),
750
memberHandle = AddMemberReference(ctor.Name,
GetTypeHandle
(memberInfo.DeclaringType!), MetadataSignatureHelper.GetConstructorSignature(ctor.GetParameters(), this));
759
memberHandle = AddMemberReference(sm.Name,
GetTypeHandle
(sm.DeclaringType!), GetMethodArrayMethodSignature(sm));
764
memberHandle = AddMemberReference(method.Name,
GetTypeHandle
(memberInfo.DeclaringType!), GetMethodSignature(method, null));
880
_metadataBuilder.AddGenericParameterConstraint(handle,
GetTypeHandle
(constraint));
System\Reflection\Emit\SignatureHelper.cs (3)
125
encoder.AddModifier(module.
GetTypeHandle
(modifier), isOptional);
199
module.
GetTypeHandle
(type.GetGenericTypeDefinition()), genericArguments.Length, type.IsValueType);
291
EntityHandle typeHandle = module.
GetTypeHandle
(type);