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; }