6 types derived from BoundDagTest
Microsoft.CodeAnalysis.CSharp (6)
Generated\BoundNodes.xml.Generated.cs (6)
5284
internal sealed partial class BoundDagTypeTest :
BoundDagTest
5313
internal sealed partial class BoundDagNonNullTest :
BoundDagTest
5341
internal sealed partial class BoundDagExplicitNullTest :
BoundDagTest
5367
internal sealed partial class BoundDagValueTest :
BoundDagTest
5396
internal sealed partial class BoundDagRelationalTest :
BoundDagTest
5427
internal abstract partial class BoundDagEvaluation :
BoundDagTest
72 references to BoundDagTest
Microsoft.CodeAnalysis.CSharp (72)
Binder\DecisionDagBuilder.cs (43)
258
case Tests.One(
BoundDagTest
d):
989
case
BoundDagTest
d:
1119
else if (state.SelectedTest is
BoundDagTest
test)
1172
static void markAllInputsUsed(PooledDictionary<BoundDagTemp, int> tempToIndex, ref int nextTempIndex, ref BitVector usedTemps,
BoundDagTest
test)
1262
case
BoundDagTest
d:
1283
BoundDagTest
test,
1297
BoundDagTest
test,
1342
BoundDagTest
test)
1454
BoundDagTest
test,
1455
BoundDagTest
other,
1620
BoundDagTest
test,
1621
BoundDagTest
other)
2000
string dumpDagTest(
BoundDagTest
d)
2131
public
BoundDagTest
? SelectedTest;
2190
internal
BoundDagTest
ComputeSelectedTest()
2337
BoundDagTest
test,
2344
public virtual
BoundDagTest
ComputeSelectedTest() => throw ExceptionUtilities.Unreachable();
2469
public abstract string Dump(Func<
BoundDagTest
, string> dump);
2477
public override string Dump(Func<
BoundDagTest
, string> dump) => "TRUE";
2480
BoundDagTest
test,
2501
public override string Dump(Func<
BoundDagTest
, string> dump) => "FALSE";
2504
BoundDagTest
test,
2520
/// A single test to be performed, described by a <see cref="
BoundDagTest
"/>.
2526
public readonly
BoundDagTest
Test;
2527
public One(
BoundDagTest
test) => this.Test = test;
2528
public void Deconstruct(out
BoundDagTest
Test) => Test = this.Test;
2531
BoundDagTest
test,
2540
BoundDagTest
other = this.Test;
2566
public override
BoundDagTest
ComputeSelectedTest() => this.Test;
2567
public override string Dump(Func<
BoundDagTest
, string> dump) => dump(this.Test);
2572
BoundDagTest
test = Test;
2635
var
updatedTest = UpdateDagTempReferences(Test, ref tempMap);
2885
private static
BoundDagTest
UpdateDagTempReferences(
BoundDagTest
test, ref ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap)
3021
public override
BoundDagTest
ComputeSelectedTest() => Negated.ComputeSelectedTest();
3022
public override string Dump(Func<
BoundDagTest
, string> dump) => $"Not ({Negated.Dump(dump)})";
3025
BoundDagTest
test,
3052
BoundDagTest
test,
3540
public sealed override
BoundDagTest
ComputeSelectedTest()
3565
protected virtual
BoundDagTest
? ComputeSelectedTestEasyOut() => null;
3618
protected override
BoundDagTest
? ComputeSelectedTestEasyOut()
3644
public override string Dump(Func<
BoundDagTest
, string> dump)
3700
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,
645
IValueSet computeRemainingValues(IValueSetFactory fac, ImmutableArray<(
BoundDagTest
test, bool sense)> constraints)
682
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)
17
public override bool Equals([NotNullWhen(true)] object? obj) => this.Equals(obj as
BoundDagTest
);
19
private bool Equals(
BoundDagTest
? other)
50
public
BoundDagTest
Update(BoundDagTemp input) => UpdateTestImpl(input);
51
public abstract
BoundDagTest
UpdateTestImpl(BoundDagTemp input);
119
public override
BoundDagTest
UpdateTestImpl(BoundDagTemp input) => Update(input);
128
public override
BoundDagTest
UpdateTestImpl(BoundDagTemp input) => Update(input);
133
public override
BoundDagTest
UpdateTestImpl(BoundDagTemp input) => Update(input);
142
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)
5134
public BoundTestDecisionDagNode(SyntaxNode syntax,
BoundDagTest
test, BoundDecisionDagNode whenTrue, BoundDecisionDagNode whenFalse, bool hasErrors = false)
5147
public
BoundDagTest
Test { get; }
5154
public BoundTestDecisionDagNode Update(
BoundDagTest
test, BoundDecisionDagNode whenTrue, BoundDecisionDagNode whenFalse)
11815
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)
345
protected BoundExpression LowerTest(
BoundDagTest
test)
474
BoundDagTest
test,
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (1)
191
private void LowerOneTest(
BoundDagTest
test, bool invert = false)