2 writes to InputType
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
7997this.InputType = inputType; 8008this.InputType = inputType;
87 references to InputType
Microsoft.CodeAnalysis.CSharp (87)
Binder\DecisionDagBuilder.cs (5)
287Debug.Assert(pattern.HasErrors || pattern.InputType.Equals(input.Type, TypeCompareKind.AllIgnoreOptions) || pattern.InputType.IsErrorType()); 522RoslynDebug.Assert(input.Type.IsErrorType() || recursive.HasErrors || recursive.InputType.IsErrorType() || input.Type.Equals(recursive.InputType, TypeCompareKind.AllIgnoreOptions)); 679if (bin.InputType.Equals(bin.NarrowedType))
Binder\DecisionDagBuilder_ListPatterns.cs (6)
15Debug.Assert(input.Type.IsErrorType() || list.HasErrors || list.InputType.IsErrorType() || 16input.Type.Equals(list.InputType, TypeCompareKind.AllIgnoreOptions) && 63var sliceEvaluation = new BoundDagSliceEvaluation(slicePattern.Syntax, slicePattern.InputType, lengthTemp, startIndex: startIndex, endIndex: index, 67var sliceTemp = new BoundDagTemp(slicePattern.Syntax, slicePattern.InputType, sliceEvaluation); 78var indexEvaluation = new BoundDagIndexerEvaluation(subpattern.Syntax, subpattern.InputType, lengthTemp, index++, 82var indexTemp = new BoundDagTemp(subpattern.Syntax, subpattern.InputType, indexEvaluation);
BoundTree\BoundBinaryPattern.cs (5)
13Debug.Assert(Left.InputType.Equals(InputType, TypeCompareKind.AllIgnoreOptions)); 17Debug.Assert(Right.InputType.Equals(InputType, TypeCompareKind.AllIgnoreOptions)); 23Debug.Assert(Right.InputType.Equals(Left.NarrowedType, TypeCompareKind.AllIgnoreOptions));
BoundTree\BoundConstantPattern.cs (1)
13Debug.Assert(NarrowedType.Equals(InputType, TypeCompareKind.AllIgnoreOptions) ||
BoundTree\BoundDeclarationPattern.cs (1)
14NarrowedType.Equals(InputType, TypeCompareKind.AllIgnoreOptions) :
BoundTree\BoundDiscardPattern.cs (1)
13Debug.Assert(NarrowedType.Equals(InputType, TypeCompareKind.AllIgnoreOptions));
BoundTree\BoundListPattern.cs (1)
17Debug.Assert(NarrowedType.Equals(InputType.StrippedType(), TypeCompareKind.AllIgnoreOptions));
BoundTree\BoundNegatedPattern.cs (3)
13Debug.Assert(NarrowedType.Equals(InputType, TypeCompareKind.AllIgnoreOptions)); 14Debug.Assert(Negated.InputType.Equals(InputType, TypeCompareKind.AllIgnoreOptions));
BoundTree\BoundRecursivePattern.cs (1)
15NarrowedType.Equals(InputType.StrippedType(), TypeCompareKind.AllIgnoreOptions) :
BoundTree\BoundRelationalPattern.cs (1)
13Debug.Assert(NarrowedType.Equals(InputType, TypeCompareKind.AllIgnoreOptions) ||
BoundTree\BoundSlicePattern.cs (1)
15Debug.Assert(NarrowedType.Equals(InputType, TypeCompareKind.AllIgnoreOptions));
BoundTree\BoundTreeRewriter.cs (1)
233left = binary.Update(binary.Disjunction, left, right, VisitType(binary.InputType), VisitType(binary.NarrowedType));
Compilation\CSharpSemanticModel.cs (2)
2026pattern.InputType, pattern.NarrowedType, nullability: default, convertedNullability: default, 2027Compilation.Conversions.ClassifyBuiltInConversion(pattern.InputType, pattern.NarrowedType, isChecked: false, ref discardedUseSiteInfo));
Generated\BoundNodes.xml.Generated.cs (44)
8043if (value != this.Value || constantValue != this.ConstantValue || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8083if (!TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8136if (declaredType != this.DeclaredType || isVar != this.IsVar || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8177if (declaredType != this.DeclaredType || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(deconstructMethod, this.DeconstructMethod) || deconstruction != this.Deconstruction || properties != this.Properties || isExplicitNotNullTest != this.IsExplicitNotNullTest || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8221if (subpatterns != this.Subpatterns || hasSlice != this.HasSlice || lengthAccess != this.LengthAccess || indexerAccess != this.IndexerAccess || receiverPlaceholder != this.ReceiverPlaceholder || argumentPlaceholder != this.ArgumentPlaceholder || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8260if (pattern != this.Pattern || indexerAccess != this.IndexerAccess || receiverPlaceholder != this.ReceiverPlaceholder || argumentPlaceholder != this.ArgumentPlaceholder || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8300if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(getLengthMethod, this.GetLengthMethod) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(getItemMethod, this.GetItemMethod) || subpatterns != this.Subpatterns || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8440if (declaredType != this.DeclaredType || isExplicitNotNullTest != this.IsExplicitNotNullTest || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8479if (disjunction != this.Disjunction || left != this.Left || right != this.Right || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8513if (negated != this.Negated || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8552if (relation != this.Relation || value != this.Value || constantValue != this.ConstantValue || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 12093TypeSymbol? inputType = this.VisitType(node.InputType); 12099TypeSymbol? inputType = this.VisitType(node.InputType); 12107TypeSymbol? inputType = this.VisitType(node.InputType); 12117TypeSymbol? inputType = this.VisitType(node.InputType); 12129TypeSymbol? inputType = this.VisitType(node.InputType); 12139TypeSymbol? inputType = this.VisitType(node.InputType); 12146TypeSymbol? inputType = this.VisitType(node.InputType); 12170TypeSymbol? inputType = this.VisitType(node.InputType); 12178TypeSymbol? inputType = this.VisitType(node.InputType); 12185TypeSymbol? inputType = this.VisitType(node.InputType); 12192TypeSymbol? inputType = this.VisitType(node.InputType); 14749TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14757TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14765TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14776TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14788TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14801TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14814TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14836TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14844TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14853TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14861TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 16948new TreeDumperNode("inputType", node.InputType, null), 16955new TreeDumperNode("inputType", node.InputType, null), 16966new TreeDumperNode("inputType", node.InputType, null), 16980new TreeDumperNode("inputType", node.InputType, null), 16995new TreeDumperNode("inputType", node.InputType, null), 17006new TreeDumperNode("inputType", node.InputType, null), 17016new TreeDumperNode("inputType", node.InputType, null), 17048new TreeDumperNode("inputType", node.InputType, null), 17058new TreeDumperNode("inputType", node.InputType, null), 17066new TreeDumperNode("inputType", node.InputType, null), 17076new TreeDumperNode("inputType", node.InputType, null),
Operations\CSharpOperationFactory.cs (14)
2520TypeSymbol inputType = boundConstantPattern.InputType; 2531TypeSymbol inputType = boundRelationalPattern.InputType; 2544ITypeSymbol inputType = boundDeclarationPattern.InputType.GetPublicSymbol(); 2555ITypeSymbol matchedType = (boundRecursivePattern.DeclaredType?.Type ?? boundRecursivePattern.InputType.StrippedType()).GetPublicSymbol(); 2568boundRecursivePattern.InputType.GetPublicSymbol(), 2582boundITuplePattern.InputType.StrippedType().GetPublicSymbol(), 2587boundITuplePattern.InputType.GetPublicSymbol(), 2598inputType: boundTypePattern.InputType.GetPublicSymbol(), 2611inputType: boundNode.InputType.GetPublicSymbol(), 2625inputType: boundNode.InputType.GetPublicSymbol(), 2636boundNegatedPattern.InputType.GetPublicSymbol(), 2676boundBinaryPattern.InputType.GetPublicSymbol(), 2759cp.InputType.IsValidV6SwitchGoverningType()) 2845inputType: boundNode.InputType.GetPublicSymbol(),