Skip to content

AssemblyRefInfo

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

Information about a referenced assembly from the AssemblyRef metadata table.

public sealed record AssemblyRefInfo : IEquatable<AssemblyRefInfo>

ObjectAssemblyRefInfo

AssemblyRefInfo(string, string, string, string?)

Section titled “AssemblyRefInfo(string, string, string, string?)”

Information about a referenced assembly from the AssemblyRef metadata table.

Parameters:

  • Name (String): The simple name of the referenced assembly.
  • Version (String): The version of the referenced assembly.
  • Culture (String): The culture of the referenced assembly, or empty for culture-neutral.
  • PublicKeyToken (String): The public key token as a hex string, or null if not strong-named.
public AssemblyRefInfo(string Name, string Version, string Culture, string? PublicKeyToken)

The culture of the referenced assembly, or empty for culture-neutral.

Returns: String

public string Culture { get; init; }

The simple name of the referenced assembly.

Returns: String

public string Name { get; init; }

The public key token as a hex string, or null if not strong-named.

Returns: String

public string? PublicKeyToken { get; init; }

The version of the referenced assembly.

Returns: String

public string Version { get; init; }

Deconstruct(out string, out string, out string, out string?)

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

Parameters:

public void Deconstruct(out string Name, out string Version, out string Culture, out string? PublicKeyToken)

Parameters:

Returns: Boolean

public bool Equals(AssemblyRefInfo? other)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(AssemblyRefInfo?, AssemblyRefInfo?)

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

Parameters:

Returns: Boolean

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

operator ==(AssemblyRefInfo?, AssemblyRefInfo?)

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

Parameters:

Returns: Boolean

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