65 references to Null
System.Private.CoreLib (65)
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\NativeFormatReaderGen.cs (63)
74
Debug.Assert(hType == HandleType.ArraySignature || hType == HandleType.
Null
);
155
Debug.Assert(hType == HandleType.ByReferenceSignature || hType == HandleType.
Null
);
235
Debug.Assert(hType == HandleType.ConstantBooleanArray || hType == HandleType.
Null
);
315
Debug.Assert(hType == HandleType.ConstantBooleanValue || hType == HandleType.
Null
);
395
Debug.Assert(hType == HandleType.ConstantByteArray || hType == HandleType.
Null
);
475
Debug.Assert(hType == HandleType.ConstantByteValue || hType == HandleType.
Null
);
555
Debug.Assert(hType == HandleType.ConstantCharArray || hType == HandleType.
Null
);
635
Debug.Assert(hType == HandleType.ConstantCharValue || hType == HandleType.
Null
);
715
Debug.Assert(hType == HandleType.ConstantDoubleArray || hType == HandleType.
Null
);
795
Debug.Assert(hType == HandleType.ConstantDoubleValue || hType == HandleType.
Null
);
879
Debug.Assert(hType == HandleType.ConstantEnumArray || hType == HandleType.
Null
);
963
Debug.Assert(hType == HandleType.ConstantEnumValue || hType == HandleType.
Null
);
1043
Debug.Assert(hType == HandleType.ConstantHandleArray || hType == HandleType.
Null
);
1123
Debug.Assert(hType == HandleType.ConstantInt16Array || hType == HandleType.
Null
);
1203
Debug.Assert(hType == HandleType.ConstantInt16Value || hType == HandleType.
Null
);
1283
Debug.Assert(hType == HandleType.ConstantInt32Array || hType == HandleType.
Null
);
1363
Debug.Assert(hType == HandleType.ConstantInt32Value || hType == HandleType.
Null
);
1443
Debug.Assert(hType == HandleType.ConstantInt64Array || hType == HandleType.
Null
);
1523
Debug.Assert(hType == HandleType.ConstantInt64Value || hType == HandleType.
Null
);
1599
Debug.Assert(hType == HandleType.ConstantReferenceValue || hType == HandleType.
Null
);
1679
Debug.Assert(hType == HandleType.ConstantSByteArray || hType == HandleType.
Null
);
1759
Debug.Assert(hType == HandleType.ConstantSByteValue || hType == HandleType.
Null
);
1839
Debug.Assert(hType == HandleType.ConstantSingleArray || hType == HandleType.
Null
);
1919
Debug.Assert(hType == HandleType.ConstantSingleValue || hType == HandleType.
Null
);
2000
Debug.Assert(hType == HandleType.ConstantStringArray || hType == HandleType.
Null
);
2082
Debug.Assert(hType == HandleType.ConstantStringValue || hType == HandleType.
Null
);
2162
Debug.Assert(hType == HandleType.ConstantUInt16Array || hType == HandleType.
Null
);
2242
Debug.Assert(hType == HandleType.ConstantUInt16Value || hType == HandleType.
Null
);
2322
Debug.Assert(hType == HandleType.ConstantUInt32Array || hType == HandleType.
Null
);
2402
Debug.Assert(hType == HandleType.ConstantUInt32Value || hType == HandleType.
Null
);
2482
Debug.Assert(hType == HandleType.ConstantUInt64Array || hType == HandleType.
Null
);
2562
Debug.Assert(hType == HandleType.ConstantUInt64Value || hType == HandleType.
Null
);
2652
Debug.Assert(hType == HandleType.CustomAttribute || hType == HandleType.
Null
);
2749
Debug.Assert(hType == HandleType.Event || hType == HandleType.
Null
);
2850
Debug.Assert(hType == HandleType.Field || hType == HandleType.
Null
);
2931
Debug.Assert(hType == HandleType.FieldSignature || hType == HandleType.
Null
);
3011
Debug.Assert(hType == HandleType.FunctionPointerSignature || hType == HandleType.
Null
);
3112
Debug.Assert(hType == HandleType.GenericParameter || hType == HandleType.
Null
);
3202
Debug.Assert(hType == HandleType.MemberReference || hType == HandleType.
Null
);
3306
Debug.Assert(hType == HandleType.Method || hType == HandleType.
Null
);
3392
Debug.Assert(hType == HandleType.MethodInstantiation || hType == HandleType.
Null
);
3476
Debug.Assert(hType == HandleType.MethodSemantics || hType == HandleType.
Null
);
3575
Debug.Assert(hType == HandleType.MethodSignature || hType == HandleType.
Null
);
3655
Debug.Assert(hType == HandleType.MethodTypeVariableSignature || hType == HandleType.
Null
);
3745
Debug.Assert(hType == HandleType.ModifiedType || hType == HandleType.
Null
);
3839
Debug.Assert(hType == HandleType.NamedArgument || hType == HandleType.
Null
);
3936
Debug.Assert(hType == HandleType.NamespaceDefinition || hType == HandleType.
Null
);
4021
Debug.Assert(hType == HandleType.NamespaceReference || hType == HandleType.
Null
);
4118
Debug.Assert(hType == HandleType.Parameter || hType == HandleType.
Null
);
4199
Debug.Assert(hType == HandleType.PointerSignature || hType == HandleType.
Null
);
4300
Debug.Assert(hType == HandleType.Property || hType == HandleType.
Null
);
4390
Debug.Assert(hType == HandleType.PropertySignature || hType == HandleType.
Null
);
4474
Debug.Assert(hType == HandleType.QualifiedField || hType == HandleType.
Null
);
4558
Debug.Assert(hType == HandleType.QualifiedMethod || hType == HandleType.
Null
);
4639
Debug.Assert(hType == HandleType.SZArraySignature || hType == HandleType.
Null
);
4779
Debug.Assert(hType == HandleType.ScopeDefinition || hType == HandleType.
Null
);
4887
Debug.Assert(hType == HandleType.ScopeReference || hType == HandleType.
Null
);
5025
Debug.Assert(hType == HandleType.TypeDefinition || hType == HandleType.
Null
);
5113
Debug.Assert(hType == HandleType.TypeForwarder || hType == HandleType.
Null
);
5199
Debug.Assert(hType == HandleType.TypeInstantiationSignature || hType == HandleType.
Null
);
5284
Debug.Assert(hType == HandleType.TypeReference || hType == HandleType.
Null
);
5365
Debug.Assert(hType == HandleType.TypeSpecification || hType == HandleType.
Null
);
5445
Debug.Assert(hType == HandleType.TypeVariableSignature || hType == HandleType.
Null
);
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\NativeMetadataReader.cs (2)
100
if (myHandleType == HandleType.
Null
)
197
return new Handle(((int)HandleType.
Null
) << 25);