31 references to IsNull
Microsoft.Diagnostics.DataContractReader.Contracts (11)
Contracts\CallingConvention\CdacTypeHandle.cs (9)
50
public bool IsNull() => _typeHandle.
IsNull
&& _kindOverride == default;
52
public bool IsValueType() => !_typeHandle.
IsNull
&& Rts.IsValueType(_typeHandle);
56
|| (!_typeHandle.
IsNull
&& Rts.IsPointer(_typeHandle));
75
if (_typeHandle.
IsNull
)
91
if (_typeHandle.
IsNull
)
110
return !_typeHandle.
IsNull
&& Rts.RequiresAlign8(_typeHandle);
114
=> !_typeHandle.
IsNull
&& Rts.TryGetHFAElementSize(_typeHandle, out _);
139
if (Arch != RuntimeInfoArchitecture.X86 || _typeHandle.
IsNull
|| !Rts.IsValueType(_typeHandle))
184
if (nested.
IsNull
)
Contracts\ManagedTypeSource_1.cs (1)
95
return !typeHandle.
IsNull
;
Contracts\RuntimeTypeSystem_1.cs (1)
676
if (current.
IsNull
)
Microsoft.Diagnostics.DataContractReader.Legacy (20)
Dbi\DacDbiImpl.cs (11)
2288
if (thExactHandle.
IsNull
)
2344
if (thApproxHandle.
IsNull
)
2385
if (!thExact.
IsNull
&& !rts.IsCollectible(thExact))
2707
if (th.
IsNull
)
2927
if (!thMatch.
IsNull
)
2951
ReadOnlySpan<TypeHandle> classInst = thMatchingParent.
IsNull
3180
if (th.
IsNull
)
3300
if (typeHandle.
IsNull
)
4618
if (fieldTypeHandle.
IsNull
)
5620
for (int i = 0; i < 1000 && !current.
IsNull
; i++)
5683
if (typeHandle.
IsNull
)
Dbi\TypeDataWalk.cs (6)
120
if (typeDef.
IsNull
)
131
allOK &= !th.
IsNull
;
143
if (elem.
IsNull
)
153
if (referent.
IsNull
)
171
if ((!typeDef.
IsNull
&& _rts.IsValueType(typeDef)) || et == CorElementType.ValueType)
191
allOK &= !th.
IsNull
;
SigFormat.cs (1)
315
if (typeHandle.
IsNull
)
TypeNameBuilder.cs (2)
150
if (!th.
IsNull
)
206
if (typeHandle.
IsNull
)