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