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)
1174
typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.
VisitType
(typeExpression.Type));
1525
var type = this.
VisitType
(binary.Type);
1741
var exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);
2100
var type = this.
VisitType
(binary.Type);
2144
TypeSymbol type = this.
VisitType
(node.Type);
2265
typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.
VisitType
(typeExpression.Type));
2279
TypeSymbol? type = this.
VisitType
(node.Type);
2330
type = this.
VisitType
(type);
Generated\BoundNodes.xml.Generated.cs (186)
10855
TypeSymbol? type = this.
VisitType
(node.Type);
10861
TypeSymbol? type = this.
VisitType
(node.Type);
10867
TypeSymbol? type = this.
VisitType
(node.Type);
10872
TypeSymbol? type = this.
VisitType
(node.Type);
10877
TypeSymbol? type = this.
VisitType
(node.Type);
10882
TypeSymbol? type = this.
VisitType
(node.Type);
10887
TypeSymbol? type = this.
VisitType
(node.Type);
10892
TypeSymbol? type = this.
VisitType
(node.Type);
10897
TypeSymbol? type = this.
VisitType
(node.Type);
10902
TypeSymbol? type = this.
VisitType
(node.Type);
10907
TypeSymbol? type = this.
VisitType
(node.Type);
10912
TypeSymbol? type = this.
VisitType
(node.Type);
10917
TypeSymbol? type = this.
VisitType
(node.Type);
10922
TypeSymbol? type = this.
VisitType
(node.Type);
10928
TypeSymbol? type = this.
VisitType
(node.Type);
10935
TypeSymbol? type = this.
VisitType
(node.Type);
10953
TypeSymbol? type = this.
VisitType
(node.Type);
10958
TypeSymbol? type = this.
VisitType
(node.Type);
10965
TypeSymbol? type = this.
VisitType
(node.Type);
10973
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
10974
TypeSymbol? type = this.
VisitType
(node.Type);
10986
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
10987
TypeSymbol? type = this.
VisitType
(node.Type);
10993
TypeSymbol? type = this.
VisitType
(node.Type);
10999
TypeSymbol? type = this.
VisitType
(node.Type);
11005
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11006
TypeSymbol? type = this.
VisitType
(node.Type);
11012
TypeSymbol? type = this.
VisitType
(node.Type);
11019
TypeSymbol? type = this.
VisitType
(node.Type);
11026
TypeSymbol? type = this.
VisitType
(node.Type);
11033
TypeSymbol? type = this.
VisitType
(node.Type);
11039
TypeSymbol? type = this.
VisitType
(node.Type);
11045
TypeSymbol? type = this.
VisitType
(node.Type);
11052
TypeSymbol? type = this.
VisitType
(node.Type);
11060
TypeSymbol? type = this.
VisitType
(node.Type);
11067
TypeSymbol? type = this.
VisitType
(node.Type);
11074
TypeSymbol? type = this.
VisitType
(node.Type);
11087
TypeSymbol? constrainedToTypeOpt = this.
VisitType
(node.ConstrainedToTypeOpt);
11088
TypeSymbol? type = this.
VisitType
(node.Type);
11100
TypeSymbol? type = this.
VisitType
(node.Type);
11107
TypeSymbol? type = this.
VisitType
(node.Type);
11114
TypeSymbol? type = this.
VisitType
(node.Type);
11123
TypeSymbol? type = this.
VisitType
(node.Type);
11130
TypeSymbol? type = this.
VisitType
(node.Type);
11138
TypeSymbol? type = this.
VisitType
(node.Type);
11146
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11147
TypeSymbol? type = this.
VisitType
(node.Type);
11154
TypeSymbol? type = this.
VisitType
(node.Type);
11160
TypeSymbol? type = this.
VisitType
(node.Type);
11166
TypeSymbol? type = this.
VisitType
(node.Type);
11181
TypeSymbol? type = this.
VisitType
(node.Type);
11188
TypeSymbol? type = this.
VisitType
(node.Type);
11200
TypeSymbol? type = this.
VisitType
(node.Type);
11207
TypeSymbol? type = this.
VisitType
(node.Type);
11214
TypeSymbol? type = this.
VisitType
(node.Type);
11219
TypeSymbol? type = this.
VisitType
(node.Type);
11224
TypeSymbol? type = this.
VisitType
(node.Type);
11229
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);
11261
TypeSymbol? type = this.
VisitType
(node.Type);
11268
TypeSymbol? type = this.
VisitType
(node.Type);
11273
TypeSymbol? type = this.
VisitType
(node.Type);
11279
TypeSymbol? type = this.
VisitType
(node.Type);
11286
TypeSymbol? type = this.
VisitType
(node.Type);
11295
TypeSymbol? type = this.
VisitType
(node.Type);
11301
TypeSymbol? type = this.
VisitType
(node.Type);
11307
TypeSymbol? type = this.
VisitType
(node.Type);
11314
TypeSymbol? type = this.
VisitType
(node.Type);
11319
TypeSymbol? type = this.
VisitType
(node.Type);
11325
TypeSymbol? type = this.
VisitType
(node.Type);
11334
TypeSymbol? elementPointerType = this.
VisitType
(node.ElementPointerType);
11335
TypeSymbol? type = this.
VisitType
(node.Type);
11541
TypeSymbol? exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);
11546
TypeSymbol? type = this.
VisitType
(node.Type);
11551
TypeSymbol? type = this.
VisitType
(node.Type);
11556
TypeSymbol? type = this.
VisitType
(node.Type);
11561
TypeSymbol? type = this.
VisitType
(node.Type);
11566
TypeSymbol? type = this.
VisitType
(node.Type);
11571
TypeSymbol? type = this.
VisitType
(node.Type);
11577
TypeSymbol? type = this.
VisitType
(node.Type);
11583
TypeSymbol? type = this.
VisitType
(node.Type);
11590
TypeSymbol? type = this.
VisitType
(node.Type);
11596
TypeSymbol? type = this.
VisitType
(node.Type);
11620
TypeSymbol? type = this.
VisitType
(node.Type);
11649
TypeSymbol? type = this.
VisitType
(node.Type);
11658
TypeSymbol? naturalTypeOpt = this.
VisitType
(node.NaturalTypeOpt);
11659
TypeSymbol? type = this.
VisitType
(node.Type);
11695
TypeSymbol? type = this.
VisitType
(node.Type);
11701
TypeSymbol? type = this.
VisitType
(node.Type);
11733
TypeSymbol? type = this.
VisitType
(node.Type);
11761
TypeSymbol? indexerType = this.
VisitType
(node.IndexerType);
11771
TypeSymbol? sliceType = this.
VisitType
(node.SliceType);
11797
TypeSymbol? type = this.
VisitType
(node.Type);
11805
TypeSymbol? type = this.
VisitType
(node.Type);
11813
TypeSymbol? type = this.
VisitType
(node.Type);
11819
TypeSymbol? type = this.
VisitType
(node.Type);
11827
TypeSymbol? type = this.
VisitType
(node.Type);
11834
TypeSymbol? type = this.
VisitType
(node.Type);
11843
TypeSymbol? type = this.
VisitType
(node.Type);
11848
TypeSymbol? type = this.
VisitType
(node.Type);
11855
TypeSymbol? type = this.
VisitType
(node.Type);
11864
TypeSymbol? type = this.
VisitType
(node.Type);
11871
TypeSymbol? type = this.
VisitType
(node.Type);
11880
TypeSymbol? type = this.
VisitType
(node.Type);
11888
TypeSymbol? type = this.
VisitType
(node.Type);
11896
TypeSymbol? type = this.
VisitType
(node.Type);
11902
TypeSymbol? type = this.
VisitType
(node.Type);
11911
TypeSymbol? type = this.
VisitType
(node.Type);
11917
TypeSymbol? type = this.
VisitType
(node.Type);
11929
TypeSymbol? type = this.
VisitType
(node.Type);
11934
TypeSymbol? type = this.
VisitType
(node.Type);
11950
TypeSymbol? type = this.
VisitType
(node.Type);
11957
TypeSymbol? type = this.
VisitType
(node.Type);
11965
TypeSymbol? type = this.
VisitType
(node.Type);
11971
TypeSymbol? type = this.
VisitType
(node.Type);
11978
TypeSymbol? type = this.
VisitType
(node.Type);
11985
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
11986
TypeSymbol? type = this.
VisitType
(node.Type);
11991
TypeSymbol? receiverType = this.
VisitType
(node.ReceiverType);
11992
TypeSymbol? type = this.
VisitType
(node.Type);
11999
TypeSymbol? type = this.
VisitType
(node.Type);
12007
TypeSymbol? type = this.
VisitType
(node.Type);
12015
TypeSymbol? type = this.
VisitType
(node.Type);
12020
TypeSymbol? type = this.
VisitType
(node.Type);
12028
TypeSymbol? type = this.
VisitType
(node.Type);
12034
TypeSymbol? type = this.
VisitType
(node.Type);
12040
TypeSymbol? type = this.
VisitType
(node.Type);
12047
TypeSymbol? type = this.
VisitType
(node.Type);
12054
TypeSymbol? type = this.
VisitType
(node.Type);
12060
TypeSymbol? type = this.
VisitType
(node.Type);
12067
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12068
TypeSymbol? type = this.
VisitType
(node.Type);
12075
TypeSymbol? elementType = this.
VisitType
(node.ElementType);
12076
TypeSymbol? type = this.
VisitType
(node.Type);
12083
TypeSymbol? type = this.
VisitType
(node.Type);
12089
TypeSymbol? type = this.
VisitType
(node.Type);
12096
TypeSymbol? type = this.
VisitType
(node.Type);
12103
TypeSymbol? type = this.
VisitType
(node.Type);
12112
TypeSymbol? type = this.
VisitType
(node.Type);
12123
TypeSymbol? type = this.
VisitType
(node.Type);
12130
TypeSymbol? type = this.
VisitType
(node.Type);
12138
TypeSymbol? type = this.
VisitType
(node.Type);
12146
TypeSymbol? type = this.
VisitType
(node.Type);
12152
TypeSymbol? type = this.
VisitType
(node.Type);
12162
TypeSymbol? type = this.
VisitType
(node.Type);
12173
TypeSymbol? type = this.
VisitType
(node.Type);
12179
TypeSymbol? type = this.
VisitType
(node.Type);
12185
TypeSymbol? type = this.
VisitType
(node.Type);
12190
TypeSymbol? type = this.
VisitType
(node.Type);
12195
TypeSymbol? type = this.
VisitType
(node.Type);
12203
TypeSymbol? type = this.
VisitType
(node.Type);
12213
TypeSymbol? type = this.
VisitType
(node.Type);
12219
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12220
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12225
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12226
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12234
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12235
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12246
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12247
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12259
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12260
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12269
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12270
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12278
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12279
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12298
TypeSymbol? type = this.
VisitType
(node.Type);
12304
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12305
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12312
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12313
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12319
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12320
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
12326
TypeSymbol? inputType = this.
VisitType
(node.InputType);
12327
TypeSymbol? narrowedType = this.
VisitType
(node.NarrowedType);
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);
12378
TypeSymbol? type = this.
VisitType
(node.Type);
12386
TypeSymbol? type = this.
VisitType
(node.Type);
Lowering\ExtensionMethodReferenceRewriter.cs (8)
87
rewriter.
VisitType
(node.Type));
196
TypeSymbol? type = this.
VisitType
(node.Type);
209
var type = rewriter.
VisitType
(node.Type);
229
TypeSymbol? constrainedToTypeOpt = rewriter.
VisitType
(node.ConstrainedToTypeOpt);
230
TypeSymbol? type = rewriter.
VisitType
(node.Type);
245
TypeSymbol? constrainedToType = rewriter.
VisitType
(node.ConstrainedToType);
276
TypeSymbol? constrainedToTypeOpt = rewriter.
VisitType
(node.ConstrainedToTypeOpt);
277
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)
724
TypeSymbol exceptionTypeOpt = this.
VisitType
(node.ExceptionTypeOpt);