2 writes to InputType
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
7678this.InputType = inputType; 7689this.InputType = inputType;
71 references to InputType
Microsoft.CodeAnalysis.CSharp (71)
Binder\DecisionDagBuilder.cs (5)
284Debug.Assert(pattern.HasErrors || pattern.InputType.Equals(input.Type, TypeCompareKind.AllIgnoreOptions) || pattern.InputType.IsErrorType()); 519RoslynDebug.Assert(input.Type.IsErrorType() || recursive.HasErrors || recursive.InputType.IsErrorType() || input.Type.Equals(recursive.InputType, TypeCompareKind.AllIgnoreOptions)); 651if (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);
Compilation\CSharpSemanticModel.cs (2)
2047pattern.InputType, pattern.NarrowedType, nullability: default, convertedNullability: default, 2048Compilation.Conversions.ClassifyBuiltInConversion(pattern.InputType, pattern.NarrowedType, isChecked: false, ref discardedUseSiteInfo));
Generated\BoundNodes.xml.Generated.cs (44)
7720if (value != this.Value || constantValue != this.ConstantValue || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 7756if (!TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 7805if (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)) 7842if (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)) 7886if (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)) 7925if (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)) 7961if (!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)) 8097if (declaredType != this.DeclaredType || isExplicitNotNullTest != this.IsExplicitNotNullTest || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8132if (disjunction != this.Disjunction || left != this.Left || right != this.Right || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8162if (negated != this.Negated || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8197if (relation != this.Relation || value != this.Value || constantValue != this.ConstantValue || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 11622TypeSymbol? inputType = this.VisitType(node.InputType); 11628TypeSymbol? inputType = this.VisitType(node.InputType); 11636TypeSymbol? inputType = this.VisitType(node.InputType); 11646TypeSymbol? inputType = this.VisitType(node.InputType); 11658TypeSymbol? inputType = this.VisitType(node.InputType); 11668TypeSymbol? inputType = this.VisitType(node.InputType); 11675TypeSymbol? inputType = this.VisitType(node.InputType); 11699TypeSymbol? inputType = this.VisitType(node.InputType); 11707TypeSymbol? inputType = this.VisitType(node.InputType); 11714TypeSymbol? inputType = this.VisitType(node.InputType); 11721TypeSymbol? inputType = this.VisitType(node.InputType); 14175TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14183TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14191TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14202TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14214TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14227TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14240TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14262TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14270TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14279TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 14287TypeSymbol inputType = GetUpdatedSymbol(node, node.InputType); 16291new TreeDumperNode("inputType", node.InputType, null), 16298new TreeDumperNode("inputType", node.InputType, null), 16309new TreeDumperNode("inputType", node.InputType, null), 16323new TreeDumperNode("inputType", node.InputType, null), 16338new TreeDumperNode("inputType", node.InputType, null), 16349new TreeDumperNode("inputType", node.InputType, null), 16359new TreeDumperNode("inputType", node.InputType, null), 16391new TreeDumperNode("inputType", node.InputType, null), 16401new TreeDumperNode("inputType", node.InputType, null), 16409new TreeDumperNode("inputType", node.InputType, null), 16419new TreeDumperNode("inputType", node.InputType, null),
Operations\CSharpOperationFactory.cs (14)
2403TypeSymbol inputType = boundConstantPattern.InputType; 2414TypeSymbol inputType = boundRelationalPattern.InputType; 2427ITypeSymbol inputType = boundDeclarationPattern.InputType.GetPublicSymbol(); 2438ITypeSymbol matchedType = (boundRecursivePattern.DeclaredType?.Type ?? boundRecursivePattern.InputType.StrippedType()).GetPublicSymbol(); 2451boundRecursivePattern.InputType.GetPublicSymbol(), 2465boundITuplePattern.InputType.StrippedType().GetPublicSymbol(), 2470boundITuplePattern.InputType.GetPublicSymbol(), 2481inputType: boundTypePattern.InputType.GetPublicSymbol(), 2494inputType: boundNode.InputType.GetPublicSymbol(), 2508inputType: boundNode.InputType.GetPublicSymbol(), 2519boundNegatedPattern.InputType.GetPublicSymbol(), 2532boundBinaryPattern.InputType.GetPublicSymbol(), 2614cp.InputType.IsValidV6SwitchGoverningType()) 2700inputType: boundNode.InputType.GetPublicSymbol(),