Struct InputConflictPair
One detected conflict, as a pair of positions into an InputConflictSet.
Inherited Members
Namespace: Scylla.Input
Assembly: ScyllaInput.dll
Syntax
public readonly struct InputConflictPair
Remarks
Indices rather than record copies, so accumulating results into a reused list stays cheap despite the record's size.
Constructors
InputConflictPair(int, int, InputConflictReason, string)
Initializes a pair.
Declaration
public InputConflictPair(int queryIndex, int otherIndex, InputConflictReason reason, string sharedPath)
Parameters
| Type | Name | Description |
|---|---|---|
| int | queryIndex | Position of the queried binding, or |
| int | otherIndex | Position of the colliding binding. |
| InputConflictReason | reason | Which rule produced the verdict. |
| string | sharedPath | The shared control path. |
Fields
OtherIndex
Position of the binding it collides with.
Declaration
public readonly int OtherIndex
Field Value
| Type | Description |
|---|---|
| int |
QueryIndex
Position of the binding that was asked about, or -1 when the query was an
ad-hoc record not present in the set.
Declaration
public readonly int QueryIndex
Field Value
| Type | Description |
|---|---|
| int |
Reason
Which rule produced the verdict.
Declaration
public readonly InputConflictReason Reason
Field Value
| Type | Description |
|---|---|
| InputConflictReason |
SharedPath
The control path both bindings resolve to.
Declaration
public readonly string SharedPath
Field Value
| Type | Description |
|---|---|
| string |