98 references to RIDMask
System.Reflection.Metadata (98)
System\Reflection\Metadata\Ecma335\MetadataAggregator.cs (1)
218
int rid = (int)(token & TokenTypeIds.
RIDMask
);
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (2)
342
return rowNumber & (int)TokenTypeIds.
RIDMask
;
501
return Metadata.UserStringHandle.FromOffset(offset & (int)TokenTypeIds.
RIDMask
);
System\Reflection\Metadata\Ecma335\PortablePdbBuilder.cs (1)
88
if ((unchecked((uint)typeSystemRowCounts[i]) & ~TokenTypeIds.
RIDMask
) != 0)
System\Reflection\Metadata\EntityHandle.cs (3)
63
get { return (_vToken & (TokenTypeIds.VirtualBit | TokenTypeIds.
RIDMask
)) == 0; }
68
get { return (int)(_vToken & TokenTypeIds.
RIDMask
); }
76
get { return _vToken & (TokenTypeIds.VirtualBit | TokenTypeIds.
RIDMask
); }
System\Reflection\Metadata\Handle.cs (5)
30
return new Handle((byte)(vToken >> TokenTypeIds.RowIdBitCount), (int)(vToken & TokenTypeIds.
RIDMask
));
46
!IsHeapHandle && value <= TokenTypeIds.
RIDMask
);
92
Debug.Assert((_value & TokenTypeIds.
RIDMask
) == _value);
104
Debug.Assert((_value & TokenTypeIds.
RIDMask
) == _value);
157
Debug.Assert((_value & TokenTypeIds.
RIDMask
) == _value);
System\Reflection\Metadata\IL\MethodBodyBlock.cs (1)
145
localSignatureHandle = StandaloneSignatureHandle.FromRowId((int)((uint)localSignatureToken & TokenTypeIds.
RIDMask
));
System\Reflection\Metadata\Internal\CustomAttributeTypeTag.cs (1)
26
if (tokenType == 0 || (rowId & ~TokenTypeIds.
RIDMask
) != 0)
System\Reflection\Metadata\Internal\HasConstantTag.cs (1)
28
if (tokenType == 0 || (rowId & ~TokenTypeIds.
RIDMask
) != 0)
System\Reflection\Metadata\Internal\HasCustomAttributeTag.cs (1)
106
if (tokenType == InvalidTokenType || ((rowId & ~TokenTypeIds.
RIDMask
) != 0))
System\Reflection\Metadata\Internal\HasDeclSecurityTag.cs (1)
28
if (tokenType == 0 || (rowId & ~TokenTypeIds.
RIDMask
) != 0)
System\Reflection\Metadata\Internal\HasFieldMarshalTag.cs (1)
26
if ((rowId & ~TokenTypeIds.
RIDMask
) != 0)
System\Reflection\Metadata\Internal\HasSemanticsTag.cs (1)
26
if ((rowId & ~TokenTypeIds.
RIDMask
) != 0)
System\Reflection\Metadata\Internal\ImplementationTag.cs (1)
28
if (tokenType == 0 || (rowId & ~TokenTypeIds.
RIDMask
) != 0)
System\Reflection\Metadata\Internal\MemberForwardedTag.cs (1)
26
if ((rowId & ~TokenTypeIds.
RIDMask
) != 0)
System\Reflection\Metadata\Internal\MemberRefParentTag.cs (1)
37
if (tokenType == 0 || (rowId & ~TokenTypeIds.
RIDMask
) != 0)
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
367
return (rowId & ~
RIDMask
) == 0;
372
return (rowId & ~
RIDMask
) == 0;
System\Reflection\Metadata\Internal\MethodDefOrRefTag.cs (1)
26
if ((rowId & ~TokenTypeIds.
RIDMask
) != 0)
System\Reflection\Metadata\Internal\ResolutionScopeTag.cs (1)
30
if ((rowId & ~TokenTypeIds.
RIDMask
) != 0)
System\Reflection\Metadata\Internal\TypeDefOrRefTag.cs (1)
29
if (tokenType == 0 || (rowId & ~TokenTypeIds.
RIDMask
) != 0)
System\Reflection\Metadata\Internal\TypeOrMethodDefTag.cs (1)
26
if ((rowId & ~TokenTypeIds.
RIDMask
) != 0)
System\Reflection\Metadata\MetadataReader.cs (2)
507
if (rowCount > TokenTypeIds.
RIDMask
)
536
int entryPointRowId = (int)(entryPointToken & TokenTypeIds.
RIDMask
);
System\Reflection\Metadata\PortablePdb\HandleCollections.Debug.cs (16)
60
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
74
return DocumentHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
159
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
173
return MethodDebugInformationHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
265
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
279
return LocalScopeHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
326
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
342
return LocalScopeHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
473
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
487
return LocalVariableHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
579
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
593
return LocalConstantHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
678
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
692
return ImportScopeHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
785
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
799
return CustomDebugInformationHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
System\Reflection\Metadata\PortablePdb\HasCustomDebugInformationTag.cs (1)
120
if (tokenType == InvalidTokenType || ((rowId & ~TokenTypeIds.
RIDMask
) != 0))
System\Reflection\Metadata\TypeSystem\AssemblyReference.cs (2)
24
Debug.Assert((treatmentAndRowId & ~(TokenTypeIds.VirtualBit | TokenTypeIds.
RIDMask
)) == 0);
32
get { return (int)(_treatmentAndRowId & TokenTypeIds.
RIDMask
); }
System\Reflection\Metadata\TypeSystem\CustomAttribute.cs (1)
27
get { return (int)(_treatmentAndRowId & TokenTypeIds.
RIDMask
); }
System\Reflection\Metadata\TypeSystem\FieldDefinition.cs (1)
27
get { return (int)(_treatmentAndRowId & TokenTypeIds.
RIDMask
); }
System\Reflection\Metadata\TypeSystem\HandleCollections.TypeSystem.cs (42)
71
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
84
return GenericParameterHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
179
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
192
return GenericParameterConstraintHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
284
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
305
return CustomAttributeHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
313
_reader.CustomAttributeTable.PtrTable![(_currentRowId & (int)TokenTypeIds.
RIDMask
) - 1]);
405
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
419
return DeclarativeSecurityAttributeHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
512
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
533
return MethodDefinitionHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
540
return _reader.MethodPtrTable.GetMethodFor(_currentRowId & (int)TokenTypeIds.
RIDMask
);
632
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
653
return FieldDefinitionHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
660
return _reader.FieldPtrTable.GetFieldFor(_currentRowId & (int)TokenTypeIds.
RIDMask
);
752
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
773
return PropertyDefinitionHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
780
return _reader.PropertyPtrTable.GetPropertyFor(_currentRowId & (int)TokenTypeIds.
RIDMask
);
872
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
893
return EventDefinitionHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
900
return _reader.EventPtrTable.GetEventFor(_currentRowId & (int)TokenTypeIds.
RIDMask
);
987
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
999
return MethodImplementationHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
1087
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
1108
return ParameterHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
1115
return _reader.ParamPtrTable.GetParamFor(_currentRowId & (int)TokenTypeIds.
RIDMask
);
1199
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
1212
return InterfaceImplementationHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
1290
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
1302
return TypeDefinitionHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
1380
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
1392
return TypeReferenceHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
1470
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
1482
return ExportedTypeHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
1560
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
1572
return MemberReferenceHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
1696
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
1722
return AssemblyReferenceHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
1804
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
1816
return ManifestResourceHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
1894
private const int EnumEnded = (int)TokenTypeIds.
RIDMask
+ 1;
1906
return AssemblyFileHandle.FromRowId((int)(_currentRowId & TokenTypeIds.
RIDMask
));
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (1)
1689
internal int RowId { get { return (int)(_value & TokenTypeIds.
RIDMask
); } }
System\Reflection\Metadata\TypeSystem\MemberReference.cs (1)
27
get { return (int)(_treatmentAndRowId & TokenTypeIds.
RIDMask
); }
System\Reflection\Metadata\TypeSystem\MethodDefinition.cs (1)
27
get { return (int)(_treatmentAndRowId & TokenTypeIds.
RIDMask
); }
System\Reflection\Metadata\TypeSystem\TypeDefinition.cs (1)
28
get { return (int)(_treatmentAndRowId & TokenTypeIds.
RIDMask
); }
System\Reflection\Metadata\TypeSystem\TypeReference.cs (1)
27
get { return (int)(_treatmentAndRowId & TokenTypeIds.
RIDMask
); }