1 write to Input
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5195
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)
5252
if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.
Input
)
5280
if (isExplicitTest != this.IsExplicitTest || input != this.
Input
)
5306
if (input != this.
Input
)
5335
if (value != this.Value || input != this.
Input
)
5366
if (operatorKind != this.OperatorKind || value != this.Value || input != this.
Input
)
5407
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(deconstructMethod, this.DeconstructMethod) || input != this.
Input
)
5436
if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.
Input
)
5465
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(field, this.Field) || input != this.
Input
)
5496
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || isLengthOrCount != this.IsLengthOrCount || input != this.
Input
)
5527
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || index != this.Index || input != this.
Input
)
5574
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
)
5623
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
)
5652
if (target != this.Target || input != this.
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
);
10403
this.Visit(node.
Input
);
10408
this.Visit(node.
Input
);
10417
this.Visit(node.
Input
);
10426
this.Visit(node.
Input
);
10432
this.Visit(node.
Input
);
11721
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11727
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11732
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11737
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11742
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11748
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11753
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11760
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11766
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11772
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11781
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11791
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
11798
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13858
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13865
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13872
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13879
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13890
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
13901
BoundDagTemp input = (BoundDagTemp)this.Visit(node.
Input
);
16324
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16331
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16337
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16344
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16352
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16359
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16366
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16373
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16381
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16389
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16401
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16414
new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.
Input
, null) }),
16421
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);