6 types derived from BoundDagTest
Microsoft.CodeAnalysis.CSharp (6)
Generated\BoundNodes.xml.Generated.cs (6)
5284internal sealed partial class BoundDagTypeTest : BoundDagTest 5313internal sealed partial class BoundDagNonNullTest : BoundDagTest 5341internal sealed partial class BoundDagExplicitNullTest : BoundDagTest 5367internal sealed partial class BoundDagValueTest : BoundDagTest 5396internal sealed partial class BoundDagRelationalTest : BoundDagTest 5427internal abstract partial class BoundDagEvaluation : BoundDagTest
72 references to BoundDagTest
Microsoft.CodeAnalysis.CSharp (72)
Binder\DecisionDagBuilder.cs (43)
258case Tests.One(BoundDagTest d): 989case BoundDagTest d: 1119else if (state.SelectedTest is BoundDagTest test) 1172static void markAllInputsUsed(PooledDictionary<BoundDagTemp, int> tempToIndex, ref int nextTempIndex, ref BitVector usedTemps, BoundDagTest test) 1262case BoundDagTest d: 1283BoundDagTest test, 1297BoundDagTest test, 1342BoundDagTest test) 1454BoundDagTest test, 1455BoundDagTest other, 1620BoundDagTest test, 1621BoundDagTest other) 2000string dumpDagTest(BoundDagTest d) 2131public BoundDagTest? SelectedTest; 2190internal BoundDagTest ComputeSelectedTest() 2337BoundDagTest test, 2344public virtual BoundDagTest ComputeSelectedTest() => throw ExceptionUtilities.Unreachable(); 2469public abstract string Dump(Func<BoundDagTest, string> dump); 2477public override string Dump(Func<BoundDagTest, string> dump) => "TRUE"; 2480BoundDagTest test, 2501public override string Dump(Func<BoundDagTest, string> dump) => "FALSE"; 2504BoundDagTest test, 2520/// A single test to be performed, described by a <see cref="BoundDagTest"/>. 2526public readonly BoundDagTest Test; 2527public One(BoundDagTest test) => this.Test = test; 2528public void Deconstruct(out BoundDagTest Test) => Test = this.Test; 2531BoundDagTest test, 2540BoundDagTest other = this.Test; 2566public override BoundDagTest ComputeSelectedTest() => this.Test; 2567public override string Dump(Func<BoundDagTest, string> dump) => dump(this.Test); 2572BoundDagTest test = Test; 2635var updatedTest = UpdateDagTempReferences(Test, ref tempMap); 2885private static BoundDagTest UpdateDagTempReferences(BoundDagTest test, ref ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap) 3021public override BoundDagTest ComputeSelectedTest() => Negated.ComputeSelectedTest(); 3022public override string Dump(Func<BoundDagTest, string> dump) => $"Not ({Negated.Dump(dump)})"; 3025BoundDagTest test, 3052BoundDagTest test, 3540public sealed override BoundDagTest ComputeSelectedTest() 3565protected virtual BoundDagTest? ComputeSelectedTestEasyOut() => null; 3618protected override BoundDagTest? ComputeSelectedTestEasyOut() 3644public override string Dump(Func<BoundDagTest, string> dump) 3700public override string Dump(Func<BoundDagTest, string> dump)
Binder\PatternExplainer.cs (7)
285out Dictionary<BoundDagTemp, ArrayBuilder<(BoundDagTest, bool)>> constraints, 288constraints = new Dictionary<BoundDagTemp, ArrayBuilder<(BoundDagTest, bool)>>(); 299BoundDagTest test = t.Test; 310constraints.Add(temp, constraintBuilder = new ArrayBuilder<(BoundDagTest, bool)>()); 333Dictionary<BoundDagTemp, ArrayBuilder<(BoundDagTest test, bool sense)>> constraintMap, 645IValueSet computeRemainingValues(IValueSetFactory fac, ImmutableArray<(BoundDagTest test, bool sense)> constraints) 682static bool isNotNullTest((BoundDagTest test, bool sense) constraint)
BoundTree\BoundDagEvaluation.cs (1)
86public sealed override BoundDagTest UpdateTestImpl(BoundDagTemp input) => Update(input);
BoundTree\BoundDagRelationalTest.cs (1)
11public override BoundDagTest UpdateTestImpl(BoundDagTemp input) => Update(input);
BoundTree\BoundDagTest.cs (8)
17public override bool Equals([NotNullWhen(true)] object? obj) => this.Equals(obj as BoundDagTest); 19private bool Equals(BoundDagTest? other) 50public BoundDagTest Update(BoundDagTemp input) => UpdateTestImpl(input); 51public abstract BoundDagTest UpdateTestImpl(BoundDagTemp input); 119public override BoundDagTest UpdateTestImpl(BoundDagTemp input) => Update(input); 128public override BoundDagTest UpdateTestImpl(BoundDagTemp input) => Update(input); 133public override BoundDagTest UpdateTestImpl(BoundDagTemp input) => Update(input); 142public override BoundDagTest UpdateTestImpl(BoundDagTemp input) => Update(input);
BoundTree\BoundDecisionDag.cs (1)
174bool? knownResult(BoundDagTest choice)
FlowAnalysis\NullableWalker_Patterns.cs (1)
537var test = p.Test;
Generated\BoundNodes.xml.Generated.cs (5)
5134public BoundTestDecisionDagNode(SyntaxNode syntax, BoundDagTest test, BoundDecisionDagNode whenTrue, BoundDecisionDagNode whenFalse, bool hasErrors = false) 5147public BoundDagTest Test { get; } 5154public BoundTestDecisionDagNode Update(BoundDagTest test, BoundDecisionDagNode whenTrue, BoundDecisionDagNode whenFalse) 11815BoundDagTest test = (BoundDagTest)this.Visit(node.Test);
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (2)
529var t1 = test1.Test; 530var t2 = test2.Test;
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
345protected BoundExpression LowerTest(BoundDagTest test) 474BoundDagTest test,
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (1)
191private void LowerOneTest(BoundDagTest test, bool invert = false)