2 writes to InputType
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
7996
this.
InputType
= inputType;
8007
this.
InputType
= inputType;
72 references to InputType
Microsoft.CodeAnalysis.CSharp (72)
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\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)
8038
if (value != this.Value || constantValue != this.ConstantValue || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8074
if (!TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8123
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))
8279
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))
8415
if (declaredType != this.DeclaredType || isExplicitNotNullTest != this.IsExplicitNotNullTest || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8450
if (disjunction != this.Disjunction || left != this.Left || right != this.Right || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8480
if (negated != this.Negated || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8515
if (relation != this.Relation || value != this.Value || constantValue != this.ConstantValue || !TypeSymbol.Equals(inputType, this.
InputType
, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
12056
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12062
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12070
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12080
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12092
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12102
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12109
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12133
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12141
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12148
TypeSymbol? inputType = this.VisitType(node.
InputType
);
12155
TypeSymbol? inputType = this.VisitType(node.
InputType
);
14712
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14720
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14728
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14739
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14751
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14764
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14777
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14799
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14807
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14816
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
14824
TypeSymbol inputType = GetUpdatedSymbol(node, node.
InputType
);
16911
new TreeDumperNode("inputType", node.
InputType
, null),
16918
new TreeDumperNode("inputType", node.
InputType
, null),
16929
new TreeDumperNode("inputType", node.
InputType
, null),
16943
new TreeDumperNode("inputType", node.
InputType
, null),
16958
new TreeDumperNode("inputType", node.
InputType
, null),
16969
new TreeDumperNode("inputType", node.
InputType
, null),
16979
new TreeDumperNode("inputType", node.
InputType
, null),
17011
new TreeDumperNode("inputType", node.
InputType
, null),
17021
new TreeDumperNode("inputType", node.
InputType
, null),
17029
new TreeDumperNode("inputType", node.
InputType
, null),
17039
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(),