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)
11129
TypeSymbol? type = this.
VisitType
(node.Type);
11135
TypeSymbol? type = this.
VisitType
(node.Type);
11141
TypeSymbol? type = this.
VisitType
(node.Type);
11146
TypeSymbol? type = this.
VisitType
(node.Type);
11151
TypeSymbol? type = this.
VisitType
(node.Type);
11156
TypeSymbol? type = this.
VisitType
(node.Type);
11161
TypeSymbol? type = this.
VisitType
(node.Type);
11166
TypeSymbol? type = this.
VisitType
(node.Type);
11172
TypeSymbol? type = this.
VisitType
(node.Type);
11177
TypeSymbol? type = this.
VisitType
(node.Type);
11182
TypeSymbol? type = this.
VisitType
(node.Type);
11187
TypeSymbol? type = this.
VisitType
(node.Type);
11192
TypeSymbol? type = this.
VisitType
(node.Type);
11197
TypeSymbol? type = this.
VisitType
(node.Type);
11202
TypeSymbol? type = this.
VisitType
(node.Type);
11208
TypeSymbol? type = this.
VisitType
(node.Type);
11215
TypeSymbol? type = this.
VisitType
(node.Type);
11233
TypeSymbol? type = this.
VisitType
(node.Type);
11239
TypeSymbol? type = this.
VisitType
(node.Type);
11246
TypeSymbol? type = this.
VisitType
(node.Type);
11254
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11255
TypeSymbol? type = this.
VisitType
(node.Type);
11267
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11268
TypeSymbol? type = this.
VisitType
(node.Type);
11274
TypeSymbol? type = this.
VisitType
(node.Type);
11280
TypeSymbol? type = this.
VisitType
(node.Type);
11286
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11287
TypeSymbol? type = this.
VisitType
(node.Type);
11293
TypeSymbol? type = this.
VisitType
(node.Type);
11300
TypeSymbol? type = this.
VisitType
(node.Type);
11307
TypeSymbol? type = this.
VisitType
(node.Type);
11314
TypeSymbol? type = this.
VisitType
(node.Type);
11320
TypeSymbol? type = this.
VisitType
(node.Type);
11326
TypeSymbol? type = this.
VisitType
(node.Type);
11333
TypeSymbol? type = this.
VisitType
(node.Type);
11341
TypeSymbol? type = this.
VisitType
(node.Type);
11348
TypeSymbol? type = this.
VisitType
(node.Type);
11355
TypeSymbol? type = this.
VisitType
(node.Type);
11368
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11369
TypeSymbol? type = this.
VisitType
(node.Type);
11381
TypeSymbol? type = this.
VisitType
(node.Type);
11388
TypeSymbol? type = this.
VisitType
(node.Type);
11395
TypeSymbol? type = this.
VisitType
(node.Type);
11404
TypeSymbol? type = this.
VisitType
(node.Type);
11411
TypeSymbol? type = this.
VisitType
(node.Type);
11419
TypeSymbol? type = this.
VisitType
(node.Type);
11427
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11428
TypeSymbol? type = this.
VisitType
(node.Type);
11435
TypeSymbol? type = this.
VisitType
(node.Type);
11441
TypeSymbol? type = this.
VisitType
(node.Type);
11447
TypeSymbol? type = this.
VisitType
(node.Type);
11464
TypeSymbol? type = this.
VisitType
(node.Type);
11471
TypeSymbol? type = this.
VisitType
(node.Type);
11484
TypeSymbol? type = this.
VisitType
(node.Type);
11491
TypeSymbol? type = this.
VisitType
(node.Type);
11498
TypeSymbol? type = this.
VisitType
(node.Type);
11503
TypeSymbol? type = this.
VisitType
(node.Type);
11508
TypeSymbol? type = this.
VisitType
(node.Type);
11513
TypeSymbol? type = this.
VisitType
(node.Type);
11518
TypeSymbol? type = this.
VisitType
(node.Type);
11523
TypeSymbol? type = this.
VisitType
(node.Type);
11528
TypeSymbol? type = this.
VisitType
(node.Type);
11533
TypeSymbol? type = this.
VisitType
(node.Type);
11538
TypeSymbol? type = this.
VisitType
(node.Type);
11545
TypeSymbol? type = this.
VisitType
(node.Type);
11552
TypeSymbol? type = this.
VisitType
(node.Type);
11557
TypeSymbol? type = this.
VisitType
(node.Type);
11563
TypeSymbol? type = this.
VisitType
(node.Type);
11570
TypeSymbol? type = this.
VisitType
(node.Type);
11579
TypeSymbol? type = this.
VisitType
(node.Type);
11585
TypeSymbol? type = this.
VisitType
(node.Type);
11591
TypeSymbol? type = this.
VisitType
(node.Type);
11598
TypeSymbol? type = this.
VisitType
(node.Type);
11603
TypeSymbol? type = this.
VisitType
(node.Type);
11609
TypeSymbol? type = this.
VisitType
(node.Type);
11618
TypeSymbol? elementPointerType = this.
VisitType
(node.ElementPointerType);
11619
TypeSymbol? type = this.
VisitType
(node.Type);
11826
TypeSymbol? exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);
11831
TypeSymbol? type = this.
VisitType
(node.Type);
11836
TypeSymbol? type = this.
VisitType
(node.Type);
11841
TypeSymbol? type = this.
VisitType
(node.Type);
11846
TypeSymbol? type = this.
VisitType
(node.Type);
11851
TypeSymbol? type = this.
VisitType
(node.Type);
11856
TypeSymbol? type = this.
VisitType
(node.Type);
11862
TypeSymbol? type = this.
VisitType
(node.Type);
11868
TypeSymbol? type = this.
VisitType
(node.Type);
11875
TypeSymbol? type = this.
VisitType
(node.Type);
11881
TypeSymbol? type = this.
VisitType
(node.Type);
11905
TypeSymbol? type = this.
VisitType
(node.Type);
11934
TypeSymbol? type = this.
VisitType
(node.Type);
11943
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11944
TypeSymbol? type = this.
VisitType
(node.Type);
11980
TypeSymbol? type = this.
VisitType
(node.Type);
11986
TypeSymbol? type = this.
VisitType
(node.Type);
12018
TypeSymbol? type = this.
VisitType
(node.Type);
12046
TypeSymbol? indexerType = this.
VisitType
(node.IndexerType);
12056
TypeSymbol? sliceType = this.
VisitType
(node.SliceType);
12087
TypeSymbol? type = this.
VisitType
(node.Type);
12095
TypeSymbol? type = this.
VisitType
(node.Type);
12103
TypeSymbol? type = this.
VisitType
(node.Type);
12109
TypeSymbol? type = this.
VisitType
(node.Type);
12117
TypeSymbol? type = this.
VisitType
(node.Type);
12124
TypeSymbol? type = this.
VisitType
(node.Type);
12133
TypeSymbol? type = this.
VisitType
(node.Type);
12138
TypeSymbol? type = this.
VisitType
(node.Type);
12145
TypeSymbol? type = this.
VisitType
(node.Type);
12154
TypeSymbol? type = this.
VisitType
(node.Type);
12161
TypeSymbol? type = this.
VisitType
(node.Type);
12170
TypeSymbol? type = this.
VisitType
(node.Type);
12178
TypeSymbol? type = this.
VisitType
(node.Type);
12186
TypeSymbol? type = this.
VisitType
(node.Type);
12192
TypeSymbol? type = this.
VisitType
(node.Type);
12201
TypeSymbol? type = this.
VisitType
(node.Type);
12208
TypeSymbol? type = this.
VisitType
(node.Type);
12224
TypeSymbol? type = this.
VisitType
(node.Type);
12229
TypeSymbol? type = this.
VisitType
(node.Type);
12245
TypeSymbol? type = this.
VisitType
(node.Type);
12252
TypeSymbol? type = this.
VisitType
(node.Type);
12260
TypeSymbol? type = this.
VisitType
(node.Type);
12266
TypeSymbol? type = this.
VisitType
(node.Type);
12273
TypeSymbol? type = this.
VisitType
(node.Type);
12280
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
12281
TypeSymbol? type = this.
VisitType
(node.Type);
12286
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
12287
TypeSymbol? type = this.
VisitType
(node.Type);
12294
TypeSymbol? type = this.
VisitType
(node.Type);
12302
TypeSymbol? type = this.
VisitType
(node.Type);
12310
TypeSymbol? type = this.
VisitType
(node.Type);
12315
TypeSymbol? type = this.
VisitType
(node.Type);
12323
TypeSymbol? type = this.
VisitType
(node.Type);
12329
TypeSymbol? type = this.
VisitType
(node.Type);
12335
TypeSymbol? type = this.
VisitType
(node.Type);
12342
TypeSymbol? type = this.
VisitType
(node.Type);
12349
TypeSymbol? type = this.
VisitType
(node.Type);
12355
TypeSymbol? type = this.
VisitType
(node.Type);
12362
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12363
TypeSymbol? type = this.
VisitType
(node.Type);
12370
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12371
TypeSymbol? type = this.
VisitType
(node.Type);
12378
TypeSymbol? type = this.
VisitType
(node.Type);
12384
TypeSymbol? type = this.
VisitType
(node.Type);
12391
TypeSymbol? type = this.
VisitType
(node.Type);
12398
TypeSymbol? type = this.
VisitType
(node.Type);
12407
TypeSymbol? type = this.
VisitType
(node.Type);
12418
TypeSymbol? type = this.
VisitType
(node.Type);
12425
TypeSymbol? type = this.
VisitType
(node.Type);
12433
TypeSymbol? type = this.
VisitType
(node.Type);
12441
TypeSymbol? type = this.
VisitType
(node.Type);
12447
TypeSymbol? type = this.
VisitType
(node.Type);
12457
TypeSymbol? type = this.
VisitType
(node.Type);
12468
TypeSymbol? type = this.
VisitType
(node.Type);
12474
TypeSymbol? type = this.
VisitType
(node.Type);
12480
TypeSymbol? type = this.
VisitType
(node.Type);
12485
TypeSymbol? type = this.
VisitType
(node.Type);
12490
TypeSymbol? type = this.
VisitType
(node.Type);
12498
TypeSymbol? type = this.
VisitType
(node.Type);
12508
TypeSymbol? type = this.
VisitType
(node.Type);
12514
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12515
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12523
TypeSymbol? unionMatchingInputType = this.
VisitType
(node.UnionMatchingInputType);
12524
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12525
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12530
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12531
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12539
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12540
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12551
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12552
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12564
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12565
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12574
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12575
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12583
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12584
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12603
TypeSymbol? type = this.
VisitType
(node.Type);
12609
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12610
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12617
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12618
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12624
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12625
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12631
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12632
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12637
TypeSymbol? type = this.
VisitType
(node.Type);
12643
TypeSymbol? type = this.
VisitType
(node.Type);
12650
TypeSymbol? type = this.
VisitType
(node.Type);
12657
TypeSymbol? type = this.
VisitType
(node.Type);
12663
TypeSymbol? type = this.
VisitType
(node.Type);
12683
TypeSymbol? type = this.
VisitType
(node.Type);
12689
TypeSymbol? type = this.
VisitType
(node.Type);
12697
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);