23 references to IsNullToken
System.Private.CoreLib (23)
src\System\Reflection\Associates.cs (1)
45if (MetadataToken.IsNullToken(tkMethod))
src\System\Reflection\Emit\SignatureHelper.cs (4)
291Debug.Assert(!MetadataToken.IsNullToken(token)); 313Debug.Assert(!MetadataToken.IsNullToken(token)); 754Debug.Assert(!MetadataToken.IsNullToken(token)); 777Debug.Assert(!MetadataToken.IsNullToken(token));
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)
932if (MdToken.IsNullToken(tkDeclaringType)) 944Debug.Assert(!MdToken.IsNullToken(tkField)); 1101if (MdToken.IsNullToken(tkEnclosingType)) 1176if (MdToken.IsNullToken(tkDeclaringType)) 1188Debug.Assert(!MdToken.IsNullToken(tkEvent)); 1290if (MdToken.IsNullToken(tkDeclaringType)) 1307Debug.Assert(!MdToken.IsNullToken(tkProperty));