1 write to Test
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
3382
public One(BoundDagTest test) => this.
Test
= test;
21 references to Test
Microsoft.CodeAnalysis.CSharp (21)
Binder\DecisionDagBuilder.cs (21)
759
Debug.Assert(test is Tests.One {
Test
: BoundDagValueTest });
804
Debug.Assert(test is Tests.One {
Test
: var tryGetValueResultTest } && IsUnionTryGetValueTest(tryGetValueResultTest, out _, out _, out _));
3383
public void Deconstruct(out BoundDagTest Test) => Test = this.
Test
;
3395
BoundDagTest other = this.
Test
;
3451
public override BoundDagTest ComputeSelectedTest(bool forLowering, ref bool suitableForLowering) => this.
Test
;
3452
public override string Dump(Func<BoundDagTest, string> dump) => dump(this.
Test
);
3453
public override bool Equals(object? obj) => this == obj || obj is One other && this.
Test
.Equals(other.
Test
);
3454
public override int GetHashCode() => this.
Test
.GetHashCode();
3457
BoundDagTest test =
Test
;
3526
if (
Test
== e)
3535
var updatedTest = UpdateDagTempReferences(
Test
, ref tempMap);
3544
if (!
Test
.Equals(updatedTest))
3558
Test
is BoundDagIndexerEvaluation &&
3560
Debug.Assert(
Test
is not BoundDagIndexerEvaluation ||
3629
if (tests.
Test
is BoundDagEvaluation eval &&
3712
if (tests.
Test
is BoundDagTypeEvaluation typeEval && IsSameEntity(typeEval.MakeResultTemp(), e1.MakeResultTemp()))
3789
if (tests.
Test
is BoundDagIndexerEvaluation s2 && s2.IndexerType.Equals(s1.IndexerType, TypeCompareKind.AllIgnoreOptions))
4588
if (RemainingTests[0] is One {
Test
: { Kind: BoundKind.DagNonNullTest } planA })
4619
case One {
Test
: { Kind: BoundKind.DagTypeTest } planB1 }:
4626
case One {
Test
: { Kind: BoundKind.DagValueTest } planB2 }: