2 writes to InputType
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
7999
this.
InputType
= inputType;
8010
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)
2034
pattern.
InputType
, pattern.NarrowedType, nullability: default, convertedNullability: default,
2035
Compilation.Conversions.ClassifyBuiltInConversion(pattern.
InputType
, pattern.NarrowedType, isChecked: false, ref discardedUseSiteInfo));
Generated\BoundNodes.xml.Generated.cs (44)
8045
if (value != this.Value || constantValue != this.ConstantValue || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8085
if (!TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8138
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))
8179
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))
8223
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))
8262
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))
8302
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))
8442
if (declaredType != this.DeclaredType || isExplicitNotNullTest != this.IsExplicitNotNullTest || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8481
if (disjunction != this.Disjunction || left != this.Left || right != this.Right || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8515
if (negated != this.Negated || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8554
if (relation != this.Relation || value != this.Value || constantValue != this.ConstantValue || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
12230
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12236
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12245
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12257
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12270
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12280
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12289
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12315
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12323
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12330
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12337
TypeSymbol? inputType = this.VisitType(node.
InputType
);
14898
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14906
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14914
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14925
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14937
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14950
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14963
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14985
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14993
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
15002
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
15010
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
17098
new TreeDumperNode("inputType", node.
InputType
, null),
17105
new TreeDumperNode("inputType", node.
InputType
, null),
17116
new TreeDumperNode("inputType", node.
InputType
, null),
17130
new TreeDumperNode("inputType", node.
InputType
, null),
17145
new TreeDumperNode("inputType", node.
InputType
, null),
17156
new TreeDumperNode("inputType", node.
InputType
, null),
17166
new TreeDumperNode("inputType", node.
InputType
, null),
17198
new TreeDumperNode("inputType", node.
InputType
, null),
17208
new TreeDumperNode("inputType", node.
InputType
, null),
17216
new TreeDumperNode("inputType", node.
InputType
, null),
17226
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(),