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);
2167
var type = this.
VisitType
(binary.Type);
2213
TypeSymbol type = this.
VisitType
(node.Type);
2334
typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.
VisitType
(typeExpression.Type));
2348
TypeSymbol? type = this.
VisitType
(node.Type);
2399
type = this.
VisitType
(type);
Generated\BoundNodes.xml.Generated.cs (191)
11132
TypeSymbol? type = this.
VisitType
(node.Type);
11138
TypeSymbol? type = this.
VisitType
(node.Type);
11144
TypeSymbol? type = this.
VisitType
(node.Type);
11149
TypeSymbol? type = this.
VisitType
(node.Type);
11154
TypeSymbol? type = this.
VisitType
(node.Type);
11159
TypeSymbol? type = this.
VisitType
(node.Type);
11164
TypeSymbol? type = this.
VisitType
(node.Type);
11169
TypeSymbol? type = this.
VisitType
(node.Type);
11175
TypeSymbol? type = this.
VisitType
(node.Type);
11180
TypeSymbol? type = this.
VisitType
(node.Type);
11185
TypeSymbol? type = this.
VisitType
(node.Type);
11190
TypeSymbol? type = this.
VisitType
(node.Type);
11195
TypeSymbol? type = this.
VisitType
(node.Type);
11200
TypeSymbol? type = this.
VisitType
(node.Type);
11205
TypeSymbol? type = this.
VisitType
(node.Type);
11211
TypeSymbol? type = this.
VisitType
(node.Type);
11218
TypeSymbol? type = this.
VisitType
(node.Type);
11236
TypeSymbol? type = this.
VisitType
(node.Type);
11242
TypeSymbol? type = this.
VisitType
(node.Type);
11249
TypeSymbol? type = this.
VisitType
(node.Type);
11257
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11258
TypeSymbol? type = this.
VisitType
(node.Type);
11270
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11271
TypeSymbol? type = this.
VisitType
(node.Type);
11277
TypeSymbol? type = this.
VisitType
(node.Type);
11283
TypeSymbol? type = this.
VisitType
(node.Type);
11289
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11290
TypeSymbol? type = this.
VisitType
(node.Type);
11296
TypeSymbol? type = this.
VisitType
(node.Type);
11303
TypeSymbol? type = this.
VisitType
(node.Type);
11310
TypeSymbol? type = this.
VisitType
(node.Type);
11317
TypeSymbol? type = this.
VisitType
(node.Type);
11323
TypeSymbol? type = this.
VisitType
(node.Type);
11329
TypeSymbol? type = this.
VisitType
(node.Type);
11336
TypeSymbol? type = this.
VisitType
(node.Type);
11344
TypeSymbol? type = this.
VisitType
(node.Type);
11351
TypeSymbol? type = this.
VisitType
(node.Type);
11358
TypeSymbol? type = this.
VisitType
(node.Type);
11371
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11372
TypeSymbol? type = this.
VisitType
(node.Type);
11384
TypeSymbol? type = this.
VisitType
(node.Type);
11391
TypeSymbol? type = this.
VisitType
(node.Type);
11398
TypeSymbol? type = this.
VisitType
(node.Type);
11407
TypeSymbol? type = this.
VisitType
(node.Type);
11414
TypeSymbol? type = this.
VisitType
(node.Type);
11422
TypeSymbol? type = this.
VisitType
(node.Type);
11430
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11431
TypeSymbol? type = this.
VisitType
(node.Type);
11438
TypeSymbol? type = this.
VisitType
(node.Type);
11444
TypeSymbol? type = this.
VisitType
(node.Type);
11450
TypeSymbol? type = this.
VisitType
(node.Type);
11467
TypeSymbol? type = this.
VisitType
(node.Type);
11474
TypeSymbol? type = this.
VisitType
(node.Type);
11487
TypeSymbol? type = this.
VisitType
(node.Type);
11494
TypeSymbol? type = this.
VisitType
(node.Type);
11501
TypeSymbol? type = this.
VisitType
(node.Type);
11506
TypeSymbol? type = this.
VisitType
(node.Type);
11511
TypeSymbol? type = this.
VisitType
(node.Type);
11516
TypeSymbol? type = this.
VisitType
(node.Type);
11521
TypeSymbol? type = this.
VisitType
(node.Type);
11526
TypeSymbol? type = this.
VisitType
(node.Type);
11531
TypeSymbol? type = this.
VisitType
(node.Type);
11536
TypeSymbol? type = this.
VisitType
(node.Type);
11541
TypeSymbol? type = this.
VisitType
(node.Type);
11548
TypeSymbol? type = this.
VisitType
(node.Type);
11555
TypeSymbol? type = this.
VisitType
(node.Type);
11560
TypeSymbol? type = this.
VisitType
(node.Type);
11566
TypeSymbol? type = this.
VisitType
(node.Type);
11573
TypeSymbol? type = this.
VisitType
(node.Type);
11582
TypeSymbol? type = this.
VisitType
(node.Type);
11588
TypeSymbol? type = this.
VisitType
(node.Type);
11594
TypeSymbol? type = this.
VisitType
(node.Type);
11601
TypeSymbol? type = this.
VisitType
(node.Type);
11606
TypeSymbol? type = this.
VisitType
(node.Type);
11612
TypeSymbol? type = this.
VisitType
(node.Type);
11621
TypeSymbol? elementPointerType = this.
VisitType
(node.ElementPointerType);
11622
TypeSymbol? type = this.
VisitType
(node.Type);
11829
TypeSymbol? exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);
11834
TypeSymbol? type = this.
VisitType
(node.Type);
11839
TypeSymbol? type = this.
VisitType
(node.Type);
11844
TypeSymbol? type = this.
VisitType
(node.Type);
11849
TypeSymbol? type = this.
VisitType
(node.Type);
11854
TypeSymbol? type = this.
VisitType
(node.Type);
11859
TypeSymbol? type = this.
VisitType
(node.Type);
11865
TypeSymbol? type = this.
VisitType
(node.Type);
11871
TypeSymbol? type = this.
VisitType
(node.Type);
11878
TypeSymbol? type = this.
VisitType
(node.Type);
11884
TypeSymbol? type = this.
VisitType
(node.Type);
11908
TypeSymbol? type = this.
VisitType
(node.Type);
11937
TypeSymbol? type = this.
VisitType
(node.Type);
11946
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11947
TypeSymbol? type = this.
VisitType
(node.Type);
11983
TypeSymbol? type = this.
VisitType
(node.Type);
11989
TypeSymbol? type = this.
VisitType
(node.Type);
12021
TypeSymbol? type = this.
VisitType
(node.Type);
12049
TypeSymbol? indexerType = this.
VisitType
(node.IndexerType);
12059
TypeSymbol? sliceType = this.
VisitType
(node.SliceType);
12090
TypeSymbol? type = this.
VisitType
(node.Type);
12098
TypeSymbol? type = this.
VisitType
(node.Type);
12106
TypeSymbol? type = this.
VisitType
(node.Type);
12112
TypeSymbol? type = this.
VisitType
(node.Type);
12120
TypeSymbol? type = this.
VisitType
(node.Type);
12127
TypeSymbol? type = this.
VisitType
(node.Type);
12136
TypeSymbol? type = this.
VisitType
(node.Type);
12141
TypeSymbol? type = this.
VisitType
(node.Type);
12148
TypeSymbol? type = this.
VisitType
(node.Type);
12157
TypeSymbol? type = this.
VisitType
(node.Type);
12164
TypeSymbol? type = this.
VisitType
(node.Type);
12173
TypeSymbol? type = this.
VisitType
(node.Type);
12181
TypeSymbol? type = this.
VisitType
(node.Type);
12189
TypeSymbol? type = this.
VisitType
(node.Type);
12195
TypeSymbol? type = this.
VisitType
(node.Type);
12204
TypeSymbol? type = this.
VisitType
(node.Type);
12211
TypeSymbol? type = this.
VisitType
(node.Type);
12227
TypeSymbol? type = this.
VisitType
(node.Type);
12232
TypeSymbol? type = this.
VisitType
(node.Type);
12248
TypeSymbol? type = this.
VisitType
(node.Type);
12255
TypeSymbol? type = this.
VisitType
(node.Type);
12263
TypeSymbol? type = this.
VisitType
(node.Type);
12269
TypeSymbol? type = this.
VisitType
(node.Type);
12276
TypeSymbol? type = this.
VisitType
(node.Type);
12283
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
12284
TypeSymbol? type = this.
VisitType
(node.Type);
12289
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
12290
TypeSymbol? type = this.
VisitType
(node.Type);
12297
TypeSymbol? type = this.
VisitType
(node.Type);
12305
TypeSymbol? type = this.
VisitType
(node.Type);
12313
TypeSymbol? type = this.
VisitType
(node.Type);
12318
TypeSymbol? type = this.
VisitType
(node.Type);
12326
TypeSymbol? type = this.
VisitType
(node.Type);
12332
TypeSymbol? type = this.
VisitType
(node.Type);
12338
TypeSymbol? type = this.
VisitType
(node.Type);
12345
TypeSymbol? type = this.
VisitType
(node.Type);
12352
TypeSymbol? type = this.
VisitType
(node.Type);
12358
TypeSymbol? type = this.
VisitType
(node.Type);
12365
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12366
TypeSymbol? type = this.
VisitType
(node.Type);
12373
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12374
TypeSymbol? type = this.
VisitType
(node.Type);
12381
TypeSymbol? type = this.
VisitType
(node.Type);
12387
TypeSymbol? type = this.
VisitType
(node.Type);
12394
TypeSymbol? type = this.
VisitType
(node.Type);
12401
TypeSymbol? type = this.
VisitType
(node.Type);
12410
TypeSymbol? type = this.
VisitType
(node.Type);
12421
TypeSymbol? type = this.
VisitType
(node.Type);
12428
TypeSymbol? type = this.
VisitType
(node.Type);
12436
TypeSymbol? type = this.
VisitType
(node.Type);
12444
TypeSymbol? type = this.
VisitType
(node.Type);
12450
TypeSymbol? type = this.
VisitType
(node.Type);
12460
TypeSymbol? type = this.
VisitType
(node.Type);
12471
TypeSymbol? type = this.
VisitType
(node.Type);
12477
TypeSymbol? type = this.
VisitType
(node.Type);
12483
TypeSymbol? type = this.
VisitType
(node.Type);
12488
TypeSymbol? type = this.
VisitType
(node.Type);
12493
TypeSymbol? type = this.
VisitType
(node.Type);
12501
TypeSymbol? type = this.
VisitType
(node.Type);
12511
TypeSymbol? type = this.
VisitType
(node.Type);
12517
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12518
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12526
TypeSymbol? unionMatchingInputType = this.
VisitType
(node.UnionMatchingInputType);
12527
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12528
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12533
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12534
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12542
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12543
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12554
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12555
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12567
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12568
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12577
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12578
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12586
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12587
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12606
TypeSymbol? type = this.
VisitType
(node.Type);
12612
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12613
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12620
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12621
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12627
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12628
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12634
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12635
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12640
TypeSymbol? type = this.
VisitType
(node.Type);
12646
TypeSymbol? type = this.
VisitType
(node.Type);
12653
TypeSymbol? type = this.
VisitType
(node.Type);
12660
TypeSymbol? type = this.
VisitType
(node.Type);
12666
TypeSymbol? type = this.
VisitType
(node.Type);
12686
TypeSymbol? type = this.
VisitType
(node.Type);
12692
TypeSymbol? type = this.
VisitType
(node.Type);
12700
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)
782
TypeSymbol? exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);