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)
11134
TypeSymbol? type = this.
VisitType
(node.Type);
11140
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);
11171
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);
11207
TypeSymbol? type = this.
VisitType
(node.Type);
11213
TypeSymbol? type = this.
VisitType
(node.Type);
11220
TypeSymbol? type = this.
VisitType
(node.Type);
11238
TypeSymbol? type = this.
VisitType
(node.Type);
11244
TypeSymbol? type = this.
VisitType
(node.Type);
11251
TypeSymbol? type = this.
VisitType
(node.Type);
11259
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11260
TypeSymbol? type = this.
VisitType
(node.Type);
11272
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11273
TypeSymbol? type = this.
VisitType
(node.Type);
11279
TypeSymbol? type = this.
VisitType
(node.Type);
11285
TypeSymbol? type = this.
VisitType
(node.Type);
11291
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11292
TypeSymbol? type = this.
VisitType
(node.Type);
11298
TypeSymbol? type = this.
VisitType
(node.Type);
11305
TypeSymbol? type = this.
VisitType
(node.Type);
11312
TypeSymbol? type = this.
VisitType
(node.Type);
11319
TypeSymbol? type = this.
VisitType
(node.Type);
11325
TypeSymbol? type = this.
VisitType
(node.Type);
11331
TypeSymbol? type = this.
VisitType
(node.Type);
11338
TypeSymbol? type = this.
VisitType
(node.Type);
11346
TypeSymbol? type = this.
VisitType
(node.Type);
11353
TypeSymbol? type = this.
VisitType
(node.Type);
11360
TypeSymbol? type = this.
VisitType
(node.Type);
11373
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11374
TypeSymbol? type = this.
VisitType
(node.Type);
11386
TypeSymbol? type = this.
VisitType
(node.Type);
11393
TypeSymbol? type = this.
VisitType
(node.Type);
11400
TypeSymbol? type = this.
VisitType
(node.Type);
11409
TypeSymbol? type = this.
VisitType
(node.Type);
11416
TypeSymbol? type = this.
VisitType
(node.Type);
11424
TypeSymbol? type = this.
VisitType
(node.Type);
11432
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11433
TypeSymbol? type = this.
VisitType
(node.Type);
11440
TypeSymbol? type = this.
VisitType
(node.Type);
11446
TypeSymbol? type = this.
VisitType
(node.Type);
11452
TypeSymbol? type = this.
VisitType
(node.Type);
11469
TypeSymbol? type = this.
VisitType
(node.Type);
11476
TypeSymbol? type = this.
VisitType
(node.Type);
11489
TypeSymbol? type = this.
VisitType
(node.Type);
11496
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);
11543
TypeSymbol? type = this.
VisitType
(node.Type);
11550
TypeSymbol? type = this.
VisitType
(node.Type);
11557
TypeSymbol? type = this.
VisitType
(node.Type);
11562
TypeSymbol? type = this.
VisitType
(node.Type);
11568
TypeSymbol? type = this.
VisitType
(node.Type);
11575
TypeSymbol? type = this.
VisitType
(node.Type);
11584
TypeSymbol? type = this.
VisitType
(node.Type);
11590
TypeSymbol? type = this.
VisitType
(node.Type);
11596
TypeSymbol? type = this.
VisitType
(node.Type);
11603
TypeSymbol? type = this.
VisitType
(node.Type);
11608
TypeSymbol? type = this.
VisitType
(node.Type);
11614
TypeSymbol? type = this.
VisitType
(node.Type);
11623
TypeSymbol? elementPointerType = this.
VisitType
(node.ElementPointerType);
11624
TypeSymbol? type = this.
VisitType
(node.Type);
11831
TypeSymbol? exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);
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);
11861
TypeSymbol? type = this.
VisitType
(node.Type);
11867
TypeSymbol? type = this.
VisitType
(node.Type);
11873
TypeSymbol? type = this.
VisitType
(node.Type);
11880
TypeSymbol? type = this.
VisitType
(node.Type);
11886
TypeSymbol? type = this.
VisitType
(node.Type);
11910
TypeSymbol? type = this.
VisitType
(node.Type);
11939
TypeSymbol? type = this.
VisitType
(node.Type);
11948
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11949
TypeSymbol? type = this.
VisitType
(node.Type);
11985
TypeSymbol? type = this.
VisitType
(node.Type);
11991
TypeSymbol? type = this.
VisitType
(node.Type);
12023
TypeSymbol? type = this.
VisitType
(node.Type);
12051
TypeSymbol? indexerType = this.
VisitType
(node.IndexerType);
12061
TypeSymbol? sliceType = this.
VisitType
(node.SliceType);
12092
TypeSymbol? type = this.
VisitType
(node.Type);
12100
TypeSymbol? type = this.
VisitType
(node.Type);
12108
TypeSymbol? type = this.
VisitType
(node.Type);
12114
TypeSymbol? type = this.
VisitType
(node.Type);
12122
TypeSymbol? type = this.
VisitType
(node.Type);
12129
TypeSymbol? type = this.
VisitType
(node.Type);
12138
TypeSymbol? type = this.
VisitType
(node.Type);
12143
TypeSymbol? type = this.
VisitType
(node.Type);
12150
TypeSymbol? type = this.
VisitType
(node.Type);
12159
TypeSymbol? type = this.
VisitType
(node.Type);
12166
TypeSymbol? type = this.
VisitType
(node.Type);
12175
TypeSymbol? type = this.
VisitType
(node.Type);
12183
TypeSymbol? type = this.
VisitType
(node.Type);
12191
TypeSymbol? type = this.
VisitType
(node.Type);
12197
TypeSymbol? type = this.
VisitType
(node.Type);
12206
TypeSymbol? type = this.
VisitType
(node.Type);
12213
TypeSymbol? type = this.
VisitType
(node.Type);
12229
TypeSymbol? type = this.
VisitType
(node.Type);
12234
TypeSymbol? type = this.
VisitType
(node.Type);
12250
TypeSymbol? type = this.
VisitType
(node.Type);
12257
TypeSymbol? type = this.
VisitType
(node.Type);
12265
TypeSymbol? type = this.
VisitType
(node.Type);
12271
TypeSymbol? type = this.
VisitType
(node.Type);
12278
TypeSymbol? type = this.
VisitType
(node.Type);
12285
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
12286
TypeSymbol? type = this.
VisitType
(node.Type);
12291
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
12292
TypeSymbol? type = this.
VisitType
(node.Type);
12299
TypeSymbol? type = this.
VisitType
(node.Type);
12307
TypeSymbol? type = this.
VisitType
(node.Type);
12315
TypeSymbol? type = this.
VisitType
(node.Type);
12320
TypeSymbol? type = this.
VisitType
(node.Type);
12328
TypeSymbol? type = this.
VisitType
(node.Type);
12334
TypeSymbol? type = this.
VisitType
(node.Type);
12340
TypeSymbol? type = this.
VisitType
(node.Type);
12347
TypeSymbol? type = this.
VisitType
(node.Type);
12354
TypeSymbol? type = this.
VisitType
(node.Type);
12360
TypeSymbol? type = this.
VisitType
(node.Type);
12367
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12368
TypeSymbol? type = this.
VisitType
(node.Type);
12375
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12376
TypeSymbol? type = this.
VisitType
(node.Type);
12383
TypeSymbol? type = this.
VisitType
(node.Type);
12389
TypeSymbol? type = this.
VisitType
(node.Type);
12396
TypeSymbol? type = this.
VisitType
(node.Type);
12403
TypeSymbol? type = this.
VisitType
(node.Type);
12412
TypeSymbol? type = this.
VisitType
(node.Type);
12423
TypeSymbol? type = this.
VisitType
(node.Type);
12430
TypeSymbol? type = this.
VisitType
(node.Type);
12438
TypeSymbol? type = this.
VisitType
(node.Type);
12446
TypeSymbol? type = this.
VisitType
(node.Type);
12452
TypeSymbol? type = this.
VisitType
(node.Type);
12462
TypeSymbol? type = this.
VisitType
(node.Type);
12473
TypeSymbol? type = this.
VisitType
(node.Type);
12479
TypeSymbol? type = this.
VisitType
(node.Type);
12485
TypeSymbol? type = this.
VisitType
(node.Type);
12490
TypeSymbol? type = this.
VisitType
(node.Type);
12495
TypeSymbol? type = this.
VisitType
(node.Type);
12503
TypeSymbol? type = this.
VisitType
(node.Type);
12513
TypeSymbol? type = this.
VisitType
(node.Type);
12519
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12520
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12530
TypeSymbol? unionMatchingInputType = this.
VisitType
(node.UnionMatchingInputType);
12531
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12532
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12537
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12538
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12546
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12547
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12558
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12559
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12571
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12572
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12581
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12582
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12590
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12591
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12610
TypeSymbol? type = this.
VisitType
(node.Type);
12616
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12617
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);
12638
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12639
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12644
TypeSymbol? type = this.
VisitType
(node.Type);
12650
TypeSymbol? type = this.
VisitType
(node.Type);
12657
TypeSymbol? type = this.
VisitType
(node.Type);
12664
TypeSymbol? type = this.
VisitType
(node.Type);
12670
TypeSymbol? type = this.
VisitType
(node.Type);
12690
TypeSymbol? type = this.
VisitType
(node.Type);
12696
TypeSymbol? type = this.
VisitType
(node.Type);
12704
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);