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