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