43 instantiations of Handle
System.Private.CoreLib (39)
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\BlobReader.cs (1)
71
Handle handle = new
Handle
((HandleType)(value & 0x7f), (int)(value >> 7));
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\MdBinaryReader.cs (1)
49
handle = new
Handle
((HandleType)(rawValue & 0x7F), (int)(rawValue >> 7));
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\NativeFormatReaderGen.cs (35)
96
=> new
Handle
(handle._value);
177
=> new
Handle
(handle._value);
261
=> new
Handle
(handle._value);
341
=> new
Handle
(handle._value);
423
=> new
Handle
(handle._value);
508
=> new
Handle
(handle._value);
605
=> new
Handle
(handle._value);
705
=> new
Handle
(handle._value);
786
=> new
Handle
(handle._value);
866
=> new
Handle
(handle._value);
967
=> new
Handle
(handle._value);
1057
=> new
Handle
(handle._value);
1161
=> new
Handle
(handle._value);
1247
=> new
Handle
(handle._value);
1331
=> new
Handle
(handle._value);
1430
=> new
Handle
(handle._value);
1510
=> new
Handle
(handle._value);
1600
=> new
Handle
(handle._value);
1684
=> new
Handle
(handle._value);
1768
=> new
Handle
(handle._value);
1864
=> new
Handle
(handle._value);
1945
=> new
Handle
(handle._value);
2045
=> new
Handle
(handle._value);
2135
=> new
Handle
(handle._value);
2219
=> new
Handle
(handle._value);
2303
=> new
Handle
(handle._value);
2384
=> new
Handle
(handle._value);
2524
=> new
Handle
(handle._value);
2632
=> new
Handle
(handle._value);
2767
=> new
Handle
(handle._value);
2855
=> new
Handle
(handle._value);
2941
=> new
Handle
(handle._value);
3026
=> new
Handle
(handle._value);
3107
=> new
Handle
(handle._value);
3187
=> new
Handle
(handle._value);
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\NativeMetadataReader.cs (2)
120
public static Handle FromIntToken(int value) => new
Handle
(value);
191
return new
Handle
(((int)HandleType.Null) << 25);
System.Private.StackTraceMetadata (4)
Internal\StackTraceMetadata\StackTraceMetadata.cs (4)
480
currentName = new
Handle
(HandleType.ConstantStringValue, (int)NativePrimitiveDecoder.DecodeUnsigned(ref pCurrent)).ToConstantStringValueHandle(Reader);
485
currentSignature = new
Handle
(HandleType.MethodSignature, (int)NativePrimitiveDecoder.DecodeUnsigned(ref pCurrent)).ToMethodSignatureHandle(Reader);
491
currentSignature = new
Handle
(HandleType.MethodSignature, (int)NativePrimitiveDecoder.DecodeUnsigned(ref pCurrent)).ToMethodSignatureHandle(Reader);
492
currentMethodInst = new
Handle
(HandleType.ConstantStringArray, (int)NativePrimitiveDecoder.DecodeUnsigned(ref pCurrent)).ToConstantStringArrayHandle(Reader);
311 references to Handle
System.Private.CoreLib (279)
Internal\Runtime\CompilerServices\MethodNameAndSignature.cs (2)
63
Handle
returnType = method.Signature.GetMethodSignature(Reader).ReturnType;
66
Handle
inner = returnType.ToTypeSpecificationHandle(Reader).GetTypeSpecification(Reader).Signature;
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\BlobReader.cs (2)
68
public
Handle
ReadTypeHandle()
71
Handle
handle = new Handle((HandleType)(value & 0x7f), (int)(value >> 7));
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\MdBinaryReader.cs (1)
45
public static uint Read(this NativeReader reader, uint offset, out
Handle
handle)
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\NativeFormatReaderGen.cs (216)
47
public
Handle
ElementType => _elementType;
48
private readonly
Handle
_elementType;
67
internal ArraySignatureHandle(
Handle
handle) : this(handle._value)
83
else if (obj is
Handle
)
84
return _value == ((
Handle
)obj)._value;
91
public bool Equals(
Handle
handle) => _value == handle._value;
95
public static implicit operator
Handle
(ArraySignatureHandle handle)
137
public
Handle
Type => _type;
138
private readonly
Handle
_type;
148
internal ByReferenceSignatureHandle(
Handle
handle) : this(handle._value)
164
else if (obj is
Handle
)
165
return _value == ((
Handle
)obj)._value;
172
public bool Equals(
Handle
handle) => _value == handle._value;
176
public static implicit operator
Handle
(ByReferenceSignatureHandle handle)
232
internal ConstantHandle(
Handle
handle) : this(handle._value)
248
else if (obj is
Handle
)
249
return _value == ((
Handle
)obj)._value;
256
public bool Equals(
Handle
handle) => _value == handle._value;
260
public static implicit operator
Handle
(ConstantHandle handle)
312
internal ConstantStringArrayHandle(
Handle
handle) : this(handle._value)
328
else if (obj is
Handle
)
329
return _value == ((
Handle
)obj)._value;
336
public bool Equals(
Handle
handle) => _value == handle._value;
340
public static implicit operator
Handle
(ConstantStringArrayHandle handle)
394
internal ConstantStringValueHandle(
Handle
handle) : this(handle._value)
410
else if (obj is
Handle
)
411
return _value == ((
Handle
)obj)._value;
418
public bool Equals(
Handle
handle) => _value == handle._value;
422
public static implicit operator
Handle
(ConstantStringValueHandle handle)
465
public
Handle
Constructor => _constructor;
466
private readonly
Handle
_constructor;
479
internal CustomAttributeHandle(
Handle
handle) : this(handle._value)
495
else if (obj is
Handle
)
496
return _value == ((
Handle
)obj)._value;
503
public bool Equals(
Handle
handle) => _value == handle._value;
507
public static implicit operator
Handle
(CustomAttributeHandle handle)
559
public
Handle
Type => _type;
560
private readonly
Handle
_type;
576
internal EventHandle(
Handle
handle) : this(handle._value)
592
else if (obj is
Handle
)
593
return _value == ((
Handle
)obj)._value;
600
public bool Equals(
Handle
handle) => _value == handle._value;
604
public static implicit operator
Handle
(EventHandle handle)
676
internal FieldHandle(
Handle
handle) : this(handle._value)
692
else if (obj is
Handle
)
693
return _value == ((
Handle
)obj)._value;
700
public bool Equals(
Handle
handle) => _value == handle._value;
704
public static implicit operator
Handle
(FieldHandle handle)
746
public
Handle
Type => _type;
747
private readonly
Handle
_type;
757
internal FieldSignatureHandle(
Handle
handle) : this(handle._value)
773
else if (obj is
Handle
)
774
return _value == ((
Handle
)obj)._value;
781
public bool Equals(
Handle
handle) => _value == handle._value;
785
public static implicit operator
Handle
(FieldSignatureHandle handle)
837
internal FunctionPointerSignatureHandle(
Handle
handle) : this(handle._value)
853
else if (obj is
Handle
)
854
return _value == ((
Handle
)obj)._value;
861
public bool Equals(
Handle
handle) => _value == handle._value;
865
public static implicit operator
Handle
(FunctionPointerSignatureHandle handle)
938
internal GenericParameterHandle(
Handle
handle) : this(handle._value)
954
else if (obj is
Handle
)
955
return _value == ((
Handle
)obj)._value;
962
public bool Equals(
Handle
handle) => _value == handle._value;
966
public static implicit operator
Handle
(GenericParameterHandle handle)
1010
public
Handle
Parent => _parent;
1011
private readonly
Handle
_parent;
1017
public
Handle
Signature => _signature;
1018
private readonly
Handle
_signature;
1028
internal MemberReferenceHandle(
Handle
handle) : this(handle._value)
1044
else if (obj is
Handle
)
1045
return _value == ((
Handle
)obj)._value;
1052
public bool Equals(
Handle
handle) => _value == handle._value;
1056
public static implicit operator
Handle
(MemberReferenceHandle handle)
1132
internal MethodHandle(
Handle
handle) : this(handle._value)
1148
else if (obj is
Handle
)
1149
return _value == ((
Handle
)obj)._value;
1156
public bool Equals(
Handle
handle) => _value == handle._value;
1160
public static implicit operator
Handle
(MethodHandle handle)
1203
public
Handle
Method => _method;
1204
private readonly
Handle
_method;
1218
internal MethodInstantiationHandle(
Handle
handle) : this(handle._value)
1234
else if (obj is
Handle
)
1235
return _value == ((
Handle
)obj)._value;
1242
public bool Equals(
Handle
handle) => _value == handle._value;
1246
public static implicit operator
Handle
(MethodInstantiationHandle handle)
1302
internal MethodSemanticsHandle(
Handle
handle) : this(handle._value)
1318
else if (obj is
Handle
)
1319
return _value == ((
Handle
)obj)._value;
1326
public bool Equals(
Handle
handle) => _value == handle._value;
1330
public static implicit operator
Handle
(MethodSemanticsHandle handle)
1382
public
Handle
ReturnType => _returnType;
1383
private readonly
Handle
_returnType;
1401
internal MethodSignatureHandle(
Handle
handle) : this(handle._value)
1417
else if (obj is
Handle
)
1418
return _value == ((
Handle
)obj)._value;
1425
public bool Equals(
Handle
handle) => _value == handle._value;
1429
public static implicit operator
Handle
(MethodSignatureHandle handle)
1481
internal MethodTypeVariableSignatureHandle(
Handle
handle) : this(handle._value)
1497
else if (obj is
Handle
)
1498
return _value == ((
Handle
)obj)._value;
1505
public bool Equals(
Handle
handle) => _value == handle._value;
1509
public static implicit operator
Handle
(MethodTypeVariableSignatureHandle handle)
1556
public
Handle
ModifierType => _modifierType;
1557
private readonly
Handle
_modifierType;
1560
public
Handle
Type => _type;
1561
private readonly
Handle
_type;
1571
internal ModifiedTypeHandle(
Handle
handle) : this(handle._value)
1587
else if (obj is
Handle
)
1588
return _value == ((
Handle
)obj)._value;
1595
public bool Equals(
Handle
handle) => _value == handle._value;
1599
public static implicit operator
Handle
(ModifiedTypeHandle handle)
1655
internal NamespaceDefinitionHandle(
Handle
handle) : this(handle._value)
1671
else if (obj is
Handle
)
1672
return _value == ((
Handle
)obj)._value;
1679
public bool Equals(
Handle
handle) => _value == handle._value;
1683
public static implicit operator
Handle
(NamespaceDefinitionHandle handle)
1739
internal NamespaceReferenceHandle(
Handle
handle) : this(handle._value)
1755
else if (obj is
Handle
)
1756
return _value == ((
Handle
)obj)._value;
1763
public bool Equals(
Handle
handle) => _value == handle._value;
1767
public static implicit operator
Handle
(NamespaceReferenceHandle handle)
1835
internal ParameterHandle(
Handle
handle) : this(handle._value)
1851
else if (obj is
Handle
)
1852
return _value == ((
Handle
)obj)._value;
1859
public bool Equals(
Handle
handle) => _value == handle._value;
1863
public static implicit operator
Handle
(ParameterHandle handle)
1905
public
Handle
Type => _type;
1906
private readonly
Handle
_type;
1916
internal PointerSignatureHandle(
Handle
handle) : this(handle._value)
1932
else if (obj is
Handle
)
1933
return _value == ((
Handle
)obj)._value;
1940
public bool Equals(
Handle
handle) => _value == handle._value;
1944
public static implicit operator
Handle
(PointerSignatureHandle handle)
2016
internal PropertyHandle(
Handle
handle) : this(handle._value)
2032
else if (obj is
Handle
)
2033
return _value == ((
Handle
)obj)._value;
2040
public bool Equals(
Handle
handle) => _value == handle._value;
2044
public static implicit operator
Handle
(PropertyHandle handle)
2091
public
Handle
Type => _type;
2092
private readonly
Handle
_type;
2106
internal PropertySignatureHandle(
Handle
handle) : this(handle._value)
2122
else if (obj is
Handle
)
2123
return _value == ((
Handle
)obj)._value;
2130
public bool Equals(
Handle
handle) => _value == handle._value;
2134
public static implicit operator
Handle
(PropertySignatureHandle handle)
2190
internal QualifiedFieldHandle(
Handle
handle) : this(handle._value)
2206
else if (obj is
Handle
)
2207
return _value == ((
Handle
)obj)._value;
2214
public bool Equals(
Handle
handle) => _value == handle._value;
2218
public static implicit operator
Handle
(QualifiedFieldHandle handle)
2274
internal QualifiedMethodHandle(
Handle
handle) : this(handle._value)
2290
else if (obj is
Handle
)
2291
return _value == ((
Handle
)obj)._value;
2298
public bool Equals(
Handle
handle) => _value == handle._value;
2302
public static implicit operator
Handle
(QualifiedMethodHandle handle)
2344
public
Handle
ElementType => _elementType;
2345
private readonly
Handle
_elementType;
2355
internal SZArraySignatureHandle(
Handle
handle) : this(handle._value)
2371
else if (obj is
Handle
)
2372
return _value == ((
Handle
)obj)._value;
2379
public bool Equals(
Handle
handle) => _value == handle._value;
2383
public static implicit operator
Handle
(SZArraySignatureHandle handle)
2495
internal ScopeDefinitionHandle(
Handle
handle) : this(handle._value)
2511
else if (obj is
Handle
)
2512
return _value == ((
Handle
)obj)._value;
2519
public bool Equals(
Handle
handle) => _value == handle._value;
2523
public static implicit operator
Handle
(ScopeDefinitionHandle handle)
2603
internal ScopeReferenceHandle(
Handle
handle) : this(handle._value)
2619
else if (obj is
Handle
)
2620
return _value == ((
Handle
)obj)._value;
2627
public bool Equals(
Handle
handle) => _value == handle._value;
2631
public static implicit operator
Handle
(ScopeReferenceHandle handle)
2689
public
Handle
BaseType => _baseType;
2690
private readonly
Handle
_baseType;
2693
public
Handle
NamespaceOrEnclosingType => _namespaceOrEnclosingType;
2694
private readonly
Handle
_namespaceOrEnclosingType;
2738
internal TypeDefinitionHandle(
Handle
handle) : this(handle._value)
2754
else if (obj is
Handle
)
2755
return _value == ((
Handle
)obj)._value;
2762
public bool Equals(
Handle
handle) => _value == handle._value;
2766
public static implicit operator
Handle
(TypeDefinitionHandle handle)
2826
internal TypeForwarderHandle(
Handle
handle) : this(handle._value)
2842
else if (obj is
Handle
)
2843
return _value == ((
Handle
)obj)._value;
2850
public bool Equals(
Handle
handle) => _value == handle._value;
2854
public static implicit operator
Handle
(TypeForwarderHandle handle)
2897
public
Handle
GenericType => _genericType;
2898
private readonly
Handle
_genericType;
2912
internal TypeInstantiationSignatureHandle(
Handle
handle) : this(handle._value)
2928
else if (obj is
Handle
)
2929
return _value == ((
Handle
)obj)._value;
2936
public bool Equals(
Handle
handle) => _value == handle._value;
2940
public static implicit operator
Handle
(TypeInstantiationSignatureHandle handle)
2983
public
Handle
NamespaceOrEnclosingType => _namespaceOrEnclosingType;
2984
private readonly
Handle
_namespaceOrEnclosingType;
2997
internal TypeReferenceHandle(
Handle
handle) : this(handle._value)
3013
else if (obj is
Handle
)
3014
return _value == ((
Handle
)obj)._value;
3021
public bool Equals(
Handle
handle) => _value == handle._value;
3025
public static implicit operator
Handle
(TypeReferenceHandle handle)
3067
public
Handle
Signature => _signature;
3068
private readonly
Handle
_signature;
3078
internal TypeSpecificationHandle(
Handle
handle) : this(handle._value)
3094
else if (obj is
Handle
)
3095
return _value == ((
Handle
)obj)._value;
3102
public bool Equals(
Handle
handle) => _value == handle._value;
3106
public static implicit operator
Handle
(TypeSpecificationHandle handle)
3158
internal TypeVariableSignatureHandle(
Handle
handle) : this(handle._value)
3174
else if (obj is
Handle
)
3175
return _value == ((
Handle
)obj)._value;
3182
public bool Equals(
Handle
handle) => _value == handle._value;
3186
public static implicit operator
Handle
(TypeVariableSignatureHandle handle)
4550
private
Handle
_current;
4556
_current = default(
Handle
);
4559
public
Handle
Current
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\NativeMetadataReader.cs (8)
69
if (obj is
Handle
)
70
return _value == ((
Handle
)obj)._value;
75
public bool Equals(
Handle
handle)
120
public static
Handle
FromIntToken(int value) => new Handle(value);
187
public
Handle
NullHandle
198
public bool IsNull(
Handle
handle)
208
public
Handle
ToHandle(
Handle
handle)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeCustomAttributeData.cs (1)
898
Handle
handle = blob.ReadTypeHandle();
System\Reflection\ModifiedType.NativeAot.cs (8)
18
internal readonly
Handle
Handle;
19
public TypeSignature(MetadataReader reader,
Handle
handle)
29
Handle
handle = _typeSignature.Handle;
63
foreach (
Handle
paramHandle in functionSig.Parameters)
73
foreach (
Handle
paramHandle in typeInst.GenericTypeArguments)
90
Handle
fnPtrTypeSigHandle = reader.GetTypeSpecification(
109
Handle
handle = _typeSignature.Handle;
136
public static Type Create(Type unmodifiedType, MetadataReader reader,
Handle
typeSignature)
System\Reflection\Runtime\Assemblies\NativeFormat\NativeFormatRuntimeAssembly.GetTypeCore.CaseInsensitive.cs (1)
26
Handle
typeDefOrForwarderHandle = qualifiedHandle.Handle;
System\Reflection\Runtime\FieldInfos\NativeFormat\NativeFormatRuntimeFieldInfo.cs (1)
165
private
Handle
FieldTypeHandle => _field.Signature.GetFieldSignature(_reader).Type;
System\Reflection\Runtime\General\MetadataReaderExtensions.cs (7)
25
public static unsafe
Handle
AsHandle(this int token)
27
return *(
Handle
*)&token;
35
public static unsafe
Handle
AsHandle(this uint token)
37
return *(
Handle
*)&token;
45
public static unsafe int AsInt(this
Handle
handle)
63
public static bool IsTypeDefRefOrSpecHandle(this
Handle
handle, MetadataReader reader)
71
public static bool IsTypeDefRefSpecOrModifiedTypeHandle(this
Handle
handle, MetadataReader reader)
System\Reflection\Runtime\General\MetadataReaderExtensions.NativeFormat.cs (8)
47
internal static Type[] GetCustomModifiers(this
Handle
handle, MetadataReader reader, TypeContext typeContext, bool optional)
72
public static
Handle
SkipCustomModifiers(this
Handle
handle, MetadataReader reader)
90
public static MethodSignature ParseMethodSignature(this
Handle
handle, MetadataReader reader)
141
public static
Handle
GetAttributeTypeHandle(this CustomAttribute customAttribute,
166
Handle
typeHandle = customAttributeHandle.GetCustomAttribute(reader).GetAttributeTypeHandle(reader);
173
Handle
namespaceOrEnclosingType = typeDefinition.NamespaceOrEnclosingType;
184
Handle
namespaceOrEnclosingType = typeReference.NamespaceOrEnclosingType;
System\Reflection\Runtime\General\QHandles.cs (3)
68
public QHandle(MetadataReader reader,
Handle
handle)
75
public
Handle
Handle { get { return _handle; } }
99
private readonly
Handle
_handle;
System\Reflection\Runtime\General\QHandles.NativeFormat.cs (3)
22
_handle = ((
Handle
)handle).AsInt();
42
_handle = ((
Handle
)handle).AsInt();
59
public QTypeDefRefOrSpec(MetadataReader reader,
Handle
handle, bool skipCheck = false)
System\Reflection\Runtime\General\QSignatureTypeHandle.cs (1)
24
private global::Internal.Metadata.NativeFormat.
Handle
_handle;
System\Reflection\Runtime\General\QSignatureTypeHandle.NativeFormat.cs (1)
19
public QSignatureTypeHandle(MetadataReader reader,
Handle
handle, bool skipCheck = false)
System\Reflection\Runtime\General\TypeResolver.cs (1)
26
return global::Internal.Metadata.NativeFormat.
Handle
.FromIntToken(typeDefOrRefOrSpec.Handle).TryResolve((global::Internal.Metadata.NativeFormat.MetadataReader)typeDefOrRefOrSpec.Reader, typeContext, ref exception);
System\Reflection\Runtime\General\TypeResolver.NativeFormat.cs (6)
21
internal static RuntimeTypeInfo Resolve(this
Handle
typeDefRefOrSpec, MetadataReader reader, TypeContext typeContext)
30
internal static RuntimeTypeInfo? TryResolve(this
Handle
typeDefRefOrSpec, MetadataReader reader, TypeContext typeContext, ref Exception? exception)
62
Handle
typeHandle = typeSpecHandle.GetTypeSpecification(reader).Signature;
110
foreach (
Handle
paramTypeHandle in methodSig.Parameters)
142
foreach (
Handle
genericTypeArgumentHandle in sig.GenericTypeArguments)
175
Handle
parent = typeReference.NamespaceOrEnclosingType;
System\Reflection\Runtime\MethodInfos\NativeFormat\NativeFormatMethodCommon.cs (1)
39
foreach (
Handle
parameterTypeSignatureHandle in methodSignature.Parameters)
System\Reflection\Runtime\PropertyInfos\NativeFormat\NativeFormatRuntimePropertyInfo.cs (1)
131
foreach (
Handle
parameterType in _property.Signature.GetPropertySignature(_reader).Parameters)
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeGenericParameterTypeInfo.cs (1)
72
foreach (
Handle
constraintHandle in _genericParameter.Constraints)
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeNamedTypeInfo.cs (4)
182
Handle
namespaceOrEnclosingType = _typeDefinition.NamespaceOrEnclosingType;
292
Handle
baseType = _typeDefinition.BaseType;
308
foreach (
Handle
ifcHandle in _typeDefinition.Interfaces)
385
Handle
namespaceOrEnclosingType = _typeDefinition.NamespaceOrEnclosingType;
System\Reflection\RuntimeCustomAttributeData.NativeAot.cs (2)
108
foreach (
Handle
parameterHandle in signatureParameters)
175
Handle
attributeTypeHandle = customAttribute.GetAttributeTypeHandle(reader);
System.Private.StackTraceMetadata (24)
Internal\StackTraceMetadata\MethodNameFormatter.cs (15)
47
public static string FormatReflectionNotationTypeName(MetadataReader metadataReader,
Handle
type)
54
public static (string, string, string, string) FormatMethodName(MetadataReader metadataReader,
Handle
owningType, ConstantStringValueHandle name, MethodSignatureHandle signature, ConstantStringArrayHandle genericArguments)
143
foreach (
Handle
type in typeVector)
173
foreach (
Handle
handle in typeVector)
190
private void EmitTypeName(
Handle
typeHandle, Flags flags)
301
Handle
namespaceOrEnclosingType = typeDef.NamespaceOrEnclosingType;
420
public static
Handle
GetHandleAt(HandleCollection collection, int index)
424
foreach (
var
currentArg in collection)
432
return default(
Handle
);
435
public static
Handle
GetHandleAt(GenericParameterHandleCollection collection, int index)
447
return default(
Handle
);
450
public
Handle
GetTypeVariable(int index)
457
public
Handle
GetMethodVariable(int index)
476
private static object GetTypeContext(MetadataReader metadataReader,
Handle
handle)
510
public static SigTypeContext FromMethod(MetadataReader metadataReader,
Handle
enclosingTypeHandle, ConstantStringArrayHandle methodInst)
Internal\StackTraceMetadata\StackTraceMetadata.cs (9)
76
hashCodeForLineInfo = (int)VersionResilientHashCode.CombineThreeValuesIntoHash((uint)data.OwningType.ToIntToken(), (uint)((
Handle
)data.Name).ToIntToken(), (uint)((
Handle
)data.Signature).ToIntToken());
112
hashCodeForLineInfo = (int)VersionResilientHashCode.CombineTwoValuesIntoHash((uint)((
Handle
)typeHandle).ToIntToken(), (uint)((
Handle
)methodHandle).ToIntToken());
236
private static DiagnosticMethodInfo CreateDiagnosticMethodInfo(MetadataReader reader,
Handle
owningType, ConstantStringValueHandle name)
249
private static string FormatAssemblyName(MetadataReader reader,
Handle
handle)
460
Handle
currentOwningType = default;
473
currentOwningType =
Handle
.FromIntToken((int)NativePrimitiveDecoder.ReadUInt32(ref pCurrent));
597
public
Handle
OwningType { get; init; }
System.Private.TypeLoader (8)
Internal\Runtime\TypeLoader\MetadataNameExtensions.cs (3)
12
private static string GetFullName(this
Handle
handle, MetadataReader reader)
30
Handle
parent = typeDef.NamespaceOrEnclosingType;
54
Handle
currentHandle = typeDef.NamespaceOrEnclosingType;
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.FieldAccess.cs (1)
85
Handle
entryFieldHandle = (((int)HandleType.Field << 25) | (int)entryParser.GetUnsigned()).AsHandle();
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.Metadata.cs (2)
97
Handle
entryMetadataHandle = entryParser.GetUnsigned().AsHandle();
640
Handle
entryMethodHandle = (((uint)HandleType.Method << 25) | entryParser.GetUnsigned()).AsHandle();
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\MetadataTypeHashingAlgorithms.cs (2)
14
Handle
namespaceOrEnclosingType = typeDef.NamespaceOrEnclosingType;
39
Handle
namespaceOrEnclosingType = typeRef.NamespaceOrEnclosingType;