| File: System\Reflection\TypeLoading\Assemblies\AssemblyFileInfo.cs | Web Access |
| Project: src\runtime\src\libraries\System.Reflection.MetadataLoadContext\src\System.Reflection.MetadataLoadContext.csproj (System.Reflection.MetadataLoadContext) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; namespace System.Reflection.TypeLoading { // // Captures the contents of a row in the File metadata table in a format-agnostic way. The manifest module // is also represented as a fictious "row 0". // internal readonly struct AssemblyFileInfo { public AssemblyFileInfo(string name, bool containsMetadata, int rowIndex) { Debug.Assert(name != null); Name = name; ContainsMetadata = containsMetadata; RowIndex = rowIndex; } public string Name { get; } public int RowIndex { get; } // 0 for manifest modoule - 1..N for other modules. public bool ContainsMetadata { get; } } }