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