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