1 write to Input
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5212
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);
259
if (d.
Input
.Source is { })
260
usedValues.Add(d.
Input
.Source);
411
while (input.Source is BoundDagTypeEvaluation source && isDerivedType(source.
Input
.Type, symbol.ContainingType))
413
input = source.
Input
;
431
input = source.
Input
;
832
if (evaluation.
Input
.Source is { Id: -1 } source)
838
if (test.
Input
.Source is { Id: -1 } testSource)
978
case BoundDagAssignmentEvaluation e when state.RemainingValues.TryGetValue(e.
Input
, out IValueSet? currentValues):
979
Debug.Assert(e.
Input
.IsEquivalentTo(e.Target));
1006
state.SelectedTest = new BoundDagNonNullTest(t.Syntax, isExplicitTest: true, t.
Input
, t.HasErrors);
1150
whenTrueValues.TryGetValue(test.
Input
, out IValueSet? whenTrueValuesOpt);
1151
whenFalseValues.TryGetValue(test.
Input
, out IValueSet? whenFalseValuesOpt);
1203
var input = test.
Input
;
1227
BoundDagTemp input = e.
Input
;
1234
input = slice.
Input
;
1242
BoundDagTemp input = e.
Input
;
1249
input = slice.
Input
;
1469
if (test.
Input
== other.
Input
)
1479
!test.
Input
.Type.Equals(other.
Input
.Type, TypeCompareKind.AllIgnoreOptions))
1484
BoundDagTemp s1Input = OriginalInput(test.
Input
);
1485
BoundDagTemp s2Input = OriginalInput(other.
Input
);
1506
relationEffect = new Tests.One(new BoundDagAssignmentEvaluation(syntax, target: other.
Input
, input: test.
Input
));
1557
s1Input = OriginalInput(s1.
Input
);
1558
s2Input = OriginalInput(s2.
Input
);
1781
return $"t{tempIdentifier(a)}={a.Kind}({tempName(a.
Input
)} as {a.Type})";
1783
return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.
Input
)}.{e.Field.Name})";
1785
return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.
Input
)}.{e.Property.Name})";
1787
return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.
Input
)}[{e.Index}])";
1789
return $"{e.Kind}({tempName(e.Target)}<--{tempName(e.
Input
)})";
1791
return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.
Input
)})";
1793
return $"?{d.Kind}({tempName(d.
Input
)} is {b.Type})";
1795
return $"?{d.Kind}({tempName(d.
Input
)} == {v.Value})";
1805
return $"?{d.Kind}({tempName(d.
Input
)} {operatorName} {r.Value})";
1807
return $"?{d.Kind}({tempName(d.
Input
)})";
2260
if (test.
Input
.Source is BoundDagPropertyEvaluation { IsLengthOrCount: true } e)
2774
return (planA.
Input
== planB1.
Input
) ? planB1 : planA;
2781
return (planA.
Input
== planB2.
Input
) ? planB2 : planA;
Binder\PatternExplainer.cs (2)
300
BoundDagTemp temp = test.
Input
;
318
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
593
bool foundTemp = tempMap.TryGetValue(test.
Input
, out var slotAndType);
640
&& t.
Input
.Source is BoundDagTypeEvaluation {
Input
: { IsOriginalInput: true } })
Generated\BoundNodes.xml.Generated.cs (58)
5269
if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.
Input
)
5297
if (isExplicitTest != this.IsExplicitTest || input != this.
Input
)
5323
if (input != this.
Input
)
5352
if (value != this.Value || input != this.
Input
)
5383
if (operatorKind != this.OperatorKind || value != this.Value || input != this.
Input
)
5424
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(deconstructMethod, this.DeconstructMethod) || input != this.
Input
)
5453
if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.
Input
)
5482
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(field, this.Field) || input != this.
Input
)
5513
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || isLengthOrCount != this.IsLengthOrCount || input != this.
Input
)
5544
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || index != this.Index || input != this.
Input
)
5591
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
)
5640
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
)
5669
if (target != this.Target || input != this.
Input
)
10384
this.Visit(node.
Input
);
10389
this.Visit(node.
Input
);
10394
this.Visit(node.
Input
);
10399
this.Visit(node.
Input
);
10404
this.Visit(node.
Input
);
10409
this.Visit(node.
Input
);
10414
this.Visit(node.
Input
);
10419
this.Visit(node.
Input
);
10424
this.Visit(node.
Input
);
10429
this.Visit(node.
Input
);
10438
this.Visit(node.
Input
);
10447
this.Visit(node.
Input
);
10453
this.Visit(node.
Input
);
11743
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11749
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11754
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11759
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11764
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11770
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11775
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11782
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11788
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11794
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11803
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11813
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11820
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13885
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13892
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13899
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13906
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13917
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13928
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
16351
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16358
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16364
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16371
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16379
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16386
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16393
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16400
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16408
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16416
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16428
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16441
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16448
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
);
343
BoundExpression input = _tempAllocator.GetTemp(test.
Input
);
475
typeEvaluation1.
Input
== typeDecision.
Input
)
477
BoundExpression input = _tempAllocator.GetTemp(test.
Input
);
488
_factory.Compilation.Conversions.ClassifyBuiltInConversion(test.
Input
.Type, typeEvaluation2.Type, isChecked: false, ref useSiteInfo) is Conversion conv &&
490
typeEvaluation2.
Input
== nonNullTest.
Input
)
492
BoundExpression input = _tempAllocator.GetTemp(test.
Input
);
589
return t.Test.
Input
.IsOriginalInput;
594
return f.
Input
.IsOriginalInput && !f.Field.IsTupleElement();
596
return e.Evaluation.
Input
.IsOriginalInput;
665
eval.
Input
.IsOriginalInput &&
677
Debug.Assert(!evalNode.Evaluation.
Input
.IsOriginalInput);
681
Debug.Assert(!testNode.Test.
Input
.IsOriginalInput);