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);
2212
TypeSymbol type = this.
VisitType
(node.Type);
2333
typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.
VisitType
(typeExpression.Type));
2347
TypeSymbol? type = this.
VisitType
(node.Type);
2398
type = this.
VisitType
(type);
Generated\BoundNodes.xml.Generated.cs (191)
11131
TypeSymbol? type = this.
VisitType
(node.Type);
11137
TypeSymbol? type = this.
VisitType
(node.Type);
11143
TypeSymbol? type = this.
VisitType
(node.Type);
11148
TypeSymbol? type = this.
VisitType
(node.Type);
11153
TypeSymbol? type = this.
VisitType
(node.Type);
11158
TypeSymbol? type = this.
VisitType
(node.Type);
11163
TypeSymbol? type = this.
VisitType
(node.Type);
11168
TypeSymbol? type = this.
VisitType
(node.Type);
11174
TypeSymbol? type = this.
VisitType
(node.Type);
11179
TypeSymbol? type = this.
VisitType
(node.Type);
11184
TypeSymbol? type = this.
VisitType
(node.Type);
11189
TypeSymbol? type = this.
VisitType
(node.Type);
11194
TypeSymbol? type = this.
VisitType
(node.Type);
11199
TypeSymbol? type = this.
VisitType
(node.Type);
11204
TypeSymbol? type = this.
VisitType
(node.Type);
11210
TypeSymbol? type = this.
VisitType
(node.Type);
11217
TypeSymbol? type = this.
VisitType
(node.Type);
11235
TypeSymbol? type = this.
VisitType
(node.Type);
11241
TypeSymbol? type = this.
VisitType
(node.Type);
11248
TypeSymbol? type = this.
VisitType
(node.Type);
11256
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11257
TypeSymbol? type = this.
VisitType
(node.Type);
11269
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11270
TypeSymbol? type = this.
VisitType
(node.Type);
11276
TypeSymbol? type = this.
VisitType
(node.Type);
11282
TypeSymbol? type = this.
VisitType
(node.Type);
11288
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11289
TypeSymbol? type = this.
VisitType
(node.Type);
11295
TypeSymbol? type = this.
VisitType
(node.Type);
11302
TypeSymbol? type = this.
VisitType
(node.Type);
11309
TypeSymbol? type = this.
VisitType
(node.Type);
11316
TypeSymbol? type = this.
VisitType
(node.Type);
11322
TypeSymbol? type = this.
VisitType
(node.Type);
11328
TypeSymbol? type = this.
VisitType
(node.Type);
11335
TypeSymbol? type = this.
VisitType
(node.Type);
11343
TypeSymbol? type = this.
VisitType
(node.Type);
11350
TypeSymbol? type = this.
VisitType
(node.Type);
11357
TypeSymbol? type = this.
VisitType
(node.Type);
11370
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11371
TypeSymbol? type = this.
VisitType
(node.Type);
11383
TypeSymbol? type = this.
VisitType
(node.Type);
11390
TypeSymbol? type = this.
VisitType
(node.Type);
11397
TypeSymbol? type = this.
VisitType
(node.Type);
11406
TypeSymbol? type = this.
VisitType
(node.Type);
11413
TypeSymbol? type = this.
VisitType
(node.Type);
11421
TypeSymbol? type = this.
VisitType
(node.Type);
11429
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11430
TypeSymbol? type = this.
VisitType
(node.Type);
11437
TypeSymbol? type = this.
VisitType
(node.Type);
11443
TypeSymbol? type = this.
VisitType
(node.Type);
11449
TypeSymbol? type = this.
VisitType
(node.Type);
11466
TypeSymbol? type = this.
VisitType
(node.Type);
11473
TypeSymbol? type = this.
VisitType
(node.Type);
11486
TypeSymbol? type = this.
VisitType
(node.Type);
11493
TypeSymbol? type = this.
VisitType
(node.Type);
11500
TypeSymbol? type = this.
VisitType
(node.Type);
11505
TypeSymbol? type = this.
VisitType
(node.Type);
11510
TypeSymbol? type = this.
VisitType
(node.Type);
11515
TypeSymbol? type = this.
VisitType
(node.Type);
11520
TypeSymbol? type = this.
VisitType
(node.Type);
11525
TypeSymbol? type = this.
VisitType
(node.Type);
11530
TypeSymbol? type = this.
VisitType
(node.Type);
11535
TypeSymbol? type = this.
VisitType
(node.Type);
11540
TypeSymbol? type = this.
VisitType
(node.Type);
11547
TypeSymbol? type = this.
VisitType
(node.Type);
11554
TypeSymbol? type = this.
VisitType
(node.Type);
11559
TypeSymbol? type = this.
VisitType
(node.Type);
11565
TypeSymbol? type = this.
VisitType
(node.Type);
11572
TypeSymbol? type = this.
VisitType
(node.Type);
11581
TypeSymbol? type = this.
VisitType
(node.Type);
11587
TypeSymbol? type = this.
VisitType
(node.Type);
11593
TypeSymbol? type = this.
VisitType
(node.Type);
11600
TypeSymbol? type = this.
VisitType
(node.Type);
11605
TypeSymbol? type = this.
VisitType
(node.Type);
11611
TypeSymbol? type = this.
VisitType
(node.Type);
11620
TypeSymbol? elementPointerType = this.
VisitType
(node.ElementPointerType);
11621
TypeSymbol? type = this.
VisitType
(node.Type);
11828
TypeSymbol? exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);
11833
TypeSymbol? type = this.
VisitType
(node.Type);
11838
TypeSymbol? type = this.
VisitType
(node.Type);
11843
TypeSymbol? type = this.
VisitType
(node.Type);
11848
TypeSymbol? type = this.
VisitType
(node.Type);
11853
TypeSymbol? type = this.
VisitType
(node.Type);
11858
TypeSymbol? type = this.
VisitType
(node.Type);
11864
TypeSymbol? type = this.
VisitType
(node.Type);
11870
TypeSymbol? type = this.
VisitType
(node.Type);
11877
TypeSymbol? type = this.
VisitType
(node.Type);
11883
TypeSymbol? type = this.
VisitType
(node.Type);
11907
TypeSymbol? type = this.
VisitType
(node.Type);
11936
TypeSymbol? type = this.
VisitType
(node.Type);
11945
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11946
TypeSymbol? type = this.
VisitType
(node.Type);
11982
TypeSymbol? type = this.
VisitType
(node.Type);
11988
TypeSymbol? type = this.
VisitType
(node.Type);
12020
TypeSymbol? type = this.
VisitType
(node.Type);
12048
TypeSymbol? indexerType = this.
VisitType
(node.IndexerType);
12058
TypeSymbol? sliceType = this.
VisitType
(node.SliceType);
12089
TypeSymbol? type = this.
VisitType
(node.Type);
12097
TypeSymbol? type = this.
VisitType
(node.Type);
12105
TypeSymbol? type = this.
VisitType
(node.Type);
12111
TypeSymbol? type = this.
VisitType
(node.Type);
12119
TypeSymbol? type = this.
VisitType
(node.Type);
12126
TypeSymbol? type = this.
VisitType
(node.Type);
12135
TypeSymbol? type = this.
VisitType
(node.Type);
12140
TypeSymbol? type = this.
VisitType
(node.Type);
12147
TypeSymbol? type = this.
VisitType
(node.Type);
12156
TypeSymbol? type = this.
VisitType
(node.Type);
12163
TypeSymbol? type = this.
VisitType
(node.Type);
12172
TypeSymbol? type = this.
VisitType
(node.Type);
12180
TypeSymbol? type = this.
VisitType
(node.Type);
12188
TypeSymbol? type = this.
VisitType
(node.Type);
12194
TypeSymbol? type = this.
VisitType
(node.Type);
12203
TypeSymbol? type = this.
VisitType
(node.Type);
12210
TypeSymbol? type = this.
VisitType
(node.Type);
12226
TypeSymbol? type = this.
VisitType
(node.Type);
12231
TypeSymbol? type = this.
VisitType
(node.Type);
12247
TypeSymbol? type = this.
VisitType
(node.Type);
12254
TypeSymbol? type = this.
VisitType
(node.Type);
12262
TypeSymbol? type = this.
VisitType
(node.Type);
12268
TypeSymbol? type = this.
VisitType
(node.Type);
12275
TypeSymbol? type = this.
VisitType
(node.Type);
12282
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
12283
TypeSymbol? type = this.
VisitType
(node.Type);
12288
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
12289
TypeSymbol? type = this.
VisitType
(node.Type);
12296
TypeSymbol? type = this.
VisitType
(node.Type);
12304
TypeSymbol? type = this.
VisitType
(node.Type);
12312
TypeSymbol? type = this.
VisitType
(node.Type);
12317
TypeSymbol? type = this.
VisitType
(node.Type);
12325
TypeSymbol? type = this.
VisitType
(node.Type);
12331
TypeSymbol? type = this.
VisitType
(node.Type);
12337
TypeSymbol? type = this.
VisitType
(node.Type);
12344
TypeSymbol? type = this.
VisitType
(node.Type);
12351
TypeSymbol? type = this.
VisitType
(node.Type);
12357
TypeSymbol? type = this.
VisitType
(node.Type);
12364
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12365
TypeSymbol? type = this.
VisitType
(node.Type);
12372
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12373
TypeSymbol? type = this.
VisitType
(node.Type);
12380
TypeSymbol? type = this.
VisitType
(node.Type);
12386
TypeSymbol? type = this.
VisitType
(node.Type);
12393
TypeSymbol? type = this.
VisitType
(node.Type);
12400
TypeSymbol? type = this.
VisitType
(node.Type);
12409
TypeSymbol? type = this.
VisitType
(node.Type);
12420
TypeSymbol? type = this.
VisitType
(node.Type);
12427
TypeSymbol? type = this.
VisitType
(node.Type);
12435
TypeSymbol? type = this.
VisitType
(node.Type);
12443
TypeSymbol? type = this.
VisitType
(node.Type);
12449
TypeSymbol? type = this.
VisitType
(node.Type);
12459
TypeSymbol? type = this.
VisitType
(node.Type);
12470
TypeSymbol? type = this.
VisitType
(node.Type);
12476
TypeSymbol? type = this.
VisitType
(node.Type);
12482
TypeSymbol? type = this.
VisitType
(node.Type);
12487
TypeSymbol? type = this.
VisitType
(node.Type);
12492
TypeSymbol? type = this.
VisitType
(node.Type);
12500
TypeSymbol? type = this.
VisitType
(node.Type);
12510
TypeSymbol? type = this.
VisitType
(node.Type);
12516
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12517
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12525
TypeSymbol? unionMatchingInputType = this.
VisitType
(node.UnionMatchingInputType);
12526
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12527
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12532
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12533
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12541
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12542
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12553
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12554
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12566
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12567
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12576
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12577
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12585
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12586
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12605
TypeSymbol? type = this.
VisitType
(node.Type);
12611
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12612
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12619
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12620
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12626
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12627
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12633
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12634
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12639
TypeSymbol? type = this.
VisitType
(node.Type);
12645
TypeSymbol? type = this.
VisitType
(node.Type);
12652
TypeSymbol? type = this.
VisitType
(node.Type);
12659
TypeSymbol? type = this.
VisitType
(node.Type);
12665
TypeSymbol? type = this.
VisitType
(node.Type);
12685
TypeSymbol? type = this.
VisitType
(node.Type);
12691
TypeSymbol? type = this.
VisitType
(node.Type);
12699
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);