1 override of VisitType
Microsoft.CodeAnalysis.CSharp (1)
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
115
public sealed override TypeSymbol?
VisitType
(TypeSymbol? type)
224 references to VisitType
Microsoft.CodeAnalysis.CSharp (224)
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)
1186
typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.
VisitType
(typeExpression.Type));
1537
var type = this.
VisitType
(binary.Type);
1755
var exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);
2161
var type = this.
VisitType
(binary.Type);
2206
TypeSymbol type = this.
VisitType
(node.Type);
2327
typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.
VisitType
(typeExpression.Type));
2341
TypeSymbol? type = this.
VisitType
(node.Type);
2392
type = this.
VisitType
(type);
Generated\BoundNodes.xml.Generated.cs (191)
11135
TypeSymbol? type = this.
VisitType
(node.Type);
11141
TypeSymbol? type = this.
VisitType
(node.Type);
11147
TypeSymbol? type = this.
VisitType
(node.Type);
11152
TypeSymbol? type = this.
VisitType
(node.Type);
11157
TypeSymbol? type = this.
VisitType
(node.Type);
11162
TypeSymbol? type = this.
VisitType
(node.Type);
11167
TypeSymbol? type = this.
VisitType
(node.Type);
11172
TypeSymbol? type = this.
VisitType
(node.Type);
11178
TypeSymbol? type = this.
VisitType
(node.Type);
11183
TypeSymbol? type = this.
VisitType
(node.Type);
11188
TypeSymbol? type = this.
VisitType
(node.Type);
11193
TypeSymbol? type = this.
VisitType
(node.Type);
11198
TypeSymbol? type = this.
VisitType
(node.Type);
11203
TypeSymbol? type = this.
VisitType
(node.Type);
11208
TypeSymbol? type = this.
VisitType
(node.Type);
11214
TypeSymbol? type = this.
VisitType
(node.Type);
11221
TypeSymbol? type = this.
VisitType
(node.Type);
11239
TypeSymbol? type = this.
VisitType
(node.Type);
11245
TypeSymbol? type = this.
VisitType
(node.Type);
11252
TypeSymbol? type = this.
VisitType
(node.Type);
11260
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11261
TypeSymbol? type = this.
VisitType
(node.Type);
11273
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11274
TypeSymbol? type = this.
VisitType
(node.Type);
11280
TypeSymbol? type = this.
VisitType
(node.Type);
11286
TypeSymbol? type = this.
VisitType
(node.Type);
11292
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11293
TypeSymbol? type = this.
VisitType
(node.Type);
11299
TypeSymbol? type = this.
VisitType
(node.Type);
11306
TypeSymbol? type = this.
VisitType
(node.Type);
11313
TypeSymbol? type = this.
VisitType
(node.Type);
11320
TypeSymbol? type = this.
VisitType
(node.Type);
11326
TypeSymbol? type = this.
VisitType
(node.Type);
11332
TypeSymbol? type = this.
VisitType
(node.Type);
11339
TypeSymbol? type = this.
VisitType
(node.Type);
11347
TypeSymbol? type = this.
VisitType
(node.Type);
11354
TypeSymbol? type = this.
VisitType
(node.Type);
11361
TypeSymbol? type = this.
VisitType
(node.Type);
11374
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11375
TypeSymbol? type = this.
VisitType
(node.Type);
11387
TypeSymbol? type = this.
VisitType
(node.Type);
11394
TypeSymbol? type = this.
VisitType
(node.Type);
11401
TypeSymbol? type = this.
VisitType
(node.Type);
11410
TypeSymbol? type = this.
VisitType
(node.Type);
11417
TypeSymbol? type = this.
VisitType
(node.Type);
11425
TypeSymbol? type = this.
VisitType
(node.Type);
11433
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11434
TypeSymbol? type = this.
VisitType
(node.Type);
11441
TypeSymbol? type = this.
VisitType
(node.Type);
11447
TypeSymbol? type = this.
VisitType
(node.Type);
11453
TypeSymbol? type = this.
VisitType
(node.Type);
11470
TypeSymbol? type = this.
VisitType
(node.Type);
11477
TypeSymbol? type = this.
VisitType
(node.Type);
11490
TypeSymbol? type = this.
VisitType
(node.Type);
11497
TypeSymbol? type = this.
VisitType
(node.Type);
11504
TypeSymbol? type = this.
VisitType
(node.Type);
11509
TypeSymbol? type = this.
VisitType
(node.Type);
11514
TypeSymbol? type = this.
VisitType
(node.Type);
11519
TypeSymbol? type = this.
VisitType
(node.Type);
11524
TypeSymbol? type = this.
VisitType
(node.Type);
11529
TypeSymbol? type = this.
VisitType
(node.Type);
11534
TypeSymbol? type = this.
VisitType
(node.Type);
11539
TypeSymbol? type = this.
VisitType
(node.Type);
11544
TypeSymbol? type = this.
VisitType
(node.Type);
11551
TypeSymbol? type = this.
VisitType
(node.Type);
11558
TypeSymbol? type = this.
VisitType
(node.Type);
11563
TypeSymbol? type = this.
VisitType
(node.Type);
11569
TypeSymbol? type = this.
VisitType
(node.Type);
11576
TypeSymbol? type = this.
VisitType
(node.Type);
11585
TypeSymbol? type = this.
VisitType
(node.Type);
11591
TypeSymbol? type = this.
VisitType
(node.Type);
11597
TypeSymbol? type = this.
VisitType
(node.Type);
11604
TypeSymbol? type = this.
VisitType
(node.Type);
11609
TypeSymbol? type = this.
VisitType
(node.Type);
11615
TypeSymbol? type = this.
VisitType
(node.Type);
11624
TypeSymbol? elementPointerType = this.
VisitType
(node.ElementPointerType);
11625
TypeSymbol? type = this.
VisitType
(node.Type);
11832
TypeSymbol? exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);
11837
TypeSymbol? type = this.
VisitType
(node.Type);
11842
TypeSymbol? type = this.
VisitType
(node.Type);
11847
TypeSymbol? type = this.
VisitType
(node.Type);
11852
TypeSymbol? type = this.
VisitType
(node.Type);
11857
TypeSymbol? type = this.
VisitType
(node.Type);
11862
TypeSymbol? type = this.
VisitType
(node.Type);
11868
TypeSymbol? type = this.
VisitType
(node.Type);
11874
TypeSymbol? type = this.
VisitType
(node.Type);
11881
TypeSymbol? type = this.
VisitType
(node.Type);
11887
TypeSymbol? type = this.
VisitType
(node.Type);
11911
TypeSymbol? type = this.
VisitType
(node.Type);
11940
TypeSymbol? type = this.
VisitType
(node.Type);
11949
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11950
TypeSymbol? type = this.
VisitType
(node.Type);
11986
TypeSymbol? type = this.
VisitType
(node.Type);
11992
TypeSymbol? type = this.
VisitType
(node.Type);
12024
TypeSymbol? type = this.
VisitType
(node.Type);
12052
TypeSymbol? indexerType = this.
VisitType
(node.IndexerType);
12062
TypeSymbol? sliceType = this.
VisitType
(node.SliceType);
12093
TypeSymbol? type = this.
VisitType
(node.Type);
12101
TypeSymbol? type = this.
VisitType
(node.Type);
12109
TypeSymbol? type = this.
VisitType
(node.Type);
12115
TypeSymbol? type = this.
VisitType
(node.Type);
12123
TypeSymbol? type = this.
VisitType
(node.Type);
12130
TypeSymbol? type = this.
VisitType
(node.Type);
12139
TypeSymbol? type = this.
VisitType
(node.Type);
12144
TypeSymbol? type = this.
VisitType
(node.Type);
12151
TypeSymbol? type = this.
VisitType
(node.Type);
12160
TypeSymbol? type = this.
VisitType
(node.Type);
12167
TypeSymbol? type = this.
VisitType
(node.Type);
12176
TypeSymbol? type = this.
VisitType
(node.Type);
12184
TypeSymbol? type = this.
VisitType
(node.Type);
12192
TypeSymbol? type = this.
VisitType
(node.Type);
12198
TypeSymbol? type = this.
VisitType
(node.Type);
12207
TypeSymbol? type = this.
VisitType
(node.Type);
12214
TypeSymbol? type = this.
VisitType
(node.Type);
12230
TypeSymbol? type = this.
VisitType
(node.Type);
12235
TypeSymbol? type = this.
VisitType
(node.Type);
12251
TypeSymbol? type = this.
VisitType
(node.Type);
12258
TypeSymbol? type = this.
VisitType
(node.Type);
12266
TypeSymbol? type = this.
VisitType
(node.Type);
12272
TypeSymbol? type = this.
VisitType
(node.Type);
12279
TypeSymbol? type = this.
VisitType
(node.Type);
12286
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
12287
TypeSymbol? type = this.
VisitType
(node.Type);
12292
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
12293
TypeSymbol? type = this.
VisitType
(node.Type);
12300
TypeSymbol? type = this.
VisitType
(node.Type);
12308
TypeSymbol? type = this.
VisitType
(node.Type);
12316
TypeSymbol? type = this.
VisitType
(node.Type);
12321
TypeSymbol? type = this.
VisitType
(node.Type);
12329
TypeSymbol? type = this.
VisitType
(node.Type);
12335
TypeSymbol? type = this.
VisitType
(node.Type);
12341
TypeSymbol? type = this.
VisitType
(node.Type);
12348
TypeSymbol? type = this.
VisitType
(node.Type);
12355
TypeSymbol? type = this.
VisitType
(node.Type);
12361
TypeSymbol? type = this.
VisitType
(node.Type);
12368
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12369
TypeSymbol? type = this.
VisitType
(node.Type);
12376
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12377
TypeSymbol? type = this.
VisitType
(node.Type);
12384
TypeSymbol? type = this.
VisitType
(node.Type);
12390
TypeSymbol? type = this.
VisitType
(node.Type);
12397
TypeSymbol? type = this.
VisitType
(node.Type);
12404
TypeSymbol? type = this.
VisitType
(node.Type);
12413
TypeSymbol? type = this.
VisitType
(node.Type);
12424
TypeSymbol? type = this.
VisitType
(node.Type);
12431
TypeSymbol? type = this.
VisitType
(node.Type);
12439
TypeSymbol? type = this.
VisitType
(node.Type);
12447
TypeSymbol? type = this.
VisitType
(node.Type);
12453
TypeSymbol? type = this.
VisitType
(node.Type);
12463
TypeSymbol? type = this.
VisitType
(node.Type);
12474
TypeSymbol? type = this.
VisitType
(node.Type);
12480
TypeSymbol? type = this.
VisitType
(node.Type);
12486
TypeSymbol? type = this.
VisitType
(node.Type);
12491
TypeSymbol? type = this.
VisitType
(node.Type);
12496
TypeSymbol? type = this.
VisitType
(node.Type);
12504
TypeSymbol? type = this.
VisitType
(node.Type);
12514
TypeSymbol? type = this.
VisitType
(node.Type);
12520
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12521
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12531
TypeSymbol? unionMatchingInputType = this.
VisitType
(node.UnionMatchingInputType);
12532
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12533
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12538
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12539
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12547
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12548
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12559
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12560
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12572
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12573
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12582
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12583
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12591
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12592
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12611
TypeSymbol? type = this.
VisitType
(node.Type);
12617
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12618
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12625
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12626
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12632
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12633
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12639
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12640
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12645
TypeSymbol? type = this.
VisitType
(node.Type);
12651
TypeSymbol? type = this.
VisitType
(node.Type);
12658
TypeSymbol? type = this.
VisitType
(node.Type);
12665
TypeSymbol? type = this.
VisitType
(node.Type);
12671
TypeSymbol? type = this.
VisitType
(node.Type);
12691
TypeSymbol? type = this.
VisitType
(node.Type);
12697
TypeSymbol? type = this.
VisitType
(node.Type);
12705
TypeSymbol? type = this.
VisitType
(node.Type);
Lowering\ExtensionMethodReferenceRewriter.cs (8)
87
rewriter.
VisitType
(node.Type));
203
TypeSymbol? type = rewriter.
VisitType
(node.Type);
216
var type = rewriter.
VisitType
(node.Type);
236
TypeSymbol? constrainedToTypeOpt = rewriter.
VisitType
(node.ConstrainedToTypeOpt);
237
TypeSymbol? type = rewriter.
VisitType
(node.Type);
254
TypeSymbol? constrainedToType = rewriter.
VisitType
(node.ConstrainedToType);
285
TypeSymbol? constrainedToTypeOpt = rewriter.
VisitType
(node.ConstrainedToTypeOpt);
286
TypeSymbol? type = rewriter.
VisitType
(node.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\LocalRewriter\LocalRewriter.cs (3)
664
var type = this.
VisitType
(node.Type);
694
var type = this.
VisitType
(node.Type);
841
var indexType =
VisitType
(node.Indices[0].Type);
Lowering\SpillSequenceSpiller.cs (1)
735
TypeSymbol? exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);