1 write to Input
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5190this.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; 784if (evaluation.Input.Source is { Id: -1 } source) 790if (test.Input.Source is { Id: -1 } testSource) 930case BoundDagAssignmentEvaluation e when state.RemainingValues.TryGetValue(e.Input, out IValueSet? currentValues): 931Debug.Assert(e.Input.IsEquivalentTo(e.Target)); 958state.SelectedTest = new BoundDagNonNullTest(t.Syntax, isExplicitTest: true, t.Input, t.HasErrors); 1102whenTrueValues.TryGetValue(test.Input, out IValueSet? whenTrueValuesOpt); 1103whenFalseValues.TryGetValue(test.Input, out IValueSet? whenFalseValuesOpt); 1155var input = test.Input; 1179BoundDagTemp input = e.Input; 1186input = slice.Input; 1194BoundDagTemp input = e.Input; 1201input = slice.Input; 1421if (test.Input == other.Input) 1431!test.Input.Type.Equals(other.Input.Type, TypeCompareKind.AllIgnoreOptions)) 1436BoundDagTemp s1Input = OriginalInput(test.Input); 1437BoundDagTemp s2Input = OriginalInput(other.Input); 1458relationEffect = new Tests.One(new BoundDagAssignmentEvaluation(syntax, target: other.Input, input: test.Input)); 1513s1Input = OriginalInput(s1.Input); 1514s2Input = OriginalInput(s2.Input); 1737return $"t{tempIdentifier(a)}={a.Kind}({tempName(a.Input)} as {a.Type})"; 1739return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.Input)}.{e.Field.Name})"; 1741return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.Input)}.{e.Property.Name})"; 1743return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.Input)}[{e.Index}])"; 1745return $"{e.Kind}({tempName(e.Target)}<--{tempName(e.Input)})"; 1747return $"t{tempIdentifier(e)}={e.Kind}({tempName(e.Input)})"; 1749return $"?{d.Kind}({tempName(d.Input)} is {b.Type})"; 1751return $"?{d.Kind}({tempName(d.Input)} == {v.Value})"; 1761return $"?{d.Kind}({tempName(d.Input)} {operatorName} {r.Value})"; 1763return $"?{d.Kind}({tempName(d.Input)})"; 2216if (test.Input.Source is BoundDagPropertyEvaluation { IsLengthOrCount: true } e) 2439return (planA.Input == planB1.Input) ? planB1 : planA; 2446return (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 591bool foundTemp = tempMap.TryGetValue(test.Input, out var slotAndType); 638&& t.Input.Source is BoundDagTypeEvaluation { Input: { IsOriginalInput: true } })
Generated\BoundNodes.xml.Generated.cs (58)
5247if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.Input) 5275if (isExplicitTest != this.IsExplicitTest || input != this.Input) 5301if (input != this.Input) 5330if (value != this.Value || input != this.Input) 5361if (operatorKind != this.OperatorKind || value != this.Value || input != this.Input) 5402if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(deconstructMethod, this.DeconstructMethod) || input != this.Input) 5431if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.Input) 5460if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(field, this.Field) || input != this.Input) 5491if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || isLengthOrCount != this.IsLengthOrCount || input != this.Input) 5522if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || index != this.Index || input != this.Input) 5569if (!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) 5618if (!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) 5647if (target != this.Target || input != this.Input) 10353this.Visit(node.Input); 10358this.Visit(node.Input); 10363this.Visit(node.Input); 10368this.Visit(node.Input); 10373this.Visit(node.Input); 10378this.Visit(node.Input); 10383this.Visit(node.Input); 10388this.Visit(node.Input); 10393this.Visit(node.Input); 10398this.Visit(node.Input); 10407this.Visit(node.Input); 10416this.Visit(node.Input); 10422this.Visit(node.Input); 11614BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11620BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11625BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11630BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11635BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11640BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11645BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11651BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11656BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11661BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11670BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11680BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 11687BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 13713BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 13720BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 13727BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 13734BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 13745BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 13756BoundDagTemp input = (BoundDagTemp)this.Visit(node.Input); 16186new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16193new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16199new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16206new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16214new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16221new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16228new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16235new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16243new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16251new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16263new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16276new TreeDumperNode("input", null, new TreeDumperNode[] { Visit(node.Input, null) }), 16283new 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); 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);