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