1 write to Test
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
3439
public One(BoundDagTest test) => this.
Test
= test;
26 references to Test
Microsoft.CodeAnalysis.CSharp (26)
Binder\DecisionDagBuilder.cs (26)
761
Debug.Assert(test is Tests.One {
Test
: BoundDagValueTest });
806
Debug.Assert(test is Tests.One {
Test
: var tryGetValueResultTest } && IsUnionTryGetValueTest(tryGetValueResultTest, out _, out _, out _));
3440
public void Deconstruct(out BoundDagTest Test) => Test = this.
Test
;
3452
BoundDagTest other = this.
Test
;
3508
public override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) => this.
Test
;
3509
public override string Dump(Func<BoundDagTest, string> dump) => dump(this.
Test
);
3510
public override bool Equals(object? obj) => this == obj || obj is One other && this.
Test
.Equals(other.
Test
);
3511
public override int GetHashCode() => this.
Test
.GetHashCode();
3514
BoundDagTest test =
Test
;
3583
if (
Test
== e)
3592
var updatedTest = UpdateDagTempReferences(
Test
, ref tempMap);
3601
if (!
Test
.Equals(updatedTest))
3612
if (tempsUpdatedResult.
Test
is BoundDagEvaluation)
3626
Test
is BoundDagIndexerEvaluation &&
3628
Debug.Assert(
Test
is not BoundDagIndexerEvaluation ||
3709
if (tests.
Test
is BoundDagEvaluation eval &&
3792
if (tests.
Test
is BoundDagTypeEvaluation typeEval && IsSameEntity(typeEval.MakeResultTemp(), e1.MakeResultTemp()))
3869
if (tests.
Test
is BoundDagIndexerEvaluation s2 && s2.IndexerType.Equals(s1.IndexerType, TypeCompareKind.AllIgnoreOptions))
4825
if (RemainingTests[0] is One {
Test
: { Kind: BoundKind.DagNonNullTest } planA })
4856
case One {
Test
: { Kind: BoundKind.DagTypeTest } planB1 }:
4863
case One {
Test
: { Kind: BoundKind.DagValueTest } planB2 }:
4972
case One {
Test
: BoundDagValueTest firstValueTest } when !firstValueTest.Value.IsBad:
5002
case One {
Test
: BoundDagValueTest vt } when vt.Input == input && !vt.Value.IsBad:
5019
One {
Test
: BoundDagValueTest vt } => vt.Syntax,
5031
One {
Test
: BoundDagValueTest vt } => factory.Related(BinaryOperatorKind.Equal, vt.Value),