6 types derived from BoundDagTest
Microsoft.CodeAnalysis.CSharp (6)
Generated\BoundNodes.xml.Generated.cs (6)
5272internal sealed partial class BoundDagTypeTest : BoundDagTest 5301internal sealed partial class BoundDagNonNullTest : BoundDagTest 5329internal sealed partial class BoundDagExplicitNullTest : BoundDagTest 5355internal sealed partial class BoundDagValueTest : BoundDagTest 5384internal sealed partial class BoundDagRelationalTest : BoundDagTest 5415internal abstract partial class BoundDagEvaluation : BoundDagTest
87 references to BoundDagTest
Microsoft.CodeAnalysis.CSharp (87)
Binder\DecisionDagBuilder.cs (58)
269case Tests.One(BoundDagTest d): 1413case BoundDagTest d: 1543else if (state.SelectedTest is BoundDagTest test) 1596static void markAllInputsUsed(PooledDictionary<BoundDagTemp, int> tempToIndex, ref int nextTempIndex, ref BitVector usedTemps, BoundDagTest test) 1686case BoundDagTest d: 1707BoundDagTest test, 1721BoundDagTest test, 1766BoundDagTest test) 1960BoundDagTest test, 1961BoundDagTest other, 2183BoundDagTest test, 2184BoundDagTest other, 2311static UnionTestKind getUnionTestKind(BoundDagTest test, out TypeSymbol? targetType, out BoundDagTemp? testUnionInstance) 2349static bool isAnyUnionValueNullTest(BoundDagTest test, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2355static bool isAnyUnionValueNonNullTest(BoundDagTest test, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2361static bool isAnyUnionValueTypeTest(BoundDagTest test, [NotNullWhen(true)] out TypeSymbol? targetType, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2374static bool isUnionHasValueTest(BoundDagTest test, out bool sense, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2392private static bool IsUnionTryGetValueTest(BoundDagTest test, [NotNullWhen(true)] out TypeSymbol? targetType, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance, [NotNullWhen(true)] out BoundDagDeconstructEvaluation? tryGetValueEvaluation) 2410BoundDagTest test, 2411BoundDagTest other) 2684internal static BoundDagTemp NotTypeEvaluationInput(BoundDagTest test) 3042public BoundDagTest? SelectedTest; 3101internal BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) 3250BoundDagTest test, 3257public virtual BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) => throw ExceptionUtilities.Unreachable(); 3382public abstract string Dump(Func<BoundDagTest, string> dump); 3390public override string Dump(Func<BoundDagTest, string> dump) => "TRUE"; 3393BoundDagTest test, 3414public override string Dump(Func<BoundDagTest, string> dump) => "FALSE"; 3417BoundDagTest test, 3433/// A single test to be performed, described by a <see cref="BoundDagTest"/>. 3439public readonly BoundDagTest Test; 3440public One(BoundDagTest test) => this.Test = test; 3441public void Deconstruct(out BoundDagTest Test) => Test = this.Test; 3444BoundDagTest test, 3453BoundDagTest other = this.Test; 3509public override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) => this.Test; 3510public override string Dump(Func<BoundDagTest, string> dump) => dump(this.Test); 3515BoundDagTest test = Test; 3593var updatedTest = UpdateDagTempReferences(Test, ref tempMap); 3926private static BoundDagTest UpdateDagTempReferences(BoundDagTest test, ref ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap) 4055BoundDagTest test, 4110static bool isInputRelated(BoundDagTest test, BoundDagTemp valueSetInput) 4149public override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) 4179public override string Dump(Func<BoundDagTest, string> dump) => $"VALUES({Values})"; 4220public override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) => Negated.ComputeSelectedTest(builder); 4221public override string Dump(Func<BoundDagTest, string> dump) => $"Not ({Negated.Dump(dump)})"; 4224BoundDagTest test, 4251BoundDagTest test, 4743public sealed override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) 4768protected virtual BoundDagTest? ComputeSelectedTestEasyOut(DecisionDagBuilder builder) => null; 4821protected override BoundDagTest? ComputeSelectedTestEasyOut(DecisionDagBuilder builder) 4828BoundDagTest? easyOutForLowering = tryGetEasyOut(planA); 4850BoundDagTest? tryGetEasyOut(BoundDagTest planA) 4871public override string Dump(Func<BoundDagTest, string> dump) 5037public 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)
5122public BoundTestDecisionDagNode(SyntaxNode syntax, BoundDagTest test, BoundDecisionDagNode whenTrue, BoundDecisionDagNode whenFalse, bool hasErrors = false) 5135public BoundDagTest Test { get; } 5142public BoundTestDecisionDagNode Update(BoundDagTest test, BoundDecisionDagNode whenTrue, BoundDecisionDagNode whenFalse) 11962BoundDagTest test = (BoundDagTest)this.Visit(node.Test);
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (1)
233private 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,