1 write to Test
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
3440
public One(BoundDagTest test) => this.
Test
= test;
26 references to Test
Microsoft.CodeAnalysis.CSharp (26)
Binder\DecisionDagBuilder.cs (26)
762
Debug.Assert(test is Tests.One {
Test
: BoundDagValueTest });
807
Debug.Assert(test is Tests.One {
Test
: var tryGetValueResultTest } && IsUnionTryGetValueTest(tryGetValueResultTest, out _, out _, out _));
3441
public void Deconstruct(out BoundDagTest Test) => Test = this.
Test
;
3453
BoundDagTest other = this.
Test
;
3509
public override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) => this.
Test
;
3510
public override string Dump(Func<BoundDagTest, string> dump) => dump(this.
Test
);
3511
public override bool Equals(object? obj) => this == obj || obj is One other && this.
Test
.Equals(other.
Test
);
3512
public override int GetHashCode() => this.
Test
.GetHashCode();
3515
BoundDagTest test =
Test
;
3584
if (
Test
== e)
3593
var updatedTest = UpdateDagTempReferences(
Test
, ref tempMap);
3602
if (!
Test
.Equals(updatedTest))
3613
if (tempsUpdatedResult.
Test
is BoundDagEvaluation)
3627
Test
is BoundDagIndexerEvaluation &&
3629
Debug.Assert(
Test
is not BoundDagIndexerEvaluation ||
3710
if (tests.
Test
is BoundDagEvaluation eval &&
3793
if (tests.
Test
is BoundDagTypeEvaluation typeEval && IsSameEntity(typeEval.MakeResultTemp(), e1.MakeResultTemp()))
3870
if (tests.
Test
is BoundDagIndexerEvaluation s2 && s2.IndexerType.Equals(s1.IndexerType, TypeCompareKind.AllIgnoreOptions))
4826
if (RemainingTests[0] is One {
Test
: { Kind: BoundKind.DagNonNullTest } planA })
4857
case One {
Test
: { Kind: BoundKind.DagTypeTest } planB1 }:
4864
case One {
Test
: { Kind: BoundKind.DagValueTest } planB2 }:
4973
case One {
Test
: BoundDagValueTest firstValueTest } when !firstValueTest.Value.IsBad:
5003
case One {
Test
: BoundDagValueTest vt } when vt.Input == input && !vt.Value.IsBad:
5020
One {
Test
: BoundDagValueTest vt } => vt.Syntax,
5032
One {
Test
: BoundDagValueTest vt } => factory.Related(BinaryOperatorKind.Equal, vt.Value),