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