1 write to Test
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
3409
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 _));
3410
public void Deconstruct(out BoundDagTest Test) => Test = this.
Test
;
3422
BoundDagTest other = this.
Test
;
3478
public override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) => this.
Test
;
3479
public override string Dump(Func<BoundDagTest, string> dump) => dump(this.
Test
);
3480
public override bool Equals(object? obj) => this == obj || obj is One other && this.
Test
.Equals(other.
Test
);
3481
public override int GetHashCode() => this.
Test
.GetHashCode();
3484
BoundDagTest test =
Test
;
3553
if (
Test
== e)
3562
var updatedTest = UpdateDagTempReferences(
Test
, ref tempMap);
3571
if (!
Test
.Equals(updatedTest))
3585
Test
is BoundDagIndexerEvaluation &&
3587
Debug.Assert(
Test
is not BoundDagIndexerEvaluation ||
3656
if (tests.
Test
is BoundDagEvaluation eval &&
3739
if (tests.
Test
is BoundDagTypeEvaluation typeEval && IsSameEntity(typeEval.MakeResultTemp(), e1.MakeResultTemp()))
3816
if (tests.
Test
is BoundDagIndexerEvaluation s2 && s2.IndexerType.Equals(s1.IndexerType, TypeCompareKind.AllIgnoreOptions))
4619
if (RemainingTests[0] is One {
Test
: { Kind: BoundKind.DagNonNullTest } planA })
4650
case One {
Test
: { Kind: BoundKind.DagTypeTest } planB1 }:
4657
case One {
Test
: { Kind: BoundKind.DagValueTest } planB2 }: