1 override of VisitType
Microsoft.CodeAnalysis.CSharp (1)
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
115
public sealed override TypeSymbol?
VisitType
(TypeSymbol? type)
219 references to VisitType
Microsoft.CodeAnalysis.CSharp (219)
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)
1184
typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.
VisitType
(typeExpression.Type));
1535
var type = this.
VisitType
(binary.Type);
1753
var exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);
2112
var type = this.
VisitType
(binary.Type);
2157
TypeSymbol type = this.
VisitType
(node.Type);
2278
typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.
VisitType
(typeExpression.Type));
2292
TypeSymbol? type = this.
VisitType
(node.Type);
2343
type = this.
VisitType
(type);
Generated\BoundNodes.xml.Generated.cs (186)
10872
TypeSymbol? type = this.
VisitType
(node.Type);
10878
TypeSymbol? type = this.
VisitType
(node.Type);
10884
TypeSymbol? type = this.
VisitType
(node.Type);
10889
TypeSymbol? type = this.
VisitType
(node.Type);
10894
TypeSymbol? type = this.
VisitType
(node.Type);
10899
TypeSymbol? type = this.
VisitType
(node.Type);
10904
TypeSymbol? type = this.
VisitType
(node.Type);
10909
TypeSymbol? type = this.
VisitType
(node.Type);
10914
TypeSymbol? type = this.
VisitType
(node.Type);
10919
TypeSymbol? type = this.
VisitType
(node.Type);
10924
TypeSymbol? type = this.
VisitType
(node.Type);
10929
TypeSymbol? type = this.
VisitType
(node.Type);
10934
TypeSymbol? type = this.
VisitType
(node.Type);
10939
TypeSymbol? type = this.
VisitType
(node.Type);
10945
TypeSymbol? type = this.
VisitType
(node.Type);
10952
TypeSymbol? type = this.
VisitType
(node.Type);
10970
TypeSymbol? type = this.
VisitType
(node.Type);
10975
TypeSymbol? type = this.
VisitType
(node.Type);
10982
TypeSymbol? type = this.
VisitType
(node.Type);
10990
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
10991
TypeSymbol? type = this.
VisitType
(node.Type);
11003
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11004
TypeSymbol? type = this.
VisitType
(node.Type);
11010
TypeSymbol? type = this.
VisitType
(node.Type);
11016
TypeSymbol? type = this.
VisitType
(node.Type);
11022
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11023
TypeSymbol? type = this.
VisitType
(node.Type);
11029
TypeSymbol? type = this.
VisitType
(node.Type);
11036
TypeSymbol? type = this.
VisitType
(node.Type);
11043
TypeSymbol? type = this.
VisitType
(node.Type);
11050
TypeSymbol? type = this.
VisitType
(node.Type);
11056
TypeSymbol? type = this.
VisitType
(node.Type);
11062
TypeSymbol? type = this.
VisitType
(node.Type);
11069
TypeSymbol? type = this.
VisitType
(node.Type);
11077
TypeSymbol? type = this.
VisitType
(node.Type);
11084
TypeSymbol? type = this.
VisitType
(node.Type);
11091
TypeSymbol? type = this.
VisitType
(node.Type);
11104
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11105
TypeSymbol? type = this.
VisitType
(node.Type);
11117
TypeSymbol? type = this.
VisitType
(node.Type);
11124
TypeSymbol? type = this.
VisitType
(node.Type);
11131
TypeSymbol? type = this.
VisitType
(node.Type);
11140
TypeSymbol? type = this.
VisitType
(node.Type);
11147
TypeSymbol? type = this.
VisitType
(node.Type);
11155
TypeSymbol? type = this.
VisitType
(node.Type);
11163
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11164
TypeSymbol? type = this.
VisitType
(node.Type);
11171
TypeSymbol? type = this.
VisitType
(node.Type);
11177
TypeSymbol? type = this.
VisitType
(node.Type);
11183
TypeSymbol? type = this.
VisitType
(node.Type);
11200
TypeSymbol? type = this.
VisitType
(node.Type);
11207
TypeSymbol? type = this.
VisitType
(node.Type);
11220
TypeSymbol? type = this.
VisitType
(node.Type);
11227
TypeSymbol? type = this.
VisitType
(node.Type);
11234
TypeSymbol? type = this.
VisitType
(node.Type);
11239
TypeSymbol? type = this.
VisitType
(node.Type);
11244
TypeSymbol? type = this.
VisitType
(node.Type);
11249
TypeSymbol? type = this.
VisitType
(node.Type);
11254
TypeSymbol? type = this.
VisitType
(node.Type);
11259
TypeSymbol? type = this.
VisitType
(node.Type);
11264
TypeSymbol? type = this.
VisitType
(node.Type);
11269
TypeSymbol? type = this.
VisitType
(node.Type);
11274
TypeSymbol? type = this.
VisitType
(node.Type);
11281
TypeSymbol? type = this.
VisitType
(node.Type);
11288
TypeSymbol? type = this.
VisitType
(node.Type);
11293
TypeSymbol? type = this.
VisitType
(node.Type);
11299
TypeSymbol? type = this.
VisitType
(node.Type);
11306
TypeSymbol? type = this.
VisitType
(node.Type);
11315
TypeSymbol? type = this.
VisitType
(node.Type);
11321
TypeSymbol? type = this.
VisitType
(node.Type);
11327
TypeSymbol? type = this.
VisitType
(node.Type);
11334
TypeSymbol? type = this.
VisitType
(node.Type);
11339
TypeSymbol? type = this.
VisitType
(node.Type);
11345
TypeSymbol? type = this.
VisitType
(node.Type);
11354
TypeSymbol? elementPointerType = this.
VisitType
(node.ElementPointerType);
11355
TypeSymbol? type = this.
VisitType
(node.Type);
11560
TypeSymbol? exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);
11565
TypeSymbol? type = this.
VisitType
(node.Type);
11570
TypeSymbol? type = this.
VisitType
(node.Type);
11575
TypeSymbol? type = this.
VisitType
(node.Type);
11580
TypeSymbol? type = this.
VisitType
(node.Type);
11585
TypeSymbol? type = this.
VisitType
(node.Type);
11590
TypeSymbol? type = this.
VisitType
(node.Type);
11596
TypeSymbol? type = this.
VisitType
(node.Type);
11602
TypeSymbol? type = this.
VisitType
(node.Type);
11609
TypeSymbol? type = this.
VisitType
(node.Type);
11615
TypeSymbol? type = this.
VisitType
(node.Type);
11639
TypeSymbol? type = this.
VisitType
(node.Type);
11668
TypeSymbol? type = this.
VisitType
(node.Type);
11677
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11678
TypeSymbol? type = this.
VisitType
(node.Type);
11714
TypeSymbol? type = this.
VisitType
(node.Type);
11720
TypeSymbol? type = this.
VisitType
(node.Type);
11752
TypeSymbol? type = this.
VisitType
(node.Type);
11780
TypeSymbol? indexerType = this.
VisitType
(node.IndexerType);
11790
TypeSymbol? sliceType = this.
VisitType
(node.SliceType);
11816
TypeSymbol? type = this.
VisitType
(node.Type);
11824
TypeSymbol? type = this.
VisitType
(node.Type);
11832
TypeSymbol? type = this.
VisitType
(node.Type);
11838
TypeSymbol? type = this.
VisitType
(node.Type);
11846
TypeSymbol? type = this.
VisitType
(node.Type);
11853
TypeSymbol? type = this.
VisitType
(node.Type);
11862
TypeSymbol? type = this.
VisitType
(node.Type);
11867
TypeSymbol? type = this.
VisitType
(node.Type);
11874
TypeSymbol? type = this.
VisitType
(node.Type);
11883
TypeSymbol? type = this.
VisitType
(node.Type);
11890
TypeSymbol? type = this.
VisitType
(node.Type);
11899
TypeSymbol? type = this.
VisitType
(node.Type);
11907
TypeSymbol? type = this.
VisitType
(node.Type);
11915
TypeSymbol? type = this.
VisitType
(node.Type);
11921
TypeSymbol? type = this.
VisitType
(node.Type);
11930
TypeSymbol? type = this.
VisitType
(node.Type);
11936
TypeSymbol? type = this.
VisitType
(node.Type);
11948
TypeSymbol? type = this.
VisitType
(node.Type);
11953
TypeSymbol? type = this.
VisitType
(node.Type);
11969
TypeSymbol? type = this.
VisitType
(node.Type);
11976
TypeSymbol? type = this.
VisitType
(node.Type);
11984
TypeSymbol? type = this.
VisitType
(node.Type);
11990
TypeSymbol? type = this.
VisitType
(node.Type);
11997
TypeSymbol? type = this.
VisitType
(node.Type);
12004
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
12005
TypeSymbol? type = this.
VisitType
(node.Type);
12010
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
12011
TypeSymbol? type = this.
VisitType
(node.Type);
12018
TypeSymbol? type = this.
VisitType
(node.Type);
12026
TypeSymbol? type = this.
VisitType
(node.Type);
12034
TypeSymbol? type = this.
VisitType
(node.Type);
12039
TypeSymbol? type = this.
VisitType
(node.Type);
12047
TypeSymbol? type = this.
VisitType
(node.Type);
12053
TypeSymbol? type = this.
VisitType
(node.Type);
12059
TypeSymbol? type = this.
VisitType
(node.Type);
12066
TypeSymbol? type = this.
VisitType
(node.Type);
12073
TypeSymbol? type = this.
VisitType
(node.Type);
12079
TypeSymbol? type = this.
VisitType
(node.Type);
12086
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12087
TypeSymbol? type = this.
VisitType
(node.Type);
12094
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12095
TypeSymbol? type = this.
VisitType
(node.Type);
12102
TypeSymbol? type = this.
VisitType
(node.Type);
12108
TypeSymbol? type = this.
VisitType
(node.Type);
12115
TypeSymbol? type = this.
VisitType
(node.Type);
12122
TypeSymbol? type = this.
VisitType
(node.Type);
12131
TypeSymbol? type = this.
VisitType
(node.Type);
12142
TypeSymbol? type = this.
VisitType
(node.Type);
12149
TypeSymbol? type = this.
VisitType
(node.Type);
12157
TypeSymbol? type = this.
VisitType
(node.Type);
12165
TypeSymbol? type = this.
VisitType
(node.Type);
12171
TypeSymbol? type = this.
VisitType
(node.Type);
12181
TypeSymbol? type = this.
VisitType
(node.Type);
12192
TypeSymbol? type = this.
VisitType
(node.Type);
12198
TypeSymbol? type = this.
VisitType
(node.Type);
12204
TypeSymbol? type = this.
VisitType
(node.Type);
12209
TypeSymbol? type = this.
VisitType
(node.Type);
12214
TypeSymbol? type = this.
VisitType
(node.Type);
12222
TypeSymbol? type = this.
VisitType
(node.Type);
12232
TypeSymbol? type = this.
VisitType
(node.Type);
12238
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12239
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12244
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12245
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12253
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12254
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12265
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12266
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12278
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12279
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12288
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12289
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12297
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12298
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12317
TypeSymbol? type = this.
VisitType
(node.Type);
12323
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12324
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12331
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12332
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12338
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12339
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12345
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12346
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12351
TypeSymbol? type = this.
VisitType
(node.Type);
12357
TypeSymbol? type = this.
VisitType
(node.Type);
12364
TypeSymbol? type = this.
VisitType
(node.Type);
12371
TypeSymbol? type = this.
VisitType
(node.Type);
12377
TypeSymbol? type = this.
VisitType
(node.Type);
12397
TypeSymbol? type = this.
VisitType
(node.Type);
12405
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.cs (3)
654
var type = this.
VisitType
(node.Type);
684
var type = this.
VisitType
(node.Type);
831
var indexType =
VisitType
(node.Indices[0].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\SpillSequenceSpiller.cs (1)
734
TypeSymbol? exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);