2 writes to InputType
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
7980
this.
InputType
= inputType;
7991
this.
InputType
= inputType;
87 references to InputType
Microsoft.CodeAnalysis.CSharp (87)
Binder\DecisionDagBuilder.cs (5)
287
Debug.Assert(pattern.HasErrors || pattern.
InputType
.Equals(input.Type, TypeCompareKind.AllIgnoreOptions) || pattern.
InputType
.IsErrorType());
522
RoslynDebug.Assert(input.Type.IsErrorType() || recursive.HasErrors || recursive.
InputType
.IsErrorType() || input.Type.Equals(recursive.
InputType
, TypeCompareKind.AllIgnoreOptions));
679
if (bin.
InputType
.Equals(bin.NarrowedType))
Binder\DecisionDagBuilder_ListPatterns.cs (6)
15
Debug.Assert(input.Type.IsErrorType() || list.HasErrors || list.
InputType
.IsErrorType() ||
16
input.Type.Equals(list.
InputType
, TypeCompareKind.AllIgnoreOptions) &&
63
var sliceEvaluation = new BoundDagSliceEvaluation(slicePattern.Syntax, slicePattern.
InputType
, lengthTemp, startIndex: startIndex, endIndex: index,
67
var sliceTemp = new BoundDagTemp(slicePattern.Syntax, slicePattern.
InputType
, sliceEvaluation);
78
var indexEvaluation = new BoundDagIndexerEvaluation(subpattern.Syntax, subpattern.
InputType
, lengthTemp, index++,
82
var indexTemp = new BoundDagTemp(subpattern.Syntax, subpattern.
InputType
, indexEvaluation);
BoundTree\BoundBinaryPattern.cs (5)
13
Debug.Assert(Left.
InputType
.Equals(
InputType
, TypeCompareKind.AllIgnoreOptions));
17
Debug.Assert(Right.
InputType
.Equals(
InputType
, TypeCompareKind.AllIgnoreOptions));
23
Debug.Assert(Right.
InputType
.Equals(Left.NarrowedType, TypeCompareKind.AllIgnoreOptions));
BoundTree\BoundConstantPattern.cs (1)
13
Debug.Assert(NarrowedType.Equals(
InputType
, TypeCompareKind.AllIgnoreOptions) ||
BoundTree\BoundDeclarationPattern.cs (1)
14
NarrowedType.Equals(
InputType
, TypeCompareKind.AllIgnoreOptions) :
BoundTree\BoundDiscardPattern.cs (1)
13
Debug.Assert(NarrowedType.Equals(
InputType
, TypeCompareKind.AllIgnoreOptions));
BoundTree\BoundListPattern.cs (1)
17
Debug.Assert(NarrowedType.Equals(
InputType
.StrippedType(), TypeCompareKind.AllIgnoreOptions));
BoundTree\BoundNegatedPattern.cs (3)
13
Debug.Assert(NarrowedType.Equals(
InputType
, TypeCompareKind.AllIgnoreOptions));
14
Debug.Assert(Negated.
InputType
.Equals(
InputType
, TypeCompareKind.AllIgnoreOptions));
BoundTree\BoundRecursivePattern.cs (1)
15
NarrowedType.Equals(
InputType
.StrippedType(), TypeCompareKind.AllIgnoreOptions) :
BoundTree\BoundRelationalPattern.cs (1)
13
Debug.Assert(NarrowedType.Equals(
InputType
, TypeCompareKind.AllIgnoreOptions) ||
BoundTree\BoundSlicePattern.cs (1)
15
Debug.Assert(NarrowedType.Equals(
InputType
, TypeCompareKind.AllIgnoreOptions));
BoundTree\BoundTreeRewriter.cs (1)
375
left = binary.Update(binary.Disjunction, left, right, VisitType(binary.
InputType
), VisitType(binary.NarrowedType));
Compilation\CSharpSemanticModel.cs (2)
2036
pattern.
InputType
, pattern.NarrowedType, nullability: default, convertedNullability: default,
2037
Compilation.Conversions.ClassifyBuiltInConversion(pattern.
InputType
, pattern.NarrowedType, isChecked: false, ref discardedUseSiteInfo));
Generated\BoundNodes.xml.Generated.cs (44)
8026
if (value != this.Value || constantValue != this.ConstantValue || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8066
if (!TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8119
if (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))
8160
if (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))
8204
if (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))
8243
if (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))
8283
if (!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))
8423
if (declaredType != this.DeclaredType || isExplicitNotNullTest != this.IsExplicitNotNullTest || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8462
if (disjunction != this.Disjunction || left != this.Left || right != this.Right || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8496
if (negated != this.Negated || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8535
if (relation != this.Relation || value != this.Value || constantValue != this.ConstantValue || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
12211
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12217
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12226
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12238
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12251
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12261
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12270
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12296
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12304
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12311
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12318
TypeSymbol? inputType = this.VisitType(node.
InputType
);
14879
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14887
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14895
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14906
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14918
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14931
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14944
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14966
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14974
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14983
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14991
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
17079
new TreeDumperNode("inputType", node.
InputType
, null),
17086
new TreeDumperNode("inputType", node.
InputType
, null),
17097
new TreeDumperNode("inputType", node.
InputType
, null),
17111
new TreeDumperNode("inputType", node.
InputType
, null),
17126
new TreeDumperNode("inputType", node.
InputType
, null),
17137
new TreeDumperNode("inputType", node.
InputType
, null),
17147
new TreeDumperNode("inputType", node.
InputType
, null),
17179
new TreeDumperNode("inputType", node.
InputType
, null),
17189
new TreeDumperNode("inputType", node.
InputType
, null),
17197
new TreeDumperNode("inputType", node.
InputType
, null),
17207
new TreeDumperNode("inputType", node.
InputType
, null),
Operations\CSharpOperationFactory.cs (14)
2520
TypeSymbol inputType = boundConstantPattern.
InputType
;
2531
TypeSymbol inputType = boundRelationalPattern.
InputType
;
2544
ITypeSymbol inputType = boundDeclarationPattern.
InputType
.GetPublicSymbol();
2555
ITypeSymbol matchedType = (boundRecursivePattern.DeclaredType?.Type ?? boundRecursivePattern.
InputType
.StrippedType()).GetPublicSymbol();
2568
boundRecursivePattern.
InputType
.GetPublicSymbol(),
2582
boundITuplePattern.
InputType
.StrippedType().GetPublicSymbol(),
2587
boundITuplePattern.
InputType
.GetPublicSymbol(),
2598
inputType: boundTypePattern.
InputType
.GetPublicSymbol(),
2611
inputType: boundNode.
InputType
.GetPublicSymbol(),
2625
inputType: boundNode.
InputType
.GetPublicSymbol(),
2636
boundNegatedPattern.
InputType
.GetPublicSymbol(),
2676
boundBinaryPattern.
InputType
.GetPublicSymbol(),
2759
cp.
InputType
.IsValidV6SwitchGoverningType())
2845
inputType: boundNode.
InputType
.GetPublicSymbol(),