Table of Contents

Class BindingFinding

Namespace
Valheim.Testing.Bindings
Assembly
Valheim.Testing.Bindings.dll

One referenced type or member, with every place in the mod that uses it.

public sealed class BindingFinding
Inheritance
object
BindingFinding

Constructors

BindingFinding(BindingFindingKind, string, string, string?, bool, IReadOnlyList<string>)

public BindingFinding(BindingFindingKind kind, string assembly, string member, string? detail, bool accessDeclared, IReadOnlyList<string> usedBy)

Parameters

kind BindingFindingKind
assembly string
member string
detail string
accessDeclared bool
usedBy IReadOnlyList<string>

Properties

AccessDeclared

For an access finding: the mod declares IgnoresAccessChecksTo for Assembly.

public bool AccessDeclared { get; }

Property Value

bool

Assembly

The checked assembly: where the reference was looked for, or where an inaccessible member is declared.

public string Assembly { get; }

Property Value

string

Detail

For a missing reference, what the checked assembly has instead, if anything; for an access finding, the member's access (private, say).

public string? Detail { get; }

Property Value

string

IsMissing

public bool IsMissing { get; }

Property Value

bool

Kind

public BindingFindingKind Kind { get; }

Property Value

BindingFindingKind

Member

The reference as the mod names it, for example System.Void Terminal::InputText() or Terminal/Nested.

public string Member { get; }

Property Value

string

UsedBy

Mod methods, fields, types or attributes that use the reference, such as MyMod.Patches::Postfix(Terminal).

public IReadOnlyList<string> UsedBy { get; }

Property Value

IReadOnlyList<string>