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>Inheritance
Section titled “Inheritance”Object → LoadedAssemblyEntry
Implements
Section titled “Implements”Constructors
Section titled “Constructors”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)Properties
Section titled “Properties”Identity
Section titled “Identity”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; }Methods
Section titled “Methods”Deconstruct(out AssemblyRefInfo, out string)
Section titled “Deconstruct(out AssemblyRefInfo, out string)”Parameters:
Identity(AssemblyRefInfo)Path(String)
public void Deconstruct(out AssemblyRefInfo Identity, out string Path)Equals(LoadedAssemblyEntry?)
Section titled “Equals(LoadedAssemblyEntry?)”Parameters:
other(LoadedAssemblyEntry)
Returns: Boolean
public bool Equals(LoadedAssemblyEntry? other)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(LoadedAssemblyEntry?, LoadedAssemblyEntry?)
Section titled “operator !=(LoadedAssemblyEntry?, LoadedAssemblyEntry?)”Parameters:
left(LoadedAssemblyEntry)right(LoadedAssemblyEntry)
Returns: Boolean
public static bool operator !=(LoadedAssemblyEntry? left, LoadedAssemblyEntry? right)operator ==(LoadedAssemblyEntry?, LoadedAssemblyEntry?)
Section titled “operator ==(LoadedAssemblyEntry?, LoadedAssemblyEntry?)”Parameters:
left(LoadedAssemblyEntry)right(LoadedAssemblyEntry)
Returns: Boolean
public static bool operator ==(LoadedAssemblyEntry? left, LoadedAssemblyEntry? right)