31 references to IsNull
System.Private.TypeLoader (31)
Internal\Runtime\TypeLoader\CanonicallyEquivalentEntryLocator.cs (2)
52
if (!_genericDefinition.
IsNull
())
69
if (!_genericDefinition.
IsNull
())
Internal\Runtime\TypeLoader\EETypeCreator.cs (7)
321
Debug.Assert(!state.HalfBakedRuntimeTypeHandle.
IsNull
());
402
if (elementHandle.
IsNull
())
419
Debug.Assert(!state.HalfBakedRuntimeTypeHandle.
IsNull
());
437
Debug.Assert(!state.HalfBakedRuntimeTypeHandle.
IsNull
());
453
Debug.Assert(!state.HalfBakedRuntimeTypeHandle.
IsNull
());
498
Debug.Assert(state.TemplateType != null && !state.TemplateType.RuntimeTypeHandle.
IsNull
());
543
if (baseTypeHandle.
IsNull
())
Internal\Runtime\TypeLoader\GenericDictionaryCell.cs (1)
169
if (!genericContext.
IsNull
())
Internal\Runtime\TypeLoader\TypeBuilder.cs (10)
181
Debug.Assert(state.TemplateType != null && state.TemplateType is ArrayType && !state.TemplateType.RuntimeTypeHandle.
IsNull
());
418
if (!rtth.
IsNull
())
422
Debug.Assert(!rtth.
IsNull
());
504
IntPtr dictionaryEntry = baseTypeHandle.
IsNull
()
830
Debug.Assert(!typeAsFunctionPointerType.RuntimeTypeHandle.
IsNull
());
836
Debug.Assert(!typeAsParameterizedType.RuntimeTypeHandle.
IsNull
());
837
Debug.Assert(!typeAsParameterizedType.ParameterType.RuntimeTypeHandle.
IsNull
());
1019
Debug.Assert(!genericTypeDefinitionHandle.
IsNull
() && genericTypeArgumentHandles != null && genericTypeArgumentHandles.Length > 0);
1032
Debug.Assert(!runtimeTypeHandle.
IsNull
());
1058
Debug.Assert(!arrayTypeHandle.
IsNull
());
Internal\Runtime\TypeLoader\TypeBuilderState.cs (1)
72
Debug.Assert(_templateType is null || !_templateType.RuntimeTypeHandle.
IsNull
());
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.cs (3)
170
if (type.RuntimeTypeHandle.
IsNull
())
190
Debug.Assert(!type.RuntimeTypeHandle.
IsNull
());
191
return !type.RuntimeTypeHandle.
IsNull
();
Internal\TypeSystem\RuntimeNoMetadataType.cs (2)
122
DefType baseType = !baseTypeHandle.
IsNull
() ? (DefType)Context.ResolveRuntimeTypeHandle(baseTypeHandle) : null;
330
Debug.Assert(!genericDefinitionHandle.
IsNull
());
Internal\TypeSystem\TypeDesc.Runtime.cs (4)
36
Debug.Assert(!runtimeTypeHandle.
IsNull
());
37
Debug.Assert(_runtimeTypeHandle.
IsNull
() || runtimeTypeHandle.Equals(_runtimeTypeHandle));
62
if (!type.RuntimeTypeHandle.
IsNull
())
73
if (!typeDefHandle.
IsNull
())
Internal\TypeSystem\TypeSystemContext.Runtime.cs (1)
257
if (returnedType.RuntimeTypeHandle.
IsNull
())