1 write to Input
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5078
this.
Input
= input;
151 references to Input
Microsoft.CodeAnalysis.CSharp (151)
Binder\DecisionDagBuilder.cs (44)
245
if (e.
Input
.Source is { })
246
usedValues.Add(e.
Input
.Source);
254
if (d.
Input
.Source is { })
255
usedValues.Add(d.
Input
.Source);
362
while (input.Source is BoundDagTypeEvaluation source && isDerivedType(source.
Input
.Type, symbol.ContainingType))
364
input = source.
Input
;
382
input = source.
Input
;
741
if (evaluation.
Input
.Source is { Id: -1 } source)
747
if (test.
Input
.Source is { Id: -1 } testSource)
878
case BoundDagAssignmentEvaluation e when state.RemainingValues.TryGetValue(e.
Input
, out IValueSet? currentValues):
879
Debug.Assert(e.
Input
.IsEquivalentTo(e.Target));
908
state.SelectedTest = new BoundDagNonNullTest(t.Syntax, isExplicitTest: true, t.
Input
, t.HasErrors);
1053
whenTrueValues.TryGetValue(test.
Input
, out IValueSet? whenTrueValuesOpt);
1054
whenFalseValues.TryGetValue(test.
Input
, out IValueSet? whenFalseValuesOpt);
1106
var input = test.
Input
;
1130
BoundDagTemp input = e.
Input
;
1137
input = slice.
Input
;
1145
BoundDagTemp input = e.
Input
;
1152
input = slice.
Input
;
1372
if (test.
Input
== other.
Input
)
1382
!test.
Input
.Type.Equals(other.
Input
.Type, TypeCompareKind.AllIgnoreOptions))
1387
BoundDagTemp s1Input = OriginalInput(test.
Input
);
1388
BoundDagTemp s2Input = OriginalInput(other.
Input
);
1409
relationEffect = new Tests.One(new BoundDagAssignmentEvaluation(syntax, target: other.
Input
, input: test.
Input
));
1464
s1Input = OriginalInput(s1.
Input
);
1465
s2Input = OriginalInput(s2.
Input
);
1702
return $"t{tempIdentifier(a)}={a.Kind}({tempName(a.
Input
)} as {a.Type})";
1704
return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.
Input
)}.{e.Field.Name})";
1706
return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.
Input
)}.{e.Property.Name})";
1708
return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.
Input
)}[{e.Index}])";
1710
return $"{e.Kind}({tempName(e.Target)}<--{tempName(e.
Input
)})";
1712
return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.
Input
)})";
1714
return $"?{d.Kind}({tempName(d.
Input
)} is {b.Type})";
1716
return $"?{d.Kind}({tempName(d.
Input
)} == {v.Value})";
1726
return $"?{d.Kind}({tempName(d.
Input
)} {operatorName} {r.Value})";
1728
return $"?{d.Kind}({tempName(d.
Input
)})";
2062
if (test.
Input
.Source is BoundDagPropertyEvaluation { IsLengthOrCount: true } e)
2285
return (planA.
Input
== planB1.
Input
) ? planB1 : planA;
2292
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)
170
if (!choice.
Input
.IsOriginalInput)
FlowAnalysis\NullableWalker_Patterns.cs (5)
399
(int inputSlot, TypeSymbol inputType) = tempMap.TryGetValue(evaluation.
Input
, out var slotAndType) ? slotAndType : throw ExceptionUtilities.Unreachable();
454
var originalTupleElement = e.
Input
.IsOriginalInput && !originalInputElementSlots.IsDefault
551
bool foundTemp = tempMap.TryGetValue(test.
Input
, out var slotAndType);
598
&& t.
Input
.Source is BoundDagTypeEvaluation {
Input
: { IsOriginalInput: true } })
Generated\BoundNodes.xml.Generated.cs (58)
5135
if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.
Input
)
5163
if (isExplicitTest != this.IsExplicitTest || input != this.
Input
)
5189
if (input != this.
Input
)
5218
if (value != this.Value || input != this.
Input
)
5249
if (operatorKind != this.OperatorKind || value != this.Value || input != this.
Input
)
5290
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(deconstructMethod, this.DeconstructMethod) || input != this.
Input
)
5319
if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.
Input
)
5348
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(field, this.Field) || input != this.
Input
)
5379
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || isLengthOrCount != this.IsLengthOrCount || input != this.
Input
)
5410
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || index != this.Index || input != this.
Input
)
5457
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
)
5506
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
)
5535
if (target != this.Target || input != this.
Input
)
9959
this.Visit(node.
Input
);
9964
this.Visit(node.
Input
);
9969
this.Visit(node.
Input
);
9974
this.Visit(node.
Input
);
9979
this.Visit(node.
Input
);
9984
this.Visit(node.
Input
);
9989
this.Visit(node.
Input
);
9994
this.Visit(node.
Input
);
9999
this.Visit(node.
Input
);
10004
this.Visit(node.
Input
);
10013
this.Visit(node.
Input
);
10022
this.Visit(node.
Input
);
10028
this.Visit(node.
Input
);
11182
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11188
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11193
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11198
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11203
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11208
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11213
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11219
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11224
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11229
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11238
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11248
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11255
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13209
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13216
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13223
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13230
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13241
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13252
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
15589
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
15596
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
15602
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
15609
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
15617
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
15624
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
15631
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
15638
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
15646
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
15654
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
15666
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
15679
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
15686
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (6)
505
var input = ((BoundTestDecisionDagNode)node).Test.
Input
;
536
if (!t1.
Input
.Equals(t2.
Input
))
539
if (t1.
Input
.Type.SpecialType is SpecialType.System_Double or SpecialType.System_Single)
571
if (!(node is BoundTestDecisionDagNode testNode && testNode.Test.
Input
.Equals(input)))
595
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);