26 references to IsNullToken
mscorlib (26)
system\reflection\Associates.cs (1)
46if (MetadataToken.IsNullToken(tkMethod))
system\reflection\ConstructorInfo.cs (1)
190if (System.Reflection.MetadataToken.IsNullToken(ctorToken) ||
system\reflection\customattribute.cs (1)
1631Contract.Assert(!MetadataToken.IsNullToken(attributeCtorToken));
system\reflection\emit\signaturehelper.cs (2)
331Contract.Assert(!MetadataToken.IsNullToken(token)); 354Contract.Assert(!MetadataToken.IsNullToken(token));
system\reflection\fieldinfo.cs (1)
421if (System.Reflection.MetadataToken.IsNullToken(ctorToken) ||
system\reflection\methodbody.cs (1)
73if (!MetadataToken.IsNullToken(m_catchMetadataToken))
system\reflection\methodinfo.cs (1)
156if (System.Reflection.MetadataToken.IsNullToken(ctorToken) ||
system\reflection\parameterinfo.cs (10)
300if (!MdToken.IsNullToken(tkMethodDef)) 468m_tkParamDef = MdToken.IsNullToken(accessor.MetadataToken) ? (int)MetadataTokenType.ParamDef : accessor.MetadataToken; 477Contract.Assert(MdToken.IsNullToken(tkParamDef) == scope.Equals(MetadataImport.EmptyImport)); 478Contract.Assert(MdToken.IsNullToken(tkParamDef) || MdToken.IsTokenOfType(tkParamDef, MetadataTokenType.ParamDef)); 483m_tkParamDef = MdToken.IsNullToken(tkParamDef) ? (int)MetadataTokenType.ParamDef : tkParamDef; 536if (!MdToken.IsNullToken(m_tkParamDef)) 637if (!MdToken.IsNullToken(m_tkParamDef)) 731if (MdToken.IsNullToken(m_tkParamDef)) 743if (MdToken.IsNullToken(m_tkParamDef)) 761if (MdToken.IsNullToken(m_tkParamDef))
system\rttype.cs (8)
988if (MdToken.IsNullToken(tkDeclaringType)) 1000Contract.Assert(!MdToken.IsNullToken(tkField)); 1187if (MdToken.IsNullToken(tkEnclosingType)) 1265if (MdToken.IsNullToken(tkDeclaringType)) 1278Contract.Assert(!MdToken.IsNullToken(tkEvent)); 1371if (MdToken.IsNullToken(tkDeclaringType)) 1391Contract.Assert(!MdToken.IsNullToken(tkProperty)); 2685if (System.Reflection.MetadataToken.IsNullToken(ctorToken) ||