1 write to Input
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5190
this.
Input
= input;
151 references to Input
Microsoft.CodeAnalysis.CSharp (151)
Binder\DecisionDagBuilder.cs (44)
248
if (e.
Input
.Source is { })
249
usedValues.Add(e.
Input
.Source);
257
if (d.
Input
.Source is { })
258
usedValues.Add(d.
Input
.Source);
365
while (input.Source is BoundDagTypeEvaluation source && isDerivedType(source.
Input
.Type, symbol.ContainingType))
367
input = source.
Input
;
385
input = source.
Input
;
784
if (evaluation.
Input
.Source is { Id: -1 } source)
790
if (test.
Input
.Source is { Id: -1 } testSource)
930
case BoundDagAssignmentEvaluation e when state.RemainingValues.TryGetValue(e.
Input
, out IValueSet? currentValues):
931
Debug.Assert(e.
Input
.IsEquivalentTo(e.Target));
958
state.SelectedTest = new BoundDagNonNullTest(t.Syntax, isExplicitTest: true, t.
Input
, t.HasErrors);
1102
whenTrueValues.TryGetValue(test.
Input
, out IValueSet? whenTrueValuesOpt);
1103
whenFalseValues.TryGetValue(test.
Input
, out IValueSet? whenFalseValuesOpt);
1155
var input = test.
Input
;
1179
BoundDagTemp input = e.
Input
;
1186
input = slice.
Input
;
1194
BoundDagTemp input = e.
Input
;
1201
input = slice.
Input
;
1421
if (test.
Input
== other.
Input
)
1431
!test.
Input
.Type.Equals(other.
Input
.Type, TypeCompareKind.AllIgnoreOptions))
1436
BoundDagTemp s1Input = OriginalInput(test.
Input
);
1437
BoundDagTemp s2Input = OriginalInput(other.
Input
);
1458
relationEffect = new Tests.One(new BoundDagAssignmentEvaluation(syntax, target: other.
Input
, input: test.
Input
));
1513
s1Input = OriginalInput(s1.
Input
);
1514
s2Input = OriginalInput(s2.
Input
);
1737
return $"t{tempIdentifier(a)}={a.Kind}({tempName(a.
Input
)} as {a.Type})";
1739
return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.
Input
)}.{e.Field.Name})";
1741
return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.
Input
)}.{e.Property.Name})";
1743
return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.
Input
)}[{e.Index}])";
1745
return $"{e.Kind}({tempName(e.Target)}<--{tempName(e.
Input
)})";
1747
return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.
Input
)})";
1749
return $"?{d.Kind}({tempName(d.
Input
)} is {b.Type})";
1751
return $"?{d.Kind}({tempName(d.
Input
)} == {v.Value})";
1761
return $"?{d.Kind}({tempName(d.
Input
)} {operatorName} {r.Value})";
1763
return $"?{d.Kind}({tempName(d.
Input
)})";
2216
if (test.
Input
.Source is BoundDagPropertyEvaluation { IsLengthOrCount: true } e)
2439
return (planA.
Input
== planB1.
Input
) ? planB1 : planA;
2446
return (planA.
Input
== planB2.
Input
) ? planB2 : planA;
Binder\PatternExplainer.cs (2)
260
BoundDagTemp temp = test.
Input
;
278
BoundDagTemp temp = e.Evaluation.
Input
;
BoundTree\BoundDagEvaluation.cs (3)
18
this.
Input
.Equals(other.
Input
);
72
return Hash.Combine(
Input
.GetHashCode(), this.Symbol?.GetHashCode() ?? 0);
BoundTree\BoundDagTest.cs (17)
24
if (!this.
Input
.Equals(other.
Input
))
46
return Hash.Combine(((int)Kind).GetHashCode(),
Input
.GetHashCode());
55
return $"{a.GetOutputTempDebuggerDisplay()} = ({a.Type}){a.
Input
.GetDebuggerDisplay()}";
57
return $"{e.GetOutputTempDebuggerDisplay()} = {e.
Input
.GetDebuggerDisplay()}.{e.Property.Name}";
59
return $"{e.GetOutputTempDebuggerDisplay()} = {e.
Input
.GetDebuggerDisplay()}.{e.Field.Name}";
72
result += $") {d.GetOutputTempDebuggerDisplay()} = {d.
Input
.GetDebuggerDisplay()}";
75
return $"{i.GetOutputTempDebuggerDisplay()} = {i.
Input
.GetDebuggerDisplay()}[{i.Index}]";
77
return $"{i.GetOutputTempDebuggerDisplay()} = {i.
Input
.GetDebuggerDisplay()}[{i.Index}]";
79
return $"{i.Target.GetDebuggerDisplay()} <-- {i.
Input
.GetDebuggerDisplay()}";
81
return $"{e.GetOutputTempDebuggerDisplay()} = {e.Kind}({e.
Input
.GetDebuggerDisplay()})";
84
return $"{b.
Input
.GetDebuggerDisplay()} is {typeName}";
86
return $"{v.
Input
.GetDebuggerDisplay()} == {v.Value.GetValueToDisplay()}";
88
return $"{nn.
Input
.GetDebuggerDisplay()} != null";
90
return $"{n.
Input
.GetDebuggerDisplay()} == null";
100
return $"{r.
Input
.GetDebuggerDisplay()} {operatorName} {r.Value.GetValueToDisplay()}";
102
return $"{this.Kind}({this.
Input
.GetDebuggerDisplay()})";
BoundTree\BoundDecisionDag.cs (1)
176
if (!choice.
Input
.IsOriginalInput)
FlowAnalysis\NullableWalker_Patterns.cs (5)
437
(int inputSlot, TypeSymbol inputType) = tempMap.TryGetValue(evaluation.
Input
, out var slotAndType) ? slotAndType : throw ExceptionUtilities.Unreachable();
492
var originalTupleElement = e.
Input
.IsOriginalInput && !originalInputElementSlots.IsDefault
591
bool foundTemp = tempMap.TryGetValue(test.
Input
, out var slotAndType);
638
&& t.
Input
.Source is BoundDagTypeEvaluation {
Input
: { IsOriginalInput: true } })
Generated\BoundNodes.xml.Generated.cs (58)
5247
if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.
Input
)
5275
if (isExplicitTest != this.IsExplicitTest || input != this.
Input
)
5301
if (input != this.
Input
)
5330
if (value != this.Value || input != this.
Input
)
5361
if (operatorKind != this.OperatorKind || value != this.Value || input != this.
Input
)
5402
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(deconstructMethod, this.DeconstructMethod) || input != this.
Input
)
5431
if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.
Input
)
5460
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(field, this.Field) || input != this.
Input
)
5491
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || isLengthOrCount != this.IsLengthOrCount || input != this.
Input
)
5522
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || index != this.Index || input != this.
Input
)
5569
if (!TypeSymbol.Equals(indexerType, this.IndexerType, TypeCompareKind.ConsiderEverything) || lengthTemp != this.LengthTemp || index != this.Index || indexerAccess != this.IndexerAccess || receiverPlaceholder != this.ReceiverPlaceholder || argumentPlaceholder != this.ArgumentPlaceholder || input != this.
Input
)
5618
if (!TypeSymbol.Equals(sliceType, this.SliceType, TypeCompareKind.ConsiderEverything) || lengthTemp != this.LengthTemp || startIndex != this.StartIndex || endIndex != this.EndIndex || indexerAccess != this.IndexerAccess || receiverPlaceholder != this.ReceiverPlaceholder || argumentPlaceholder != this.ArgumentPlaceholder || input != this.
Input
)
5647
if (target != this.Target || input != this.
Input
)
10353
this.Visit(node.
Input
);
10358
this.Visit(node.
Input
);
10363
this.Visit(node.
Input
);
10368
this.Visit(node.
Input
);
10373
this.Visit(node.
Input
);
10378
this.Visit(node.
Input
);
10383
this.Visit(node.
Input
);
10388
this.Visit(node.
Input
);
10393
this.Visit(node.
Input
);
10398
this.Visit(node.
Input
);
10407
this.Visit(node.
Input
);
10416
this.Visit(node.
Input
);
10422
this.Visit(node.
Input
);
11614
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11620
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11625
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11630
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11635
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11640
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11645
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11651
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11656
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11661
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11670
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11680
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11687
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13713
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13720
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13727
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13734
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13745
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13756
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
16186
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16193
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16199
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16206
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16214
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16221
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16228
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16235
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16243
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16251
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16263
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16276
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16283
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (6)
504
var input = ((BoundTestDecisionDagNode)node).Test.
Input
;
535
if (!t1.
Input
.Equals(t2.
Input
))
538
if (t1.
Input
.Type.SpecialType is SpecialType.System_Double or SpecialType.System_Single)
570
if (!(node is BoundTestDecisionDagNode testNode && testNode.Test.
Input
.Equals(input)))
594
vd.
Input
.Equals(input) &&
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (15)
137
BoundExpression input = _tempAllocator.GetTemp(evaluation.
Input
);
339
BoundExpression input = _tempAllocator.GetTemp(test.
Input
);
471
typeEvaluation1.
Input
== typeDecision.
Input
)
473
BoundExpression input = _tempAllocator.GetTemp(test.
Input
);
484
_factory.Compilation.Conversions.ClassifyBuiltInConversion(test.
Input
.Type, typeEvaluation2.Type, isChecked: false, ref useSiteInfo) is Conversion conv &&
486
typeEvaluation2.
Input
== nonNullTest.
Input
)
488
BoundExpression input = _tempAllocator.GetTemp(test.
Input
);
585
return t.Test.
Input
.IsOriginalInput;
590
return f.
Input
.IsOriginalInput && !f.Field.IsTupleElement();
592
return e.Evaluation.
Input
.IsOriginalInput;
661
eval.
Input
.IsOriginalInput &&
673
Debug.Assert(!evalNode.Evaluation.
Input
.IsOriginalInput);
677
Debug.Assert(!testNode.Test.
Input
.IsOriginalInput);