18 references to VirtualIndex
System.Reflection.Metadata (18)
System\Reflection\Metadata\Internal\BlobHeap.cs (8)
23
var blobs = new byte[(int)BlobHandle.
VirtualIndex
.Count][];
25
blobs[(int)BlobHandle.
VirtualIndex
.ContractPublicKeyToken] = new byte[]
30
blobs[(int)BlobHandle.
VirtualIndex
.ContractPublicKey] = new byte[]
44
blobs[(int)BlobHandle.
VirtualIndex
.AttributeUsage_AllowSingle] = new byte[]
64
blobs[(int)BlobHandle.
VirtualIndex
.AttributeUsage_AllowMultiple] = new byte[]
163
BlobHandle.
VirtualIndex
index = handle.GetVirtualIndex();
168
case BlobHandle.
VirtualIndex
.AttributeUsage_AllowMultiple:
169
case BlobHandle.
VirtualIndex
.AttributeUsage_AllowSingle:
System\Reflection\Metadata\TypeSystem\AssemblyReference.cs (2)
196
return BlobHandle.FromVirtualIndex(hasFullKey ? BlobHandle.
VirtualIndex
.ContractPublicKey : BlobHandle.
VirtualIndex
.ContractPublicKeyToken, 0);
System\Reflection\Metadata\TypeSystem\CustomAttribute.cs (4)
120
BlobHandle.
VirtualIndex
virtualIndex;
126
virtualIndex = BlobHandle.
VirtualIndex
.AttributeUsage_AllowMultiple;
131
virtualIndex = BlobHandle.
VirtualIndex
.AttributeUsage_AllowMultiple;
136
virtualIndex = BlobHandle.
VirtualIndex
.AttributeUsage_AllowSingle;
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (4)
2586
internal static BlobHandle FromVirtualIndex(
VirtualIndex
virtualIndex, ushort virtualValue)
2588
Debug.Assert(virtualIndex <
VirtualIndex
.Count);
2637
internal
VirtualIndex
GetVirtualIndex()
2640
return (
VirtualIndex
)(_value & 0xff);