1 write to Test
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
3429
public One(BoundDagTest test) => this.
Test
= test;
21 references to Test
Microsoft.CodeAnalysis.CSharp (21)
Binder\DecisionDagBuilder.cs (21)
753
Debug.Assert(test is Tests.One {
Test
: BoundDagValueTest });
798
Debug.Assert(test is Tests.One {
Test
: var tryGetValueResultTest } && IsUnionTryGetValueTest(tryGetValueResultTest, out _, out _, out _));
3430
public void Deconstruct(out BoundDagTest Test) => Test = this.
Test
;
3442
BoundDagTest other = this.
Test
;
3498
public override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) => this.
Test
;
3499
public override string Dump(Func<BoundDagTest, string> dump) => dump(this.
Test
);
3500
public override bool Equals(object? obj) => this == obj || obj is One other && this.
Test
.Equals(other.
Test
);
3501
public override int GetHashCode() => this.
Test
.GetHashCode();
3504
BoundDagTest test =
Test
;
3573
if (
Test
== e)
3582
var updatedTest = UpdateDagTempReferences(
Test
, ref tempMap);
3591
if (!
Test
.Equals(updatedTest))
3605
Test
is BoundDagIndexerEvaluation &&
3607
Debug.Assert(
Test
is not BoundDagIndexerEvaluation ||
3676
if (tests.
Test
is BoundDagEvaluation eval &&
3759
if (tests.
Test
is BoundDagTypeEvaluation typeEval && IsSameEntity(typeEval.MakeResultTemp(), e1.MakeResultTemp()))
3836
if (tests.
Test
is BoundDagIndexerEvaluation s2 && s2.IndexerType.Equals(s1.IndexerType, TypeCompareKind.AllIgnoreOptions))
4639
if (RemainingTests[0] is One {
Test
: { Kind: BoundKind.DagNonNullTest } planA })
4670
case One {
Test
: { Kind: BoundKind.DagTypeTest } planB1 }:
4677
case One {
Test
: { Kind: BoundKind.DagValueTest } planB2 }: