6 types derived from BoundDagTest
Microsoft.CodeAnalysis.CSharp (6)
Generated\BoundNodes.xml.Generated.cs (6)
5289internal sealed partial class BoundDagTypeTest : BoundDagTest 5318internal sealed partial class BoundDagNonNullTest : BoundDagTest 5346internal sealed partial class BoundDagExplicitNullTest : BoundDagTest 5372internal sealed partial class BoundDagValueTest : BoundDagTest 5401internal sealed partial class BoundDagRelationalTest : BoundDagTest 5432internal abstract partial class BoundDagEvaluation : BoundDagTest
84 references to BoundDagTest
Microsoft.CodeAnalysis.CSharp (84)
Binder\DecisionDagBuilder.cs (55)
266case Tests.One(BoundDagTest d): 1404case BoundDagTest d: 1534else if (state.SelectedTest is BoundDagTest test) 1587static void markAllInputsUsed(PooledDictionary<BoundDagTemp, int> tempToIndex, ref int nextTempIndex, ref BitVector usedTemps, BoundDagTest test) 1677case BoundDagTest d: 1698BoundDagTest test, 1712BoundDagTest test, 1757BoundDagTest test) 1951BoundDagTest test, 1952BoundDagTest other, 2175BoundDagTest test, 2176BoundDagTest other, 2303static UnionTestKind getUnionTestKind(BoundDagTest test, out TypeSymbol? targetType, out BoundDagTemp? testUnionInstance) 2341static bool isAnyUnionValueNullTest(BoundDagTest test, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2347static bool isAnyUnionValueNonNullTest(BoundDagTest test, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2353static bool isAnyUnionValueTypeTest(BoundDagTest test, [NotNullWhen(true)] out TypeSymbol? targetType, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2366static bool isUnionHasValueTest(BoundDagTest test, out bool sense, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2384private static bool IsUnionTryGetValueTest(BoundDagTest test, [NotNullWhen(true)] out TypeSymbol? targetType, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance, [NotNullWhen(true)] out BoundDagDeconstructEvaluation? tryGetValueEvaluation) 2401BoundDagTest test, 2402BoundDagTest other) 2675internal static BoundDagTemp NotTypeEvaluationInput(BoundDagTest test) 2902string dumpDagTest(BoundDagTest d) 3033public BoundDagTest? SelectedTest; 3092internal BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) 3239BoundDagTest test, 3246public virtual BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) => throw ExceptionUtilities.Unreachable(); 3371public abstract string Dump(Func<BoundDagTest, string> dump); 3379public override string Dump(Func<BoundDagTest, string> dump) => "TRUE"; 3382BoundDagTest test, 3403public override string Dump(Func<BoundDagTest, string> dump) => "FALSE"; 3406BoundDagTest test, 3422/// A single test to be performed, described by a <see cref="BoundDagTest"/>. 3428public readonly BoundDagTest Test; 3429public One(BoundDagTest test) => this.Test = test; 3430public void Deconstruct(out BoundDagTest Test) => Test = this.Test; 3433BoundDagTest test, 3442BoundDagTest other = this.Test; 3498public override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) => this.Test; 3499public override string Dump(Func<BoundDagTest, string> dump) => dump(this.Test); 3504BoundDagTest test = Test; 3582var updatedTest = UpdateDagTempReferences(Test, ref tempMap); 3892private static BoundDagTest UpdateDagTempReferences(BoundDagTest test, ref ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap) 4033public override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) => Negated.ComputeSelectedTest(builder); 4034public override string Dump(Func<BoundDagTest, string> dump) => $"Not ({Negated.Dump(dump)})"; 4037BoundDagTest test, 4064BoundDagTest test, 4556public sealed override BoundDagTest ComputeSelectedTest(DecisionDagBuilder builder) 4581protected virtual BoundDagTest? ComputeSelectedTestEasyOut(DecisionDagBuilder builder) => null; 4634protected override BoundDagTest? ComputeSelectedTestEasyOut(DecisionDagBuilder builder) 4641BoundDagTest? easyOutForLowering = tryGetEasyOut(planA); 4663BoundDagTest? tryGetEasyOut(BoundDagTest planA) 4684public override string Dump(Func<BoundDagTest, string> dump) 4740public override string Dump(Func<BoundDagTest, string> dump)
Binder\PatternExplainer.cs (7)
286out Dictionary<BoundDagTemp, ArrayBuilder<(BoundDagTest, bool)>> constraints, 289constraints = new Dictionary<BoundDagTemp, ArrayBuilder<(BoundDagTest, bool)>>(); 300BoundDagTest test = t.Test; 311constraints.Add(temp, constraintBuilder = new ArrayBuilder<(BoundDagTest, bool)>()); 335Dictionary<BoundDagTemp, ArrayBuilder<(BoundDagTest test, bool sense)>> constraintMap, 735IConstantValueSet computeRemainingValues(IConstantValueSetFactory fac, ImmutableArray<(BoundDagTest test, bool sense)> constraints) 772static 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)
539var test = p.Test;
Generated\BoundNodes.xml.Generated.cs (5)
5139public BoundTestDecisionDagNode(SyntaxNode syntax, BoundDagTest test, BoundDecisionDagNode whenTrue, BoundDecisionDagNode whenFalse, bool hasErrors = false) 5152public BoundDagTest Test { get; } 5159public BoundTestDecisionDagNode Update(BoundDagTest test, BoundDecisionDagNode whenTrue, BoundDecisionDagNode whenFalse) 11964BoundDagTest 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)
365protected BoundExpression LowerTest(BoundDagTest test) 494BoundDagTest test,
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (1)
191private void LowerOneTest(BoundDagTest test, bool invert = false)