124 references to RowIdBitCount
System.Reflection.Metadata (124)
System\Reflection\Metadata\Ecma335\MetadataAggregator.cs (1)
220var tableRowCounts = rowCounts[token >> TokenTypeIds.RowIdBitCount];
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (1)
330int token = ((int)tableIndex << TokenTypeIds.RowIdBitCount) | rowNumber;
System\Reflection\Metadata\EntityHandle.cs (1)
85return (HandleKind)(Type >> TokenTypeIds.RowIdBitCount);
System\Reflection\Metadata\Handle.cs (5)
30return new Handle((byte)(vToken >> TokenTypeIds.RowIdBitCount), (int)(vToken & TokenTypeIds.RIDMask)); 74get { return Type << TokenTypeIds.RowIdBitCount; } 93return (uint)_vType << TokenTypeIds.RowIdBitCount | (uint)_value; 105return (_vType & HandleType.VirtualBit) << TokenTypeIds.RowIdBitCount | (uint)_value; 159return _vType << TokenTypeIds.RowIdBitCount | _value;
System\Reflection\Metadata\Internal\CustomAttributeTypeTag.cs (1)
23uint tokenType = unchecked((uint)(TagToTokenTypeByteVector >> ((int)(customAttributeType & TagMask) << 3)) << TokenTypeIds.RowIdBitCount);
System\Reflection\Metadata\Internal\HasConstantTag.cs (1)
25uint tokenType = (TagToTokenTypeByteVector >> ((int)(hasConstant & TagMask) << 3)) << TokenTypeIds.RowIdBitCount;
System\Reflection\Metadata\Internal\HasCustomAttributeTag.cs (23)
118return (tokenType >> TokenTypeIds.RowIdBitCount) switch 120TokenTypeIds.MethodDef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | MethodDef, 121TokenTypeIds.FieldDef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Field, 122TokenTypeIds.TypeRef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | TypeRef, 123TokenTypeIds.TypeDef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | TypeDef, 124TokenTypeIds.ParamDef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Param, 125TokenTypeIds.InterfaceImpl >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | InterfaceImpl, 126TokenTypeIds.MemberRef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | MemberRef, 127TokenTypeIds.Module >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Module, 128TokenTypeIds.DeclSecurity >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | DeclSecurity, 129TokenTypeIds.Property >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Property, 130TokenTypeIds.Event >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Event, 131TokenTypeIds.Signature >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | StandAloneSig, 132TokenTypeIds.ModuleRef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | ModuleRef, 133TokenTypeIds.TypeSpec >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | TypeSpec, 134TokenTypeIds.Assembly >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Assembly, 135TokenTypeIds.AssemblyRef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | AssemblyRef, 136TokenTypeIds.File >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | File, 137TokenTypeIds.ExportedType >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | ExportedType, 138TokenTypeIds.ManifestResource >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | ManifestResource, 139TokenTypeIds.GenericParam >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | GenericParam, 140TokenTypeIds.GenericParamConstraint >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | GenericParamConstraint, 141TokenTypeIds.MethodSpec >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | MethodSpec,
System\Reflection\Metadata\Internal\HasDeclSecurityTag.cs (5)
25uint tokenType = (TagToTokenTypeByteVector >> ((int)(hasDeclSecurity & TagMask) << 3)) << TokenTypeIds.RowIdBitCount; 40return (tokenType >> TokenTypeIds.RowIdBitCount) switch 42TokenTypeIds.TypeDef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | TypeDef, 43TokenTypeIds.MethodDef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | MethodDef, 44TokenTypeIds.Assembly >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Assembly,
System\Reflection\Metadata\Internal\HasFieldMarshalTag.cs (1)
23uint tokenType = (TagToTokenTypeByteVector >> ((int)(hasFieldMarshal & TagMask) << 3)) << TokenTypeIds.RowIdBitCount;
System\Reflection\Metadata\Internal\HasSemanticsTag.cs (1)
23uint tokenType = (TagToTokenTypeByteVector >> ((int)(hasSemantic & TagMask) << 3)) << TokenTypeIds.RowIdBitCount;
System\Reflection\Metadata\Internal\ImplementationTag.cs (1)
25uint tokenType = (TagToTokenTypeByteVector >> ((int)(implementation & TagMask) << 3)) << TokenTypeIds.RowIdBitCount;
System\Reflection\Metadata\Internal\MemberForwardedTag.cs (1)
23uint tokenType = (TagToTokenTypeByteVector >> ((int)(memberForwarded & TagMask) << 3)) << TokenTypeIds.RowIdBitCount;
System\Reflection\Metadata\Internal\MemberRefParentTag.cs (1)
34uint tokenType = unchecked((uint)((TagToTokenTypeByteVector >> ((int)(memberRef & TagMask) << 3)) << TokenTypeIds.RowIdBitCount));
System\Reflection\Metadata\Internal\MetadataFlags.cs (40)
289internal const uint Module = HandleType.Module << RowIdBitCount; 290internal const uint TypeRef = HandleType.TypeRef << RowIdBitCount; 291internal const uint TypeDef = HandleType.TypeDef << RowIdBitCount; 292internal const uint FieldDef = HandleType.FieldDef << RowIdBitCount; 293internal const uint MethodDef = HandleType.MethodDef << RowIdBitCount; 294internal const uint ParamDef = HandleType.ParamDef << RowIdBitCount; 295internal const uint InterfaceImpl = HandleType.InterfaceImpl << RowIdBitCount; 296internal const uint MemberRef = HandleType.MemberRef << RowIdBitCount; 297internal const uint Constant = HandleType.Constant << RowIdBitCount; 298internal const uint CustomAttribute = HandleType.CustomAttribute << RowIdBitCount; 299internal const uint DeclSecurity = HandleType.DeclSecurity << RowIdBitCount; 300internal const uint Signature = HandleType.Signature << RowIdBitCount; 301internal const uint EventMap = HandleType.EventMap << RowIdBitCount; 302internal const uint Event = HandleType.Event << RowIdBitCount; 303internal const uint PropertyMap = HandleType.PropertyMap << RowIdBitCount; 304internal const uint Property = HandleType.Property << RowIdBitCount; 305internal const uint MethodSemantics = HandleType.MethodSemantics << RowIdBitCount; 306internal const uint MethodImpl = HandleType.MethodImpl << RowIdBitCount; 307internal const uint ModuleRef = HandleType.ModuleRef << RowIdBitCount; 308internal const uint TypeSpec = HandleType.TypeSpec << RowIdBitCount; 309internal const uint Assembly = HandleType.Assembly << RowIdBitCount; 310internal const uint AssemblyRef = HandleType.AssemblyRef << RowIdBitCount; 311internal const uint File = HandleType.File << RowIdBitCount; 312internal const uint ExportedType = HandleType.ExportedType << RowIdBitCount; 313internal const uint ManifestResource = HandleType.ManifestResource << RowIdBitCount; 314internal const uint NestedClass = HandleType.NestedClass << RowIdBitCount; 315internal const uint GenericParam = HandleType.GenericParam << RowIdBitCount; 316internal const uint MethodSpec = HandleType.MethodSpec << RowIdBitCount; 317internal const uint GenericParamConstraint = HandleType.GenericParamConstraint << RowIdBitCount; 320internal const uint Document = HandleType.Document << RowIdBitCount; 321internal const uint MethodDebugInformation = HandleType.MethodDebugInformation << RowIdBitCount; 322internal const uint LocalScope = HandleType.LocalScope << RowIdBitCount; 323internal const uint LocalVariable = HandleType.LocalVariable << RowIdBitCount; 324internal const uint LocalConstant = HandleType.LocalConstant << RowIdBitCount; 325internal const uint ImportScope = HandleType.ImportScope << RowIdBitCount; 326internal const uint AsyncMethod = HandleType.AsyncMethod << RowIdBitCount; 327internal const uint CustomDebugInformation = HandleType.CustomDebugInformation << RowIdBitCount; 329internal const uint UserString = HandleType.UserString << RowIdBitCount; 332internal const uint RIDMask = (1 << RowIdBitCount) - 1; 333internal const uint TypeMask = HandleType.TypeMask << RowIdBitCount;
System\Reflection\Metadata\Internal\MethodDefOrRefTag.cs (1)
23uint tokenType = (TagToTokenTypeByteVector >> ((int)(methodDefOrRef & TagMask) << 3)) << TokenTypeIds.RowIdBitCount;
System\Reflection\Metadata\Internal\ResolutionScopeTag.cs (1)
27uint tokenType = (TagToTokenTypeByteVector >> ((int)(resolutionScope & TagMask) << 3)) << TokenTypeIds.RowIdBitCount;
System\Reflection\Metadata\Internal\TypeDefOrRefTag.cs (1)
26uint tokenType = (TagToTokenTypeByteVector >> ((int)(typeDefOrRefTag & TagMask) << 3)) << TokenTypeIds.RowIdBitCount;
System\Reflection\Metadata\Internal\TypeOrMethodDefTag.cs (1)
23uint tokenType = (TagToTokenTypeByteVector >> ((int)(typeOrMethodDef & TagMask) << 3)) << TokenTypeIds.RowIdBitCount;
System\Reflection\Metadata\MetadataReader.WinMD.cs (1)
215return ((uint)treatment << TokenTypeIds.RowIdBitCount) | (uint)rowId;
System\Reflection\Metadata\PortablePdb\HasCustomDebugInformationTag.cs (28)
132return (tokenType >> TokenTypeIds.RowIdBitCount) switch 134TokenTypeIds.MethodDef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | MethodDef, 135TokenTypeIds.FieldDef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Field, 136TokenTypeIds.TypeRef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | TypeRef, 137TokenTypeIds.TypeDef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | TypeDef, 138TokenTypeIds.ParamDef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Param, 139TokenTypeIds.InterfaceImpl >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | InterfaceImpl, 140TokenTypeIds.MemberRef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | MemberRef, 141TokenTypeIds.Module >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Module, 142TokenTypeIds.DeclSecurity >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | DeclSecurity, 143TokenTypeIds.Property >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Property, 144TokenTypeIds.Event >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Event, 145TokenTypeIds.Signature >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | StandAloneSig, 146TokenTypeIds.ModuleRef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | ModuleRef, 147TokenTypeIds.TypeSpec >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | TypeSpec, 148TokenTypeIds.Assembly >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Assembly, 149TokenTypeIds.AssemblyRef >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | AssemblyRef, 150TokenTypeIds.File >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | File, 151TokenTypeIds.ExportedType >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | ExportedType, 152TokenTypeIds.ManifestResource >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | ManifestResource, 153TokenTypeIds.GenericParam >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | GenericParam, 154TokenTypeIds.GenericParamConstraint >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | GenericParamConstraint, 155TokenTypeIds.MethodSpec >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | MethodSpec, 157TokenTypeIds.Document >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Document, 158TokenTypeIds.LocalScope >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | LocalScope, 159TokenTypeIds.LocalVariable >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | LocalVariable, 160TokenTypeIds.LocalConstant >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | LocalConstant, 161TokenTypeIds.ImportScope >> TokenTypeIds.RowIdBitCount => rowId << NumberOfBits | Import,
System\Reflection\Metadata\TypeSystem\CustomAttribute.cs (1)
37get { return (MethodDefTreatment)(_treatmentAndRowId >> TokenTypeIds.RowIdBitCount); }
System\Reflection\Metadata\TypeSystem\FieldDefinition.cs (1)
32get { return (FieldDefTreatment)(_treatmentAndRowId >> TokenTypeIds.RowIdBitCount); }
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (2)
2488(handle.VType & HandleType.VirtualBit) << TokenTypeIds.RowIdBitCount | 2620(handle.VType & HandleType.VirtualBit) << TokenTypeIds.RowIdBitCount |
System\Reflection\Metadata\TypeSystem\MemberReference.cs (1)
32get { return (MemberRefTreatment)(_treatmentAndRowId >> TokenTypeIds.RowIdBitCount); }
System\Reflection\Metadata\TypeSystem\MethodDefinition.cs (1)
32get { return (MethodDefTreatment)(_treatmentAndRowId >> TokenTypeIds.RowIdBitCount); }
System\Reflection\Metadata\TypeSystem\TypeDefinition.cs (1)
33get { return (TypeDefTreatment)(_treatmentAndRowId >> TokenTypeIds.RowIdBitCount); }
System\Reflection\Metadata\TypeSystem\TypeReference.cs (1)
32get { return (TypeRefTreatment)(_treatmentAndRowId >> TokenTypeIds.RowIdBitCount); }