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