1 write to Input
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5244this.Input = input;
151 references to Input
Microsoft.CodeAnalysis.CSharp (151)
Binder\DecisionDagBuilder.cs (44)
248if (e.Input.Source is { }) 249usedValues.Add(e.Input.Source); 259if (d.Input.Source is { }) 260usedValues.Add(d.Input.Source); 411while (input.Source is BoundDagTypeEvaluation source && isDerivedType(source.Input.Type, symbol.ContainingType)) 413input = source.Input; 431input = source.Input; 832if (evaluation.Input.Source is { Id: -1 } source) 838if (test.Input.Source is { Id: -1 } testSource) 978case BoundDagAssignmentEvaluation e when state.RemainingValues.TryGetValue(e.Input, out IValueSet? currentValues): 979Debug.Assert(e.Input.IsEquivalentTo(e.Target)); 1006state.SelectedTest = new BoundDagNonNullTest(t.Syntax, isExplicitTest: true, t.Input, t.HasErrors); 1150whenTrueValues.TryGetValue(test.Input, out IValueSet? whenTrueValuesOpt); 1151whenFalseValues.TryGetValue(test.Input, out IValueSet? whenFalseValuesOpt); 1203var input = test.Input; 1227BoundDagTemp input = e.Input; 1234input = slice.Input; 1242BoundDagTemp input = e.Input; 1249input = slice.Input; 1469if (test.Input == other.Input) 1479!test.Input.Type.Equals(other.Input.Type, TypeCompareKind.AllIgnoreOptions)) 1484BoundDagTemp s1Input = OriginalInput(test.Input); 1485BoundDagTemp s2Input = OriginalInput(other.Input); 1506relationEffect = new Tests.One(new BoundDagAssignmentEvaluation(syntax, target: other.Input, input: test.Input)); 1557s1Input = OriginalInput(s1.Input); 1558s2Input = OriginalInput(s2.Input); 1781return $"t{tempIdentifier(a)}={a.Kind}({tempName(a.Input)} as {a.Type})"; 1783return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.Input)}.{e.Field.Name})"; 1785return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.Input)}.{e.Property.Name})"; 1787return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.Input)}[{e.Index}])"; 1789return $"{e.Kind}({tempName(e.Target)}<--{tempName(e.Input)})"; 1791return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.Input)})"; 1793return $"?{d.Kind}({tempName(d.Input)} is {b.Type})"; 1795return $"?{d.Kind}({tempName(d.Input)} == {v.Value})"; 1805return $"?{d.Kind}({tempName(d.Input)} {operatorName} {r.Value})"; 1807return $"?{d.Kind}({tempName(d.Input)})"; 2260if (test.Input.Source is BoundDagPropertyEvaluation { IsLengthOrCount: true } e) 2774return (planA.Input == planB1.Input) ? planB1 : planA; 2781return (planA.Input == planB2.Input) ? planB2 : planA;
Binder\PatternExplainer.cs (2)
300BoundDagTemp temp = test.Input; 318BoundDagTemp temp = e.Evaluation.Input;
BoundTree\BoundDagEvaluation.cs (3)
18this.Input.Equals(other.Input); 72return Hash.Combine(Input.GetHashCode(), this.Symbol?.GetHashCode() ?? 0);
BoundTree\BoundDagTest.cs (17)
24if (!this.Input.Equals(other.Input)) 46return Hash.Combine(((int)Kind).GetHashCode(), Input.GetHashCode()); 55return $"{a.GetOutputTempDebuggerDisplay()} = ({a.Type}){a.Input.GetDebuggerDisplay()}"; 57return $"{e.GetOutputTempDebuggerDisplay()} = {e.Input.GetDebuggerDisplay()}.{e.Property.Name}"; 59return $"{e.GetOutputTempDebuggerDisplay()} = {e.Input.GetDebuggerDisplay()}.{e.Field.Name}"; 72result += $") {d.GetOutputTempDebuggerDisplay()} = {d.Input.GetDebuggerDisplay()}"; 75return $"{i.GetOutputTempDebuggerDisplay()} = {i.Input.GetDebuggerDisplay()}[{i.Index}]"; 77return $"{i.GetOutputTempDebuggerDisplay()} = {i.Input.GetDebuggerDisplay()}[{i.Index}]"; 79return $"{i.Target.GetDebuggerDisplay()} <-- {i.Input.GetDebuggerDisplay()}"; 81return $"{e.GetOutputTempDebuggerDisplay()} = {e.Kind}({e.Input.GetDebuggerDisplay()})"; 84return $"{b.Input.GetDebuggerDisplay()} is {typeName}"; 86return $"{v.Input.GetDebuggerDisplay()} == {v.Value.GetValueToDisplay()}"; 88return $"{nn.Input.GetDebuggerDisplay()} != null"; 90return $"{n.Input.GetDebuggerDisplay()} == null"; 100return $"{r.Input.GetDebuggerDisplay()} {operatorName} {r.Value.GetValueToDisplay()}"; 102return $"{this.Kind}({this.Input.GetDebuggerDisplay()})";
BoundTree\BoundDecisionDag.cs (1)
176if (!choice.Input.IsOriginalInput)
FlowAnalysis\NullableWalker_Patterns.cs (5)
437(int inputSlot, TypeSymbol inputType) = tempMap.TryGetValue(evaluation.Input, out var slotAndType) ? slotAndType : throw ExceptionUtilities.Unreachable(); 492var originalTupleElement = e.Input.IsOriginalInput && !originalInputElementSlots.IsDefault 593bool foundTemp = tempMap.TryGetValue(test.Input, out var slotAndType); 640&& t.Input.Source is BoundDagTypeEvaluation { Input: { IsOriginalInput: true } })
Generated\BoundNodes.xml.Generated.cs (58)
5301if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.Input) 5329if (isExplicitTest != this.IsExplicitTest || input != this.Input) 5355if (input != this.Input) 5384if (value != this.Value || input != this.Input) 5415if (operatorKind != this.OperatorKind || value != this.Value || input != this.Input) 5456if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(deconstructMethod, this.DeconstructMethod) || input != this.Input) 5485if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.Input) 5514if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(field, this.Field) || input != this.Input) 5545if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || isLengthOrCount != this.IsLengthOrCount || input != this.Input) 5576if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || index != this.Index || input != this.Input) 5623if (!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) 5672if (!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) 5701if (target != this.Target || input != this.Input) 10467this.Visit(node.Input); 10472this.Visit(node.Input); 10477this.Visit(node.Input); 10482this.Visit(node.Input); 10487this.Visit(node.Input); 10492this.Visit(node.Input); 10497this.Visit(node.Input); 10502this.Visit(node.Input); 10507this.Visit(node.Input); 10512this.Visit(node.Input); 10521this.Visit(node.Input); 10530this.Visit(node.Input); 10536this.Visit(node.Input); 11838BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11844BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11849BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11854BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11859BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11865BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11870BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11877BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11883BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11889BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11898BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11908BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11915BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 13997BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 14004BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 14011BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 14018BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 14029BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 14040BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 16471new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16478new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16484new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16491new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16499new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16506new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16513new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16520new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16528new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16536new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16548new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16561new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16568new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }),
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (6)
504var input = ((BoundTestDecisionDagNode)node).Test.Input; 535if (!t1.Input.Equals(t2.Input)) 538if (t1.Input.Type.SpecialType is SpecialType.System_Double or SpecialType.System_Single) 570if (!(node is BoundTestDecisionDagNode testNode && testNode.Test.Input.Equals(input))) 594vd.Input.Equals(input) &&
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (15)
137BoundExpression input = _tempAllocator.GetTemp(evaluation.Input); 346BoundExpression input = _tempAllocator.GetTemp(test.Input); 484typeEvaluation1.Input == typeDecision.Input) 486BoundExpression input = _tempAllocator.GetTemp(test.Input); 497_factory.Compilation.Conversions.ClassifyBuiltInConversion(test.Input.Type, typeEvaluation2.Type, isChecked: false, ref useSiteInfo) is Conversion conv && 499typeEvaluation2.Input == nonNullTest.Input) 501BoundExpression input = _tempAllocator.GetTemp(test.Input); 598return t.Test.Input.IsOriginalInput; 603return f.Input.IsOriginalInput && !f.Field.IsTupleElement(); 605return e.Evaluation.Input.IsOriginalInput; 674eval.Input.IsOriginalInput && 686Debug.Assert(!evalNode.Evaluation.Input.IsOriginalInput); 690Debug.Assert(!testNode.Test.Input.IsOriginalInput);