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