23 references to IsNullToken
System.Private.CoreLib (23)
src\System\Reflection\Associates.cs (1)
45
if (MetadataToken.
IsNullToken
(tkMethod))
src\System\Reflection\Emit\SignatureHelper.cs (4)
291
Debug.Assert(!MetadataToken.
IsNullToken
(token));
313
Debug.Assert(!MetadataToken.
IsNullToken
(token));
754
Debug.Assert(!MetadataToken.
IsNullToken
(token));
777
Debug.Assert(!MetadataToken.
IsNullToken
(token));
src\System\Reflection\RuntimeExceptionHandlingClause.cs (1)
54
if (!MetadataToken.
IsNullToken
(_catchMetadataToken))
src\System\Reflection\RuntimeParameterInfo.cs (10)
49
if (!MdToken.
IsNullToken
(tkMethodDef))
175
m_tkParamDef = MdToken.
IsNullToken
(accessor.MetadataToken) ? (int)MetadataTokenType.ParamDef : accessor.MetadataToken;
184
Debug.Assert(MdToken.
IsNullToken
(tkParamDef) == scope.Equals((MetadataImport)default));
185
Debug.Assert(MdToken.
IsNullToken
(tkParamDef) || MdToken.IsTokenOfType(tkParamDef, MetadataTokenType.ParamDef));
190
m_tkParamDef = MdToken.
IsNullToken
(tkParamDef) ? (int)MetadataTokenType.ParamDef : tkParamDef;
244
if (!MdToken.
IsNullToken
(m_tkParamDef))
337
if (m_noDefaultValue || MdToken.
IsNullToken
(m_tkParamDef))
457
if (MdToken.
IsNullToken
(m_tkParamDef))
470
if (MdToken.
IsNullToken
(m_tkParamDef))
480
if (MdToken.
IsNullToken
(m_tkParamDef))
src\System\RuntimeType.CoreCLR.cs (7)
932
if (MdToken.
IsNullToken
(tkDeclaringType))
944
Debug.Assert(!MdToken.
IsNullToken
(tkField));
1101
if (MdToken.
IsNullToken
(tkEnclosingType))
1176
if (MdToken.
IsNullToken
(tkDeclaringType))
1188
Debug.Assert(!MdToken.
IsNullToken
(tkEvent));
1290
if (MdToken.
IsNullToken
(tkDeclaringType))
1307
Debug.Assert(!MdToken.
IsNullToken
(tkProperty));