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