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