6 types derived from BoundDagTest
Microsoft.CodeAnalysis.CSharp (6)
Generated\BoundNodes.xml.Generated.cs (6)
5270internal sealed partial class BoundDagTypeTest : BoundDagTest 5299internal sealed partial class BoundDagNonNullTest : BoundDagTest 5327internal sealed partial class BoundDagExplicitNullTest : BoundDagTest 5353internal sealed partial class BoundDagValueTest : BoundDagTest 5382internal sealed partial class BoundDagRelationalTest : BoundDagTest 5413internal abstract partial class BoundDagEvaluation : BoundDagTest
88 references to BoundDagTest
Microsoft.CodeAnalysis.CSharp (88)
Binder\DecisionDagBuilder.cs (59)
268case Tests.One(BoundDagTest d): 1412case BoundDagTest d: 1542else if (state.SelectedTest is BoundDagTest test) 1595static void markAllInputsUsed(PooledDictionary<BoundDagTemp, int> tempToIndex, ref int nextTempIndex, ref BitVector usedTemps, BoundDagTest test) 1685case BoundDagTest d: 1706BoundDagTest test, 1720BoundDagTest test, 1765BoundDagTest test) 1959BoundDagTest test, 1960BoundDagTest other, 2182BoundDagTest test, 2183BoundDagTest other, 2310static UnionTestKind getUnionTestKind(BoundDagTest test, out TypeSymbol? targetType, out BoundDagTemp? testUnionInstance) 2348static bool isAnyUnionValueNullTest(BoundDagTest test, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2354static bool isAnyUnionValueNonNullTest(BoundDagTest test, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2360static bool isAnyUnionValueTypeTest(BoundDagTest test, [NotNullWhen(true)] out TypeSymbol? targetType, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2373static bool isUnionHasValueTest(BoundDagTest test, out bool sense, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2391private static bool IsUnionTryGetValueTest(BoundDagTest test, [NotNullWhen(true)] out TypeSymbol? targetType, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance, [NotNullWhen(true)] out BoundDagDeconstructEvaluation? tryGetValueEvaluation) 2409BoundDagTest test, 2410BoundDagTest other) 2683internal static BoundDagTemp NotTypeEvaluationInput(BoundDagTest test) 2910string dumpDagTest(BoundDagTest d) 3041public BoundDagTest? SelectedTest; 3100internal BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) 3249BoundDagTest test, 3256public virtual BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) => throw ExceptionUtilities.Unreachable(); 3381public abstract string Dump(Func<BoundDagTest, string> dump); 3389public override string Dump(Func<BoundDagTest, string> dump) => "TRUE"; 3392BoundDagTest test, 3413public override string Dump(Func<BoundDagTest, string> dump) => "FALSE"; 3416BoundDagTest test, 3432/// A single test to be performed, described by a <see cref="BoundDagTest"/>. 3438public readonly BoundDagTest Test; 3439public One(BoundDagTest test) => this.Test = test; 3440public void Deconstruct(out BoundDagTest Test) => Test = this.Test; 3443BoundDagTest test, 3452BoundDagTest other = this.Test; 3508public override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) => this.Test; 3509public override string Dump(Func<BoundDagTest, string> dump) => dump(this.Test); 3514BoundDagTest test = Test; 3592var updatedTest = UpdateDagTempReferences(Test, ref tempMap); 3925private static BoundDagTest UpdateDagTempReferences(BoundDagTest test, ref ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap) 4054BoundDagTest test, 4109static bool isInputRelated(BoundDagTest test, BoundDagTemp valueSetInput) 4148public override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) 4178public override string Dump(Func<BoundDagTest, string> dump) => $"VALUES({Values})"; 4219public override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) => Negated.ComputeSelectedTest(builder); 4220public override string Dump(Func<BoundDagTest, string> dump) => $"Not ({Negated.Dump(dump)})"; 4223BoundDagTest test, 4250BoundDagTest test, 4742public sealed override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) 4767protected virtual BoundDagTest? ComputeSelectedTestEasyOut(DecisionDagBuilder builder) => null; 4820protected override BoundDagTest? ComputeSelectedTestEasyOut(DecisionDagBuilder builder) 4827BoundDagTest? easyOutForLowering = tryGetEasyOut(planA); 4849BoundDagTest? tryGetEasyOut(BoundDagTest planA) 4870public override string Dump(Func<BoundDagTest, string> dump) 5036public override string Dump(Func<BoundDagTest, string> dump)
Binder\PatternExplainer.cs (7)
311out Dictionary<BoundDagTemp, ArrayBuilder<(BoundDagTest, bool)>> constraints, 314constraints = new Dictionary<BoundDagTemp, ArrayBuilder<(BoundDagTest, bool)>>(); 325BoundDagTest test = t.Test; 336constraints.Add(temp, constraintBuilder = new ArrayBuilder<(BoundDagTest, bool)>()); 360Dictionary<BoundDagTemp, ArrayBuilder<(BoundDagTest test, bool sense)>> constraintMap, 760IConstantValueSet computeRemainingValues(IConstantValueSetFactory fac, ImmutableArray<(BoundDagTest test, bool sense)> constraints) 797static 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)
18public override bool Equals([NotNullWhen(true)] object? obj) => this.Equals(obj as BoundDagTest); 20private bool Equals(BoundDagTest? other) 51public BoundDagTest Update(BoundDagTemp input) => UpdateTestImpl(input); 52public abstract BoundDagTest UpdateTestImpl(BoundDagTemp input); 140public override BoundDagTest UpdateTestImpl(BoundDagTemp input) => Update(input); 149public override BoundDagTest UpdateTestImpl(BoundDagTemp input) => Update(input); 154public override BoundDagTest UpdateTestImpl(BoundDagTemp input) => Update(input); 163public override BoundDagTest UpdateTestImpl(BoundDagTemp input) => Update(input);
BoundTree\BoundDecisionDag.cs (1)
174bool? knownResult(BoundDagTest choice)
FlowAnalysis\NullableWalker_Patterns.cs (1)
541var test = p.Test;
Generated\BoundNodes.xml.Generated.cs (5)
5120public BoundTestDecisionDagNode(SyntaxNode syntax, BoundDagTest test, BoundDecisionDagNode whenTrue, BoundDecisionDagNode whenFalse, bool hasErrors = false) 5133public BoundDagTest Test { get; } 5140public BoundTestDecisionDagNode Update(BoundDagTest test, BoundDecisionDagNode whenTrue, BoundDecisionDagNode whenFalse) 11966BoundDagTest test = (BoundDagTest)this.Visit(node.Test);
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (1)
191private void LowerOneTest(BoundDagTest test, bool invert = false)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (2)
529var t1 = test1.Test; 530var t2 = test2.Test;
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
365protected BoundExpression LowerTest(BoundDagTest test) 494BoundDagTest test,