Skip to content

LoadedAssemblyEntry

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

Per-loaded-identity entry interned in LoadedAssemblyCache. When two distinct requested identities redirect to the same loaded identity, both Loaded values reference-equal this single entry, faithfully modeling the CLR’s “already loaded” reuse: only one filesystem read per loaded identity.

public sealed record LoadedAssemblyEntry : IEquatable<LoadedAssemblyEntry>

ObjectLoadedAssemblyEntry

LoadedAssemblyEntry(AssemblyRefInfo, string)

Section titled “LoadedAssemblyEntry(AssemblyRefInfo, string)”

Per-loaded-identity entry interned in LoadedAssemblyCache. When two distinct requested identities redirect to the same loaded identity, both Loaded values reference-equal this single entry, faithfully modeling the CLR’s “already loaded” reuse: only one filesystem read per loaded identity.

Parameters:

  • Identity (AssemblyRefInfo): The bound identity (post-policy) that this entry represents.
  • Path (String): The on-disk file path the CLR would load for this identity.
public LoadedAssemblyEntry(AssemblyRefInfo Identity, string Path)

The bound identity (post-policy) that this entry represents.

Returns: AssemblyRefInfo

public AssemblyRefInfo Identity { get; init; }

The on-disk file path the CLR would load for this identity.

Returns: String

public string Path { get; init; }

Deconstruct(out AssemblyRefInfo, out string)

Section titled “Deconstruct(out AssemblyRefInfo, out string)”

Parameters:

public void Deconstruct(out AssemblyRefInfo Identity, out string Path)

Parameters:

Returns: Boolean

public bool Equals(LoadedAssemblyEntry? other)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(LoadedAssemblyEntry?, LoadedAssemblyEntry?)

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

Parameters:

Returns: Boolean

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

operator ==(LoadedAssemblyEntry?, LoadedAssemblyEntry?)

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

Parameters:

Returns: Boolean

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