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