Skip to content

DgmlLink

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

One edge of an ILC dependency graph: the source node depends on the target node, so the target is in the binary because the source needed it.

public sealed record DgmlLink : IEquatable<DgmlLink>

ObjectDgmlLink

One edge of an ILC dependency graph: the source node depends on the target node, so the target is in the binary because the source needed it.

Parameters:

  • SourceId (Int32): The depender’s node id.
  • TargetId (Int32): The dependee’s node id.
  • Reason (String): The compiler’s explanation for the dependency, or null when it gave none.
public DgmlLink(int SourceId, int TargetId, string? Reason)

The compiler’s explanation for the dependency, or null when it gave none.

Returns: String

public string? Reason { get; init; }

The depender’s node id.

Returns: Int32

public int SourceId { get; init; }

The dependee’s node id.

Returns: Int32

public int TargetId { get; init; }

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

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

Parameters:

public void Deconstruct(out int SourceId, out int TargetId, out string? Reason)

Parameters:

Returns: Boolean

public bool Equals(DgmlLink? other)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

Parameters:

Returns: Boolean

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

Parameters:

Returns: Boolean

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