1 override of VisitType
Microsoft.CodeAnalysis.CSharp (1)
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
115
public sealed override TypeSymbol?
VisitType
(TypeSymbol? type)
219 references to VisitType
Microsoft.CodeAnalysis.CSharp (219)
BoundTree\BoundTreeRewriter.cs (6)
148
return
VisitType
(type);
158
return (FunctionTypeSymbol?)
VisitType
(symbol);
252
return node.Update(node.OperatorKind, VisitBinaryOperatorData(node), node.ResultKind, (BoundExpression)this.Visit(node.Left), (BoundExpression)this.Visit(node.Right), this.
VisitType
(node.Type));
281
var type = this.
VisitType
(binary.Type);
375
left = binary.Update(binary.Disjunction, left, right,
VisitType
(binary.InputType),
VisitType
(binary.NarrowedType));
CodeGen\Optimizer.cs (8)
1174
typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.
VisitType
(typeExpression.Type));
1525
var type = this.
VisitType
(binary.Type);
1741
var exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);
2100
var type = this.
VisitType
(binary.Type);
2144
TypeSymbol type = this.
VisitType
(node.Type);
2265
typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.
VisitType
(typeExpression.Type));
2279
TypeSymbol? type = this.
VisitType
(node.Type);
2330
type = this.
VisitType
(type);
Generated\BoundNodes.xml.Generated.cs (186)
10851
TypeSymbol? type = this.
VisitType
(node.Type);
10857
TypeSymbol? type = this.
VisitType
(node.Type);
10863
TypeSymbol? type = this.
VisitType
(node.Type);
10868
TypeSymbol? type = this.
VisitType
(node.Type);
10873
TypeSymbol? type = this.
VisitType
(node.Type);
10878
TypeSymbol? type = this.
VisitType
(node.Type);
10883
TypeSymbol? type = this.
VisitType
(node.Type);
10888
TypeSymbol? type = this.
VisitType
(node.Type);
10893
TypeSymbol? type = this.
VisitType
(node.Type);
10898
TypeSymbol? type = this.
VisitType
(node.Type);
10903
TypeSymbol? type = this.
VisitType
(node.Type);
10908
TypeSymbol? type = this.
VisitType
(node.Type);
10913
TypeSymbol? type = this.
VisitType
(node.Type);
10918
TypeSymbol? type = this.
VisitType
(node.Type);
10924
TypeSymbol? type = this.
VisitType
(node.Type);
10931
TypeSymbol? type = this.
VisitType
(node.Type);
10949
TypeSymbol? type = this.
VisitType
(node.Type);
10954
TypeSymbol? type = this.
VisitType
(node.Type);
10961
TypeSymbol? type = this.
VisitType
(node.Type);
10969
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
10970
TypeSymbol? type = this.
VisitType
(node.Type);
10982
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
10983
TypeSymbol? type = this.
VisitType
(node.Type);
10989
TypeSymbol? type = this.
VisitType
(node.Type);
10995
TypeSymbol? type = this.
VisitType
(node.Type);
11001
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11002
TypeSymbol? type = this.
VisitType
(node.Type);
11008
TypeSymbol? type = this.
VisitType
(node.Type);
11015
TypeSymbol? type = this.
VisitType
(node.Type);
11022
TypeSymbol? type = this.
VisitType
(node.Type);
11029
TypeSymbol? type = this.
VisitType
(node.Type);
11035
TypeSymbol? type = this.
VisitType
(node.Type);
11041
TypeSymbol? type = this.
VisitType
(node.Type);
11048
TypeSymbol? type = this.
VisitType
(node.Type);
11056
TypeSymbol? type = this.
VisitType
(node.Type);
11063
TypeSymbol? type = this.
VisitType
(node.Type);
11070
TypeSymbol? type = this.
VisitType
(node.Type);
11083
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11084
TypeSymbol? type = this.
VisitType
(node.Type);
11096
TypeSymbol? type = this.
VisitType
(node.Type);
11103
TypeSymbol? type = this.
VisitType
(node.Type);
11110
TypeSymbol? type = this.
VisitType
(node.Type);
11119
TypeSymbol? type = this.
VisitType
(node.Type);
11126
TypeSymbol? type = this.
VisitType
(node.Type);
11134
TypeSymbol? type = this.
VisitType
(node.Type);
11142
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11143
TypeSymbol? type = this.
VisitType
(node.Type);
11150
TypeSymbol? type = this.
VisitType
(node.Type);
11156
TypeSymbol? type = this.
VisitType
(node.Type);
11162
TypeSymbol? type = this.
VisitType
(node.Type);
11177
TypeSymbol? type = this.
VisitType
(node.Type);
11184
TypeSymbol? type = this.
VisitType
(node.Type);
11196
TypeSymbol? type = this.
VisitType
(node.Type);
11203
TypeSymbol? type = this.
VisitType
(node.Type);
11210
TypeSymbol? type = this.
VisitType
(node.Type);
11215
TypeSymbol? type = this.
VisitType
(node.Type);
11220
TypeSymbol? type = this.
VisitType
(node.Type);
11225
TypeSymbol? type = this.
VisitType
(node.Type);
11230
TypeSymbol? type = this.
VisitType
(node.Type);
11235
TypeSymbol? type = this.
VisitType
(node.Type);
11240
TypeSymbol? type = this.
VisitType
(node.Type);
11245
TypeSymbol? type = this.
VisitType
(node.Type);
11250
TypeSymbol? type = this.
VisitType
(node.Type);
11257
TypeSymbol? type = this.
VisitType
(node.Type);
11264
TypeSymbol? type = this.
VisitType
(node.Type);
11269
TypeSymbol? type = this.
VisitType
(node.Type);
11275
TypeSymbol? type = this.
VisitType
(node.Type);
11282
TypeSymbol? type = this.
VisitType
(node.Type);
11291
TypeSymbol? type = this.
VisitType
(node.Type);
11297
TypeSymbol? type = this.
VisitType
(node.Type);
11303
TypeSymbol? type = this.
VisitType
(node.Type);
11310
TypeSymbol? type = this.
VisitType
(node.Type);
11315
TypeSymbol? type = this.
VisitType
(node.Type);
11321
TypeSymbol? type = this.
VisitType
(node.Type);
11330
TypeSymbol? elementPointerType = this.
VisitType
(node.ElementPointerType);
11331
TypeSymbol? type = this.
VisitType
(node.Type);
11537
TypeSymbol? exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);
11542
TypeSymbol? type = this.
VisitType
(node.Type);
11547
TypeSymbol? type = this.
VisitType
(node.Type);
11552
TypeSymbol? type = this.
VisitType
(node.Type);
11557
TypeSymbol? type = this.
VisitType
(node.Type);
11562
TypeSymbol? type = this.
VisitType
(node.Type);
11567
TypeSymbol? type = this.
VisitType
(node.Type);
11573
TypeSymbol? type = this.
VisitType
(node.Type);
11579
TypeSymbol? type = this.
VisitType
(node.Type);
11586
TypeSymbol? type = this.
VisitType
(node.Type);
11592
TypeSymbol? type = this.
VisitType
(node.Type);
11616
TypeSymbol? type = this.
VisitType
(node.Type);
11645
TypeSymbol? type = this.
VisitType
(node.Type);
11654
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11655
TypeSymbol? type = this.
VisitType
(node.Type);
11691
TypeSymbol? type = this.
VisitType
(node.Type);
11697
TypeSymbol? type = this.
VisitType
(node.Type);
11729
TypeSymbol? type = this.
VisitType
(node.Type);
11757
TypeSymbol? indexerType = this.
VisitType
(node.IndexerType);
11767
TypeSymbol? sliceType = this.
VisitType
(node.SliceType);
11793
TypeSymbol? type = this.
VisitType
(node.Type);
11801
TypeSymbol? type = this.
VisitType
(node.Type);
11809
TypeSymbol? type = this.
VisitType
(node.Type);
11815
TypeSymbol? type = this.
VisitType
(node.Type);
11823
TypeSymbol? type = this.
VisitType
(node.Type);
11830
TypeSymbol? type = this.
VisitType
(node.Type);
11839
TypeSymbol? type = this.
VisitType
(node.Type);
11844
TypeSymbol? type = this.
VisitType
(node.Type);
11851
TypeSymbol? type = this.
VisitType
(node.Type);
11860
TypeSymbol? type = this.
VisitType
(node.Type);
11867
TypeSymbol? type = this.
VisitType
(node.Type);
11876
TypeSymbol? type = this.
VisitType
(node.Type);
11884
TypeSymbol? type = this.
VisitType
(node.Type);
11892
TypeSymbol? type = this.
VisitType
(node.Type);
11898
TypeSymbol? type = this.
VisitType
(node.Type);
11907
TypeSymbol? type = this.
VisitType
(node.Type);
11913
TypeSymbol? type = this.
VisitType
(node.Type);
11925
TypeSymbol? type = this.
VisitType
(node.Type);
11930
TypeSymbol? type = this.
VisitType
(node.Type);
11946
TypeSymbol? type = this.
VisitType
(node.Type);
11953
TypeSymbol? type = this.
VisitType
(node.Type);
11961
TypeSymbol? type = this.
VisitType
(node.Type);
11967
TypeSymbol? type = this.
VisitType
(node.Type);
11974
TypeSymbol? type = this.
VisitType
(node.Type);
11981
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
11982
TypeSymbol? type = this.
VisitType
(node.Type);
11987
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
11988
TypeSymbol? type = this.
VisitType
(node.Type);
11995
TypeSymbol? type = this.
VisitType
(node.Type);
12003
TypeSymbol? type = this.
VisitType
(node.Type);
12011
TypeSymbol? type = this.
VisitType
(node.Type);
12016
TypeSymbol? type = this.
VisitType
(node.Type);
12024
TypeSymbol? type = this.
VisitType
(node.Type);
12030
TypeSymbol? type = this.
VisitType
(node.Type);
12036
TypeSymbol? type = this.
VisitType
(node.Type);
12043
TypeSymbol? type = this.
VisitType
(node.Type);
12050
TypeSymbol? type = this.
VisitType
(node.Type);
12056
TypeSymbol? type = this.
VisitType
(node.Type);
12063
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12064
TypeSymbol? type = this.
VisitType
(node.Type);
12071
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12072
TypeSymbol? type = this.
VisitType
(node.Type);
12079
TypeSymbol? type = this.
VisitType
(node.Type);
12085
TypeSymbol? type = this.
VisitType
(node.Type);
12092
TypeSymbol? type = this.
VisitType
(node.Type);
12099
TypeSymbol? type = this.
VisitType
(node.Type);
12108
TypeSymbol? type = this.
VisitType
(node.Type);
12119
TypeSymbol? type = this.
VisitType
(node.Type);
12126
TypeSymbol? type = this.
VisitType
(node.Type);
12134
TypeSymbol? type = this.
VisitType
(node.Type);
12142
TypeSymbol? type = this.
VisitType
(node.Type);
12148
TypeSymbol? type = this.
VisitType
(node.Type);
12158
TypeSymbol? type = this.
VisitType
(node.Type);
12169
TypeSymbol? type = this.
VisitType
(node.Type);
12175
TypeSymbol? type = this.
VisitType
(node.Type);
12181
TypeSymbol? type = this.
VisitType
(node.Type);
12186
TypeSymbol? type = this.
VisitType
(node.Type);
12191
TypeSymbol? type = this.
VisitType
(node.Type);
12199
TypeSymbol? type = this.
VisitType
(node.Type);
12209
TypeSymbol? type = this.
VisitType
(node.Type);
12215
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12216
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12221
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12222
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12230
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12231
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12242
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12243
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12255
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12256
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12265
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12266
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12274
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12275
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12294
TypeSymbol? type = this.
VisitType
(node.Type);
12300
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12301
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12308
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12309
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12315
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12316
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12322
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12323
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12328
TypeSymbol? type = this.
VisitType
(node.Type);
12334
TypeSymbol? type = this.
VisitType
(node.Type);
12341
TypeSymbol? type = this.
VisitType
(node.Type);
12348
TypeSymbol? type = this.
VisitType
(node.Type);
12354
TypeSymbol? type = this.
VisitType
(node.Type);
12374
TypeSymbol? type = this.
VisitType
(node.Type);
12382
TypeSymbol? type = this.
VisitType
(node.Type);
Lowering\ExtensionMethodReferenceRewriter.cs (8)
87
rewriter.
VisitType
(node.Type));
196
TypeSymbol? type = this.
VisitType
(node.Type);
209
var type = rewriter.
VisitType
(node.Type);
229
TypeSymbol? constrainedToTypeOpt = rewriter.
VisitType
(node.ConstrainedToTypeOpt);
230
TypeSymbol? type = rewriter.
VisitType
(node.Type);
245
TypeSymbol? constrainedToType = rewriter.
VisitType
(node.ConstrainedToType);
276
TypeSymbol? constrainedToTypeOpt = rewriter.
VisitType
(node.ConstrainedToTypeOpt);
277
TypeSymbol? type = rewriter.
VisitType
(node.Type);
Lowering\LocalRewriter\LocalRewriter.cs (3)
654
var type = this.
VisitType
(node.Type);
684
var type = this.
VisitType
(node.Type);
831
var indexType =
VisitType
(node.Indices[0].Type);
Lowering\LocalRewriter\LocalRewriter_AsOperator.cs (1)
20
TypeSymbol rewrittenType =
VisitType
(node.Type);
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.cs (1)
123
TypeSymbol type = this.
VisitType
(node.Type);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
69
var rewrittenType =
VisitType
(node.Type);
Lowering\LocalRewriter\LocalRewriter_IsOperator.cs (1)
20
TypeSymbol rewrittenType =
VisitType
(node.Type);
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
17
TypeSymbol? rewrittenResultType =
VisitType
(node.Type);
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
226
var rewrittenType =
VisitType
(initializer.Type);
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
90
TypeSymbol? rewrittenExceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);
Lowering\SpillSequenceSpiller.cs (1)
724
TypeSymbol exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);