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): 1379case BoundDagTest d: 1509else if (state.SelectedTest is BoundDagTest test) 1562static void markAllInputsUsed(PooledDictionary<BoundDagTemp, int> tempToIndex, ref int nextTempIndex, ref BitVector usedTemps, BoundDagTest test) 1652case BoundDagTest d: 1673BoundDagTest test, 1687BoundDagTest test, 1732BoundDagTest test) 1926BoundDagTest test, 1927BoundDagTest other, 2128BoundDagTest test, 2129BoundDagTest other, 2256static UnionTestKind getUnionTestKind(BoundDagTest test, out TypeSymbol? targetType, out BoundDagTemp? testUnionInstance) 2294static bool isAnyUnionValueNullTest(BoundDagTest test, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2300static bool isAnyUnionValueNonNullTest(BoundDagTest test, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2306static bool isAnyUnionValueTypeTest(BoundDagTest test, [NotNullWhen(true)] out TypeSymbol? targetType, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2319static bool isUnionHasValueTest(BoundDagTest test, out bool sense, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance) 2337private static bool IsUnionTryGetValueTest(BoundDagTest test, [NotNullWhen(true)] out TypeSymbol? targetType, [NotNullWhen(true)] out BoundDagTemp? testUnionInstance, [NotNullWhen(true)] out BoundDagDeconstructEvaluation? tryGetValueEvaluation) 2354BoundDagTest test, 2355BoundDagTest other) 2628internal static BoundDagTemp NotTypeEvaluationInput(BoundDagTest test) 2855string dumpDagTest(BoundDagTest d) 2986public BoundDagTest? SelectedTest; 3045internal BoundDagTest ComputeSelectedTest(bool forLowering, ref bool suitableForLowering) 3192BoundDagTest test, 3199public virtual BoundDagTest ComputeSelectedTest(bool forLowering, ref bool suitableForLowering) => throw ExceptionUtilities.Unreachable(); 3324public abstract string Dump(Func<BoundDagTest, string> dump); 3332public override string Dump(Func<BoundDagTest, string> dump) => "TRUE"; 3335BoundDagTest test, 3356public override string Dump(Func<BoundDagTest, string> dump) => "FALSE"; 3359BoundDagTest test, 3375/// A single test to be performed, described by a <see cref="BoundDagTest"/>. 3381public readonly BoundDagTest Test; 3382public One(BoundDagTest test) => this.Test = test; 3383public void Deconstruct(out BoundDagTest Test) => Test = this.Test; 3386BoundDagTest test, 3395BoundDagTest other = this.Test; 3451public override BoundDagTest ComputeSelectedTest(bool forLowering, ref bool suitableForLowering) => this.Test; 3452public override string Dump(Func<BoundDagTest, string> dump) => dump(this.Test); 3457BoundDagTest test = Test; 3535var updatedTest = UpdateDagTempReferences(Test, ref tempMap); 3845private static BoundDagTest UpdateDagTempReferences(BoundDagTest test, ref ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap) 3986public override BoundDagTest ComputeSelectedTest(bool forLowering, ref bool suitableForLowering) => Negated.ComputeSelectedTest(forLowering, ref suitableForLowering); 3987public override string Dump(Func<BoundDagTest, string> dump) => $"Not ({Negated.Dump(dump)})"; 3990BoundDagTest test, 4017BoundDagTest test, 4505public sealed override BoundDagTest ComputeSelectedTest(bool forLowering, ref bool suitableForLowering) 4530protected virtual BoundDagTest? ComputeSelectedTestEasyOut(bool forLowering, ref bool suitableForLowering) => null; 4583protected override BoundDagTest? ComputeSelectedTestEasyOut(bool forLowering, ref bool suitableForLowering) 4590BoundDagTest? easyOutForLowering = tryGetEasyOut(planA); 4612BoundDagTest? tryGetEasyOut(BoundDagTest planA) 4633public override string Dump(Func<BoundDagTest, string> dump) 4689public 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, 727IConstantValueSet computeRemainingValues(IConstantValueSetFactory fac, ImmutableArray<(BoundDagTest test, bool sense)> constraints) 764static 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)
537var 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) 11966BoundDagTest 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)