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