24 references to IsNullToken
System.Private.CoreLib (24)
src\System\Reflection\Associates.cs (1)
45if (MetadataToken.IsNullToken(tkMethod))
src\System\Reflection\Emit\SignatureHelper.cs (4)
293Debug.Assert(!MetadataToken.IsNullToken(token)); 315Debug.Assert(!MetadataToken.IsNullToken(token)); 756Debug.Assert(!MetadataToken.IsNullToken(token)); 779Debug.Assert(!MetadataToken.IsNullToken(token));
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
1451Debug.Assert(!MetadataToken.IsNullToken(attributeCtorToken));
src\System\Reflection\RuntimeExceptionHandlingClause.cs (1)
54if (!MetadataToken.IsNullToken(_catchMetadataToken))
src\System\Reflection\RuntimeParameterInfo.cs (10)
49if (!MdToken.IsNullToken(tkMethodDef)) 175m_tkParamDef = MdToken.IsNullToken(accessor.MetadataToken) ? (int)MetadataTokenType.ParamDef : accessor.MetadataToken; 184Debug.Assert(MdToken.IsNullToken(tkParamDef) == scope.Equals((MetadataImport)default)); 185Debug.Assert(MdToken.IsNullToken(tkParamDef) || MdToken.IsTokenOfType(tkParamDef, MetadataTokenType.ParamDef)); 190m_tkParamDef = MdToken.IsNullToken(tkParamDef) ? (int)MetadataTokenType.ParamDef : tkParamDef; 244if (!MdToken.IsNullToken(m_tkParamDef)) 337if (m_noDefaultValue || MdToken.IsNullToken(m_tkParamDef)) 457if (MdToken.IsNullToken(m_tkParamDef)) 470if (MdToken.IsNullToken(m_tkParamDef)) 480if (MdToken.IsNullToken(m_tkParamDef))
src\System\RuntimeType.CoreCLR.cs (7)
903if (MdToken.IsNullToken(tkDeclaringType)) 915Debug.Assert(!MdToken.IsNullToken(tkField)); 1068if (MdToken.IsNullToken(tkEnclosingType)) 1144if (MdToken.IsNullToken(tkDeclaringType)) 1156Debug.Assert(!MdToken.IsNullToken(tkEvent)); 1251if (MdToken.IsNullToken(tkDeclaringType)) 1268Debug.Assert(!MdToken.IsNullToken(tkProperty));