Skip to content

ResolvedModule

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

Represents a metadata-bearing sibling module whose bytes were read and authenticated while resolving the manifest assembly’s File table entry.

public sealed record ResolvedModule : ResolvedAssembly, IEquatable<ResolvedAssembly>, IEquatable<ResolvedModule>

ObjectResolvedAssemblyResolvedModule

ResolvedModule(ImmutableArray<byte>, string, string, string?, string?)

Section titled “ResolvedModule(ImmutableArray<byte>, string, string, string?, string?)”

Represents a metadata-bearing sibling module whose bytes were read and authenticated while resolving the manifest assembly’s File table entry.

Parameters:

  • Bytes (ImmutableArray<Byte>): The authenticated module bytes.
  • Path (String): The module’s same-directory path beside its manifest assembly.
  • ManifestPath (String): The manifest assembly path that authenticated the module.
  • TargetFramework (String): The manifest assembly’s target-framework context.
  • PreferredRuntimePack (String): The manifest assembly’s preferred runtime-pack context.
public ResolvedModule(ImmutableArray<byte> Bytes, string Path, string ManifestPath, string? TargetFramework, string? PreferredRuntimePack)

The authenticated module bytes.

Returns: ImmutableArray<Byte>

public ImmutableArray<byte> Bytes { get; init; }

Returns: Type

protected override Type EqualityContract { get; }

The manifest assembly path that authenticated the module.

Returns: String

public string ManifestPath { get; init; }

The module’s same-directory path beside its manifest assembly.

Returns: String

public string Path { get; init; }

The manifest assembly’s preferred runtime-pack context.

Returns: String

public string? PreferredRuntimePack { get; init; }

The manifest assembly’s target-framework context.

Returns: String

public string? TargetFramework { get; init; }

Deconstruct(out ImmutableArray<byte>, out string, out string, out string?, out string?)

Section titled “Deconstruct(out ImmutableArray<byte>, out string, out string, out string?, out string?)”

Parameters:

public void Deconstruct(out ImmutableArray<byte> Bytes, out string Path, out string ManifestPath, out string? TargetFramework, out string? PreferredRuntimePack)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Parameters:

Returns: Boolean

public override sealed bool Equals(ResolvedAssembly? other)

Parameters:

Returns: Boolean

public bool Equals(ResolvedModule? other)

Returns: Int32

public override int GetHashCode()

Parameters:

Returns: Boolean

protected override bool PrintMembers(StringBuilder builder)

Returns: String

public override string ToString()

operator !=(ResolvedModule?, ResolvedModule?)

Section titled “operator !=(ResolvedModule?, ResolvedModule?)”

Parameters:

Returns: Boolean

public static bool operator !=(ResolvedModule? left, ResolvedModule? right)

operator ==(ResolvedModule?, ResolvedModule?)

Section titled “operator ==(ResolvedModule?, ResolvedModule?)”

Parameters:

Returns: Boolean

public static bool operator ==(ResolvedModule? left, ResolvedModule? right)