1 write to Input
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5187this.Input = input;
151 references to Input
Microsoft.CodeAnalysis.CSharp (151)
Binder\DecisionDagBuilder.cs (44)
248if (e.Input.Source is { }) 249usedValues.Add(e.Input.Source); 257if (d.Input.Source is { }) 258usedValues.Add(d.Input.Source); 365while (input.Source is BoundDagTypeEvaluation source && isDerivedType(source.Input.Type, symbol.ContainingType)) 367input = source.Input; 385input = source.Input; 786if (evaluation.Input.Source is { Id: -1 } source) 792if (test.Input.Source is { Id: -1 } testSource) 932case BoundDagAssignmentEvaluation e when state.RemainingValues.TryGetValue(e.Input, out IValueSet? currentValues): 933Debug.Assert(e.Input.IsEquivalentTo(e.Target)); 960state.SelectedTest = new BoundDagNonNullTest(t.Syntax, isExplicitTest: true, t.Input, t.HasErrors); 1104whenTrueValues.TryGetValue(test.Input, out IValueSet? whenTrueValuesOpt); 1105whenFalseValues.TryGetValue(test.Input, out IValueSet? whenFalseValuesOpt); 1157var input = test.Input; 1181BoundDagTemp input = e.Input; 1188input = slice.Input; 1196BoundDagTemp input = e.Input; 1203input = slice.Input; 1423if (test.Input == other.Input) 1433!test.Input.Type.Equals(other.Input.Type, TypeCompareKind.AllIgnoreOptions)) 1438BoundDagTemp s1Input = OriginalInput(test.Input); 1439BoundDagTemp s2Input = OriginalInput(other.Input); 1460relationEffect = new Tests.One(new BoundDagAssignmentEvaluation(syntax, target: other.Input, input: test.Input)); 1515s1Input = OriginalInput(s1.Input); 1516s2Input = OriginalInput(s2.Input); 1739return $"t{tempIdentifier(a)}={a.Kind}({tempName(a.Input)} as {a.Type})"; 1741return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.Input)}.{e.Field.Name})"; 1743return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.Input)}.{e.Property.Name})"; 1745return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.Input)}[{e.Index}])"; 1747return $"{e.Kind}({tempName(e.Target)}<--{tempName(e.Input)})"; 1749return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.Input)})"; 1751return $"?{d.Kind}({tempName(d.Input)} is {b.Type})"; 1753return $"?{d.Kind}({tempName(d.Input)} == {v.Value})"; 1763return $"?{d.Kind}({tempName(d.Input)} {operatorName} {r.Value})"; 1765return $"?{d.Kind}({tempName(d.Input)})"; 2218if (test.Input.Source is BoundDagPropertyEvaluation { IsLengthOrCount: true } e) 2441return (planA.Input == planB1.Input) ? planB1 : planA; 2448return (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)
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)
5244if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.Input) 5272if (isExplicitTest != this.IsExplicitTest || input != this.Input) 5298if (input != this.Input) 5327if (value != this.Value || input != this.Input) 5358if (operatorKind != this.OperatorKind || value != this.Value || input != this.Input) 5399if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(deconstructMethod, this.DeconstructMethod) || input != this.Input) 5428if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.Input) 5457if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(field, this.Field) || input != this.Input) 5488if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || isLengthOrCount != this.IsLengthOrCount || input != this.Input) 5519if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || index != this.Index || input != this.Input) 5566if (!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) 5615if (!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) 5644if (target != this.Target || input != this.Input) 10355this.Visit(node.Input); 10360this.Visit(node.Input); 10365this.Visit(node.Input); 10370this.Visit(node.Input); 10375this.Visit(node.Input); 10380this.Visit(node.Input); 10385this.Visit(node.Input); 10390this.Visit(node.Input); 10395this.Visit(node.Input); 10400this.Visit(node.Input); 10409this.Visit(node.Input); 10418this.Visit(node.Input); 10424this.Visit(node.Input); 11713BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11719BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11724BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11729BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11734BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11740BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11745BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11752BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11758BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11764BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11773BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11783BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11790BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 13850BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 13857BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 13864BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 13871BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 13882BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 13893BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 16325new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16332new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16338new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16345new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16353new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16360new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16367new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16374new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16382new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16390new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16402new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16415new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16422new 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); 343BoundExpression input = _tempAllocator.GetTemp(test.Input); 475typeEvaluation1.Input == typeDecision.Input) 477BoundExpression input = _tempAllocator.GetTemp(test.Input); 488_factory.Compilation.Conversions.ClassifyBuiltInConversion(test.Input.Type, typeEvaluation2.Type, isChecked: false, ref useSiteInfo) is Conversion conv && 490typeEvaluation2.Input == nonNullTest.Input) 492BoundExpression input = _tempAllocator.GetTemp(test.Input); 589return t.Test.Input.IsOriginalInput; 594return f.Input.IsOriginalInput && !f.Field.IsTupleElement(); 596return e.Evaluation.Input.IsOriginalInput; 665eval.Input.IsOriginalInput && 677Debug.Assert(!evalNode.Evaluation.Input.IsOriginalInput); 681Debug.Assert(!testNode.Test.Input.IsOriginalInput);