Class BindingFinding
One referenced type or member, with every place in the mod that uses it.
public sealed class BindingFinding
- Inheritance
-
objectBindingFinding
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
kindBindingFindingKindassemblystringmemberstringdetailstringaccessDeclaredboolusedByIReadOnlyList<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
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>