3 instantiations of AssemblyFileHandle
System.Reflection.Metadata (3)
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (3)
2063
return new
AssemblyFileHandle
(rowId);
2083
return new
AssemblyFileHandle
(handle.RowId);
2093
return new
AssemblyFileHandle
(handle.RowId);
49 references to AssemblyFileHandle
Microsoft.Build.Tasks.Core (1)
AssemblyDependency\AssemblyInformation.cs (1)
540
foreach (
var
fileHandle in assemblyFilesCollection)
Microsoft.CodeAnalysis (3)
MetadataReader\PEModule.cs (1)
385
foreach (
var
fileHandle in MetadataReader.AssemblyFiles)
PEWriter\MetadataWriter.cs (2)
840
internal
AssemblyFileHandle
GetAssemblyFileHandle(IFileReference fileReference)
854
private
AssemblyFileHandle
GetAssemblyFileHandle(IModuleReference mref)
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>
1114
public
AssemblyFileHandle
AddAssemblyFile(
1126
return
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)
455
public static
AssemblyFileHandle
AssemblyFileHandle(int rowNumber)
457
return Metadata.
AssemblyFileHandle
.FromRowId(ToRowId(rowNumber));
System\Reflection\Metadata\Internal\Tables.cs (3)
2209
internal BlobHandle GetHashValue(
AssemblyFileHandle
handle)
2215
internal uint GetFlags(
AssemblyFileHandle
handle)
2221
internal StringHandle GetName(
AssemblyFileHandle
handle)
System\Reflection\Metadata\MetadataReader.cs (1)
1297
public AssemblyFile GetAssemblyFile(
AssemblyFileHandle
handle)
System\Reflection\Metadata\TypeSystem\AssemblyFile.cs (3)
13
internal AssemblyFile(MetadataReader reader,
AssemblyFileHandle
handle)
19
private
AssemblyFileHandle
Handle
21
get { return
AssemblyFileHandle
.FromRowId(_rowId); }
System\Reflection\Metadata\TypeSystem\ExportedType.cs (1)
71
/// <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
"/>.
1855
public readonly struct AssemblyFileHandleCollection : IReadOnlyCollection<
AssemblyFileHandle
>
1875
IEnumerator<
AssemblyFileHandle
> IEnumerable<
AssemblyFileHandle
>.GetEnumerator()
1885
public struct Enumerator : IEnumerator<
AssemblyFileHandle
>, IEnumerator
1902
public
AssemblyFileHandle
Current
1906
return
AssemblyFileHandle
.FromRowId((int)(_currentRowId & TokenTypeIds.RIDMask));
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (13)
2049
public readonly struct AssemblyFileHandle : IEquatable<
AssemblyFileHandle
>
2061
internal static
AssemblyFileHandle
FromRowId(int rowId)
2066
public static implicit operator Handle(
AssemblyFileHandle
handle)
2071
public static implicit operator EntityHandle(
AssemblyFileHandle
handle)
2076
public static explicit operator
AssemblyFileHandle
(Handle handle)
2086
public static explicit operator
AssemblyFileHandle
(EntityHandle handle)
2106
public static bool operator ==(
AssemblyFileHandle
left,
AssemblyFileHandle
right)
2113
return obj is
AssemblyFileHandle
&& ((
AssemblyFileHandle
)obj)._rowId == _rowId;
2116
public bool Equals(
AssemblyFileHandle
other)
2126
public static bool operator !=(
AssemblyFileHandle
left,
AssemblyFileHandle
right)
System\Reflection\Metadata\TypeSystem\ManifestResource.cs (1)
58
/// <see cref="
AssemblyFileHandle
"/>, <see cref="AssemblyReferenceHandle"/>, or nil handle.
System.Reflection.MetadataLoadContext (5)
System\Reflection\TypeLoading\Assemblies\Ecma\EcmaAssembly.Modules.cs (1)
79
foreach (
AssemblyFileHandle
h in reader.AssemblyFiles)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (2)
13
public static AssemblyFile GetAssemblyFile(this
AssemblyFileHandle
handle, MetadataReader reader) => reader.GetAssemblyFile(handle);
72
public static int GetToken(this
AssemblyFileHandle
handle) => MetadataTokens.GetToken(handle);
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.cs (1)
77
string moduleName = ((
AssemblyFileHandle
)handle).GetAssemblyFile(reader).Name.GetString(reader);
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.ManifestResources.cs (1)
51
AssemblyFile file = ((
AssemblyFileHandle
)resource.Implementation).GetAssemblyFile(reader);