8 types derived from BoundDagEvaluation
Microsoft.CodeAnalysis.CSharp (8)
Generated\BoundNodes.xml.Generated.cs (8)
5439
internal sealed partial class BoundDagDeconstructEvaluation :
BoundDagEvaluation
5468
internal sealed partial class BoundDagTypeEvaluation :
BoundDagEvaluation
5497
internal sealed partial class BoundDagFieldEvaluation :
BoundDagEvaluation
5526
internal sealed partial class BoundDagPropertyEvaluation :
BoundDagEvaluation
5557
internal sealed partial class BoundDagIndexEvaluation :
BoundDagEvaluation
5588
internal sealed partial class BoundDagIndexerEvaluation :
BoundDagEvaluation
5635
internal sealed partial class BoundDagSliceEvaluation :
BoundDagEvaluation
5684
internal sealed partial class BoundDagAssignmentEvaluation :
BoundDagEvaluation
83 references to BoundDagEvaluation
Microsoft.CodeAnalysis.CSharp (83)
Binder\DecisionDagBuilder.cs (43)
214
var usedValues = PooledHashSet<
BoundDagEvaluation
>.GetInstance();
245
case Tests.One(
BoundDagEvaluation
e):
662
BoundDagEvaluation
evaluation;
826
var tempIdentifierMap = PooledDictionary<
BoundDagEvaluation
, int>.GetInstance();
854
int tempIdentifier(
BoundDagEvaluation
e)
985
case
BoundDagEvaluation
e:
1063
if (state.SelectedTest is
BoundDagEvaluation
eval)
1254
case
BoundDagEvaluation
e:
1346
case
BoundDagEvaluation
_:
1417
private FrozenArrayBuilder<StateForCase> RemoveEvaluation(DagState state,
BoundDagEvaluation
e)
1682
case (
BoundDagEvaluation
s1,
BoundDagEvaluation
s2) when s1.IsEquivalentTo(s2):
1706
internal static bool IsEqualEvaluation(
BoundDagEvaluation
? s1Source,
BoundDagEvaluation
? s2Source)
1768
case (
BoundDagEvaluation
s1,
BoundDagEvaluation
s2) when s1.IsEquivalentTo(s2):
1782
internal static
BoundDagEvaluation
? SkipAllTypeEvaluations(BoundDagTypeEvaluation typeEval)
1932
PooledDictionary<
BoundDagEvaluation
, int> tempIdentifierMap = PooledDictionary<
BoundDagEvaluation
, int>.GetInstance();
1933
int tempIdentifier(
BoundDagEvaluation
? e)
2014
case
BoundDagEvaluation
e:
2375
protected abstract RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder dagBuilder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap,
BoundDagEvaluation
e);
2377
public Tests RemoveEvaluation(DecisionDagBuilder dagBuilder, DagState state, ImmutableArray<BoundPatternBinding> bindings,
BoundDagEvaluation
e)
2382
protected Tests RemoveEvaluationAndUpdateTempReferences(DecisionDagBuilder dagBuilder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap,
BoundDagEvaluation
e)
2491
protected override RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder builder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap,
BoundDagEvaluation
e)
2515
protected override RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder builder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap,
BoundDagEvaluation
e)
2521
/// Note that the test might be a <see cref="
BoundDagEvaluation
"/>, in which case it is deemed to have
2541
if (other is
BoundDagEvaluation
||
2632
protected override RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder builder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap,
BoundDagEvaluation
e)
2691
public static Tests RemoveEvaluation(One tests, DecisionDagBuilder builder, DagState state, ref ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap,
BoundDagEvaluation
e, out Tests? condition)
2727
private static bool IsEquivalentEvaluation(One tests,
BoundDagEvaluation
e1, [NotNullWhen(true)] out
BoundDagEvaluation
? underlying)
2729
if (tests.Test is
BoundDagEvaluation
eval &&
2752
private static Tests RemoveSimpleEvaluationWithResultTemp(One tests, ref ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap,
BoundDagEvaluation
e1)
2754
if (IsEquivalentEvaluation(tests, e1, out
var
eval))
2764
private static void AddResultTempReplacement(ref ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap,
BoundDagEvaluation
oldEval,
BoundDagEvaluation
newEval)
2788
if (IsEquivalentEvaluation(tests, e1, out
var
eval))
2889
case
BoundDagEvaluation
eval:
2903
var
updated = eval.Update(replacement);
2973
Debug.Assert(test is not
BoundDagEvaluation
);
3011
protected override RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder builder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap,
BoundDagEvaluation
e)
3132
protected sealed override RemoveEvaluationAndUpdateTempReferencesResult RemoveEvaluationAndUpdateTempReferencesCore(DecisionDagBuilder dagBuilder, DagState state, ImmutableArray<BoundPatternBinding> bindings, ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap,
BoundDagEvaluation
e)
Binder\PatternExplainer.cs (5)
286
out Dictionary<BoundDagTemp, ArrayBuilder<
BoundDagEvaluation
>> evaluations)
289
evaluations = new Dictionary<BoundDagTemp, ArrayBuilder<
BoundDagEvaluation
>>();
321
evaluations.Add(temp, evaluationBuilder = new ArrayBuilder<
BoundDagEvaluation
>());
334
Dictionary<BoundDagTemp, ArrayBuilder<
BoundDagEvaluation
>> evaluationMap,
576
foreach (
var
eval in evaluations)
BoundTree\BoundDagEvaluation.cs (18)
16
public sealed override bool Equals([NotNullWhen(true)] object? obj) => obj is
BoundDagEvaluation
other && this.Equals(other);
17
public virtual bool Equals(
BoundDagEvaluation
other)
40
public virtual bool IsEquivalentTo(
BoundDagEvaluation
other)
89
public new
BoundDagEvaluation
Update(BoundDagTemp input) => UpdateEvaluationImpl(input);
90
public abstract
BoundDagEvaluation
UpdateEvaluationImpl(BoundDagTemp input);
138
public override
BoundDagEvaluation
UpdateEvaluationImpl(BoundDagTemp input) => Update(input);
157
public override
BoundDagEvaluation
UpdateEvaluationImpl(BoundDagTemp input) => Update(input);
171
public override
BoundDagEvaluation
UpdateEvaluationImpl(BoundDagTemp input) => Update(input);
181
public override bool IsEquivalentTo(
BoundDagEvaluation
obj)
194
public override
BoundDagEvaluation
UpdateEvaluationImpl(BoundDagTemp input) => Update(input);
209
public override bool IsEquivalentTo(
BoundDagEvaluation
obj)
225
public override
BoundDagEvaluation
UpdateEvaluationImpl(BoundDagTemp input) => Update(input);
245
public override bool IsEquivalentTo(
BoundDagEvaluation
obj)
262
public override
BoundDagEvaluation
UpdateEvaluationImpl(BoundDagTemp input) => Update(input);
282
public override bool IsEquivalentTo(
BoundDagEvaluation
obj)
288
public override bool Equals(
BoundDagEvaluation
other)
301
public override
BoundDagEvaluation
UpdateEvaluationImpl(BoundDagTemp input) => Update(input);
331
public override
BoundDagEvaluation
UpdateEvaluationImpl(BoundDagTemp input) => Update(input);
BoundTree\BoundDagTest.cs (1)
89
case
BoundDagEvaluation
e:
BoundTree\Constructors.cs (1)
644
public BoundDagTemp(SyntaxNode syntax, TypeSymbol type,
BoundDagEvaluation
? source)
FlowAnalysis\NullableWalker_Patterns.cs (2)
437
var
evaluation = p.Evaluation;
684
var
evaluation = output.Source;
Generated\BoundNodes.xml.Generated.cs (10)
5103
public BoundEvaluationDecisionDagNode(SyntaxNode syntax,
BoundDagEvaluation
evaluation, BoundDecisionDagNode next, bool hasErrors = false)
5114
public
BoundDagEvaluation
Evaluation { get; }
5120
public BoundEvaluationDecisionDagNode Update(
BoundDagEvaluation
evaluation, BoundDecisionDagNode next)
5254
public BoundDagTemp(SyntaxNode syntax, TypeSymbol type,
BoundDagEvaluation
? source, int index, bool hasErrors = false)
5266
public
BoundDagEvaluation
? Source { get; }
5272
public BoundDagTemp Update(TypeSymbol type,
BoundDagEvaluation
? source, int index)
11809
BoundDagEvaluation
evaluation = (
BoundDagEvaluation
)this.Visit(node.Evaluation);
11834
BoundDagEvaluation
? source = (
BoundDagEvaluation
?)this.Visit(node.Source);
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
135
protected BoundExpression LowerEvaluation(
BoundDagEvaluation
evaluation)
475
BoundDagEvaluation
evaluation,
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (1)
196
case
BoundDagEvaluation
eval: