3 instantiations of DeclarativeSecurityAttributeHandle
System.Reflection.Metadata (3)
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (3)
1814return new DeclarativeSecurityAttributeHandle(rowId); 1834return new DeclarativeSecurityAttributeHandle(handle.RowId); 1844return new DeclarativeSecurityAttributeHandle(handle.RowId);
30 references to DeclarativeSecurityAttributeHandle
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
EmitMetadataTestBase.cs (1)
105foreach (var actualHandle in metadataReader.DeclarativeSecurityAttributes)
System.Reflection.Metadata (28)
System\Reflection\Metadata\Ecma335\CodedIndex.cs (2)
20/// <see cref="DeclarativeSecurityAttributeHandle"/>, 147/// <see cref="DeclarativeSecurityAttributeHandle"/>,
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
722/// <see cref="DeclarativeSecurityAttributeHandle"/>, 1167public DeclarativeSecurityAttributeHandle AddDeclarativeSecurityAttribute( 1185return DeclarativeSecurityAttributeHandle.FromRowId(_declSecurityTable.Count); 1379/// <see cref="DeclarativeSecurityAttributeHandle"/>,
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (2)
440public static DeclarativeSecurityAttributeHandle DeclarativeSecurityAttributeHandle(int rowNumber) 442return Metadata.DeclarativeSecurityAttributeHandle.FromRowId(ToRowId(rowNumber));
System\Reflection\Metadata\MetadataReader.cs (1)
1196public DeclarativeSecurityAttribute GetDeclarativeSecurityAttribute(DeclarativeSecurityAttributeHandle handle)
System\Reflection\Metadata\TypeSystem\HandleCollections.TypeSystem.cs (6)
348public readonly struct DeclarativeSecurityAttributeHandleCollection : IReadOnlyCollection<DeclarativeSecurityAttributeHandle> 385IEnumerator<DeclarativeSecurityAttributeHandle> IEnumerable<DeclarativeSecurityAttributeHandle>.GetEnumerator() 395public struct Enumerator : IEnumerator<DeclarativeSecurityAttributeHandle>, IEnumerator 414public DeclarativeSecurityAttributeHandle Current 419return DeclarativeSecurityAttributeHandle.FromRowId((int)(_currentRowId & TokenTypeIds.RIDMask));
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (13)
1800public readonly struct DeclarativeSecurityAttributeHandle : IEquatable<DeclarativeSecurityAttributeHandle> 1812internal static DeclarativeSecurityAttributeHandle FromRowId(int rowId) 1817public static implicit operator Handle(DeclarativeSecurityAttributeHandle handle) 1822public static implicit operator EntityHandle(DeclarativeSecurityAttributeHandle handle) 1827public static explicit operator DeclarativeSecurityAttributeHandle(Handle handle) 1837public static explicit operator DeclarativeSecurityAttributeHandle(EntityHandle handle) 1857public static bool operator ==(DeclarativeSecurityAttributeHandle left, DeclarativeSecurityAttributeHandle right) 1864return obj is DeclarativeSecurityAttributeHandle && ((DeclarativeSecurityAttributeHandle)obj)._rowId == _rowId; 1867public bool Equals(DeclarativeSecurityAttributeHandle other) 1877public static bool operator !=(DeclarativeSecurityAttributeHandle left, DeclarativeSecurityAttributeHandle right)
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
24public static DeclarativeSecurityAttribute GetDeclarativeSecurityAttribute(this DeclarativeSecurityAttributeHandle handle, MetadataReader reader) => reader.GetDeclarativeSecurityAttribute(handle);