2 writes to InputType
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
7997
this.
InputType
= inputType;
8008
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)
233
left = binary.Update(binary.Disjunction, left, right, VisitType(binary.
InputType
), VisitType(binary.NarrowedType));
Compilation\CSharpSemanticModel.cs (2)
2026
pattern.
InputType
, pattern.NarrowedType, nullability: default, convertedNullability: default,
2027
Compilation.Conversions.ClassifyBuiltInConversion(pattern.
InputType
, pattern.NarrowedType, isChecked: false, ref discardedUseSiteInfo));
Generated\BoundNodes.xml.Generated.cs (44)
8043
if (value != this.Value || constantValue != this.ConstantValue || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8083
if (!TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8136
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))
8177
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))
8221
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))
8260
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))
8300
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))
8440
if (declaredType != this.DeclaredType || isExplicitNotNullTest != this.IsExplicitNotNullTest || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8479
if (disjunction != this.Disjunction || left != this.Left || right != this.Right || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8513
if (negated != this.Negated || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8552
if (relation != this.Relation || value != this.Value || constantValue != this.ConstantValue || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
12093
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12099
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12107
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12117
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12129
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12139
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12146
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12170
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12178
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12185
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12192
TypeSymbol? inputType = this.VisitType(node.
InputType
);
14749
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14757
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14765
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14776
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14788
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14801
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14814
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14836
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14844
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14853
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14861
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
16948
new TreeDumperNode("inputType", node.
InputType
, null),
16955
new TreeDumperNode("inputType", node.
InputType
, null),
16966
new TreeDumperNode("inputType", node.
InputType
, null),
16980
new TreeDumperNode("inputType", node.
InputType
, null),
16995
new TreeDumperNode("inputType", node.
InputType
, null),
17006
new TreeDumperNode("inputType", node.
InputType
, null),
17016
new TreeDumperNode("inputType", node.
InputType
, null),
17048
new TreeDumperNode("inputType", node.
InputType
, null),
17058
new TreeDumperNode("inputType", node.
InputType
, null),
17066
new TreeDumperNode("inputType", node.
InputType
, null),
17076
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(),