3 instantiations of AssemblyFileHandle
System.Reflection.Metadata (3)
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (3)
2063return new AssemblyFileHandle(rowId); 2083return new AssemblyFileHandle(handle.RowId); 2093return new AssemblyFileHandle(handle.RowId);
49 references to AssemblyFileHandle
Microsoft.CodeAnalysis (3)
MetadataReader\PEModule.cs (1)
384foreach (var fileHandle in MetadataReader.AssemblyFiles)
PEWriter\MetadataWriter.cs (2)
841internal AssemblyFileHandle GetAssemblyFileHandle(IFileReference fileReference) 855private AssemblyFileHandle GetAssemblyFileHandle(IModuleReference mref)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
MetadataUtilities.cs (1)
340foreach (var handle in reader.AssemblyFiles)
System.Reflection.Metadata (40)
System\Reflection\Metadata\Ecma335\CodedIndex.cs (3)
28/// <see cref="AssemblyFileHandle"/>, 76/// <param name="handle"><see cref="AssemblyFileHandle"/>, <see cref="ExportedTypeHandle"/> or <see cref="AssemblyReferenceHandle"/></param> 155/// <see cref="AssemblyFileHandle"/>,
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (6)
730/// <see cref="AssemblyFileHandle"/>, 1094/// <param name="implementation"><see cref="AssemblyFileHandle"/>, <see cref="AssemblyReferenceHandle"/>, or nil</param> 1114public AssemblyFileHandle AddAssemblyFile( 1126return AssemblyFileHandle.FromRowId(_fileTable.Count); 1135/// <param name="implementation"><see cref="AssemblyFileHandle"/>, <see cref="ExportedTypeHandle"/> or <see cref="AssemblyReferenceHandle"/></param> 1387/// <see cref="AssemblyFileHandle"/>,
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (2)
455public static AssemblyFileHandle AssemblyFileHandle(int rowNumber) 457return Metadata.AssemblyFileHandle.FromRowId(ToRowId(rowNumber));
System\Reflection\Metadata\Internal\Tables.cs (3)
2163internal BlobHandle GetHashValue(AssemblyFileHandle handle) 2169internal uint GetFlags(AssemblyFileHandle handle) 2175internal StringHandle GetName(AssemblyFileHandle handle)
System\Reflection\Metadata\MetadataReader.cs (1)
1298public AssemblyFile GetAssemblyFile(AssemblyFileHandle handle)
System\Reflection\Metadata\TypeSystem\AssemblyFile.cs (3)
15internal AssemblyFile(MetadataReader reader, AssemblyFileHandle handle) 24private AssemblyFileHandle Handle 26get { return AssemblyFileHandle.FromRowId(_rowId); }
System\Reflection\Metadata\TypeSystem\ExportedType.cs (1)
76/// <item><description><see cref="AssemblyFileHandle"/> representing another module in the assembly.</description></item>
System\Reflection\Metadata\TypeSystem\HandleCollections.TypeSystem.cs (7)
1853/// Represents a collection of <see cref="AssemblyFileHandle"/>. 1855public readonly struct AssemblyFileHandleCollection : IReadOnlyCollection<AssemblyFileHandle> 1875IEnumerator<AssemblyFileHandle> IEnumerable<AssemblyFileHandle>.GetEnumerator() 1885public struct Enumerator : IEnumerator<AssemblyFileHandle>, IEnumerator 1902public AssemblyFileHandle Current 1906return AssemblyFileHandle.FromRowId((int)(_currentRowId & TokenTypeIds.RIDMask));
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (13)
2049public readonly struct AssemblyFileHandle : IEquatable<AssemblyFileHandle> 2061internal static AssemblyFileHandle FromRowId(int rowId) 2066public static implicit operator Handle(AssemblyFileHandle handle) 2071public static implicit operator EntityHandle(AssemblyFileHandle handle) 2076public static explicit operator AssemblyFileHandle(Handle handle) 2086public static explicit operator AssemblyFileHandle(EntityHandle handle) 2106public static bool operator ==(AssemblyFileHandle left, AssemblyFileHandle right) 2113return obj is AssemblyFileHandle && ((AssemblyFileHandle)obj)._rowId == _rowId; 2116public bool Equals(AssemblyFileHandle other) 2126public static bool operator !=(AssemblyFileHandle left, AssemblyFileHandle right)
System\Reflection\Metadata\TypeSystem\ManifestResource.cs (1)
63/// <see cref="AssemblyFileHandle"/>, <see cref="AssemblyReferenceHandle"/>, or nil handle.
System.Reflection.MetadataLoadContext (5)
System\Reflection\TypeLoading\Assemblies\Ecma\EcmaAssembly.Modules.cs (1)
79foreach (AssemblyFileHandle h in reader.AssemblyFiles)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (2)
13public static AssemblyFile GetAssemblyFile(this AssemblyFileHandle handle, MetadataReader reader) => reader.GetAssemblyFile(handle); 72public static int GetToken(this AssemblyFileHandle handle) => MetadataTokens.GetToken(handle);
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.cs (1)
77string moduleName = ((AssemblyFileHandle)handle).GetAssemblyFile(reader).Name.GetString(reader);
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.ManifestResources.cs (1)
51AssemblyFile file = ((AssemblyFileHandle)resource.Implementation).GetAssemblyFile(reader);