1 override of VisitType
Microsoft.CodeAnalysis.CSharp (1)
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
115public sealed override TypeSymbol? VisitType(TypeSymbol? type)
224 references to VisitType
Microsoft.CodeAnalysis.CSharp (224)
BoundTree\BoundTreeRewriter.cs (6)
148return VisitType(type); 158return (FunctionTypeSymbol?)VisitType(symbol); 252return node.Update(node.OperatorKind, VisitBinaryOperatorData(node), node.ResultKind, (BoundExpression)this.Visit(node.Left), (BoundExpression)this.Visit(node.Right), this.VisitType(node.Type)); 281var type = this.VisitType(binary.Type); 375left = binary.Update(binary.Disjunction, left, right, VisitType(binary.InputType), VisitType(binary.NarrowedType));
CodeGen\Optimizer.cs (8)
1184typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 1535var type = this.VisitType(binary.Type); 1753var exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 2159var type = this.VisitType(binary.Type); 2204TypeSymbol type = this.VisitType(node.Type); 2325typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 2339TypeSymbol? type = this.VisitType(node.Type); 2390type = this.VisitType(type);
Generated\BoundNodes.xml.Generated.cs (191)
11138TypeSymbol? type = this.VisitType(node.Type); 11144TypeSymbol? type = this.VisitType(node.Type); 11150TypeSymbol? type = this.VisitType(node.Type); 11155TypeSymbol? type = this.VisitType(node.Type); 11160TypeSymbol? type = this.VisitType(node.Type); 11165TypeSymbol? type = this.VisitType(node.Type); 11170TypeSymbol? type = this.VisitType(node.Type); 11175TypeSymbol? type = this.VisitType(node.Type); 11180TypeSymbol? type = this.VisitType(node.Type); 11185TypeSymbol? type = this.VisitType(node.Type); 11190TypeSymbol? type = this.VisitType(node.Type); 11195TypeSymbol? type = this.VisitType(node.Type); 11200TypeSymbol? type = this.VisitType(node.Type); 11205TypeSymbol? type = this.VisitType(node.Type); 11210TypeSymbol? type = this.VisitType(node.Type); 11216TypeSymbol? type = this.VisitType(node.Type); 11223TypeSymbol? type = this.VisitType(node.Type); 11241TypeSymbol? type = this.VisitType(node.Type); 11247TypeSymbol? type = this.VisitType(node.Type); 11254TypeSymbol? type = this.VisitType(node.Type); 11262TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11263TypeSymbol? type = this.VisitType(node.Type); 11275TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11276TypeSymbol? type = this.VisitType(node.Type); 11282TypeSymbol? type = this.VisitType(node.Type); 11288TypeSymbol? type = this.VisitType(node.Type); 11294TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11295TypeSymbol? type = this.VisitType(node.Type); 11301TypeSymbol? type = this.VisitType(node.Type); 11308TypeSymbol? type = this.VisitType(node.Type); 11315TypeSymbol? type = this.VisitType(node.Type); 11322TypeSymbol? type = this.VisitType(node.Type); 11328TypeSymbol? type = this.VisitType(node.Type); 11334TypeSymbol? type = this.VisitType(node.Type); 11341TypeSymbol? type = this.VisitType(node.Type); 11349TypeSymbol? type = this.VisitType(node.Type); 11356TypeSymbol? type = this.VisitType(node.Type); 11363TypeSymbol? type = this.VisitType(node.Type); 11376TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11377TypeSymbol? type = this.VisitType(node.Type); 11389TypeSymbol? type = this.VisitType(node.Type); 11396TypeSymbol? type = this.VisitType(node.Type); 11403TypeSymbol? type = this.VisitType(node.Type); 11412TypeSymbol? type = this.VisitType(node.Type); 11419TypeSymbol? type = this.VisitType(node.Type); 11427TypeSymbol? type = this.VisitType(node.Type); 11435TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11436TypeSymbol? type = this.VisitType(node.Type); 11443TypeSymbol? type = this.VisitType(node.Type); 11449TypeSymbol? type = this.VisitType(node.Type); 11455TypeSymbol? type = this.VisitType(node.Type); 11472TypeSymbol? type = this.VisitType(node.Type); 11479TypeSymbol? type = this.VisitType(node.Type); 11492TypeSymbol? type = this.VisitType(node.Type); 11499TypeSymbol? type = this.VisitType(node.Type); 11506TypeSymbol? type = this.VisitType(node.Type); 11511TypeSymbol? type = this.VisitType(node.Type); 11516TypeSymbol? type = this.VisitType(node.Type); 11521TypeSymbol? type = this.VisitType(node.Type); 11526TypeSymbol? type = this.VisitType(node.Type); 11531TypeSymbol? type = this.VisitType(node.Type); 11536TypeSymbol? type = this.VisitType(node.Type); 11541TypeSymbol? type = this.VisitType(node.Type); 11546TypeSymbol? type = this.VisitType(node.Type); 11553TypeSymbol? type = this.VisitType(node.Type); 11560TypeSymbol? type = this.VisitType(node.Type); 11565TypeSymbol? type = this.VisitType(node.Type); 11571TypeSymbol? type = this.VisitType(node.Type); 11578TypeSymbol? type = this.VisitType(node.Type); 11587TypeSymbol? type = this.VisitType(node.Type); 11593TypeSymbol? type = this.VisitType(node.Type); 11599TypeSymbol? type = this.VisitType(node.Type); 11606TypeSymbol? type = this.VisitType(node.Type); 11611TypeSymbol? type = this.VisitType(node.Type); 11617TypeSymbol? type = this.VisitType(node.Type); 11626TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11627TypeSymbol? type = this.VisitType(node.Type); 11832TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11837TypeSymbol? type = this.VisitType(node.Type); 11842TypeSymbol? type = this.VisitType(node.Type); 11847TypeSymbol? type = this.VisitType(node.Type); 11852TypeSymbol? type = this.VisitType(node.Type); 11857TypeSymbol? type = this.VisitType(node.Type); 11862TypeSymbol? type = this.VisitType(node.Type); 11868TypeSymbol? type = this.VisitType(node.Type); 11874TypeSymbol? type = this.VisitType(node.Type); 11881TypeSymbol? type = this.VisitType(node.Type); 11887TypeSymbol? type = this.VisitType(node.Type); 11911TypeSymbol? type = this.VisitType(node.Type); 11940TypeSymbol? type = this.VisitType(node.Type); 11949TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11950TypeSymbol? type = this.VisitType(node.Type); 11986TypeSymbol? type = this.VisitType(node.Type); 11992TypeSymbol? type = this.VisitType(node.Type); 12024TypeSymbol? type = this.VisitType(node.Type); 12052TypeSymbol? indexerType = this.VisitType(node.IndexerType); 12062TypeSymbol? sliceType = this.VisitType(node.SliceType); 12093TypeSymbol? type = this.VisitType(node.Type); 12101TypeSymbol? type = this.VisitType(node.Type); 12109TypeSymbol? type = this.VisitType(node.Type); 12115TypeSymbol? type = this.VisitType(node.Type); 12123TypeSymbol? type = this.VisitType(node.Type); 12130TypeSymbol? type = this.VisitType(node.Type); 12139TypeSymbol? type = this.VisitType(node.Type); 12144TypeSymbol? type = this.VisitType(node.Type); 12151TypeSymbol? type = this.VisitType(node.Type); 12160TypeSymbol? type = this.VisitType(node.Type); 12167TypeSymbol? type = this.VisitType(node.Type); 12176TypeSymbol? type = this.VisitType(node.Type); 12184TypeSymbol? type = this.VisitType(node.Type); 12192TypeSymbol? type = this.VisitType(node.Type); 12198TypeSymbol? type = this.VisitType(node.Type); 12207TypeSymbol? type = this.VisitType(node.Type); 12214TypeSymbol? type = this.VisitType(node.Type); 12230TypeSymbol? type = this.VisitType(node.Type); 12235TypeSymbol? type = this.VisitType(node.Type); 12251TypeSymbol? type = this.VisitType(node.Type); 12258TypeSymbol? type = this.VisitType(node.Type); 12266TypeSymbol? type = this.VisitType(node.Type); 12272TypeSymbol? type = this.VisitType(node.Type); 12279TypeSymbol? type = this.VisitType(node.Type); 12286TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12287TypeSymbol? type = this.VisitType(node.Type); 12292TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12293TypeSymbol? type = this.VisitType(node.Type); 12300TypeSymbol? type = this.VisitType(node.Type); 12308TypeSymbol? type = this.VisitType(node.Type); 12316TypeSymbol? type = this.VisitType(node.Type); 12321TypeSymbol? type = this.VisitType(node.Type); 12329TypeSymbol? type = this.VisitType(node.Type); 12335TypeSymbol? type = this.VisitType(node.Type); 12341TypeSymbol? type = this.VisitType(node.Type); 12348TypeSymbol? type = this.VisitType(node.Type); 12355TypeSymbol? type = this.VisitType(node.Type); 12361TypeSymbol? type = this.VisitType(node.Type); 12368TypeSymbol? elementType = this.VisitType(node.ElementType); 12369TypeSymbol? type = this.VisitType(node.Type); 12376TypeSymbol? elementType = this.VisitType(node.ElementType); 12377TypeSymbol? type = this.VisitType(node.Type); 12384TypeSymbol? type = this.VisitType(node.Type); 12390TypeSymbol? type = this.VisitType(node.Type); 12397TypeSymbol? type = this.VisitType(node.Type); 12404TypeSymbol? type = this.VisitType(node.Type); 12413TypeSymbol? type = this.VisitType(node.Type); 12424TypeSymbol? type = this.VisitType(node.Type); 12431TypeSymbol? type = this.VisitType(node.Type); 12439TypeSymbol? type = this.VisitType(node.Type); 12447TypeSymbol? type = this.VisitType(node.Type); 12453TypeSymbol? type = this.VisitType(node.Type); 12463TypeSymbol? type = this.VisitType(node.Type); 12474TypeSymbol? type = this.VisitType(node.Type); 12480TypeSymbol? type = this.VisitType(node.Type); 12486TypeSymbol? type = this.VisitType(node.Type); 12491TypeSymbol? type = this.VisitType(node.Type); 12496TypeSymbol? type = this.VisitType(node.Type); 12504TypeSymbol? type = this.VisitType(node.Type); 12514TypeSymbol? type = this.VisitType(node.Type); 12520TypeSymbol? inputType = this.VisitType(node.InputType); 12521TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12529TypeSymbol? unionMatchingInputType = this.VisitType(node.UnionMatchingInputType); 12530TypeSymbol? inputType = this.VisitType(node.InputType); 12531TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12536TypeSymbol? inputType = this.VisitType(node.InputType); 12537TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12545TypeSymbol? inputType = this.VisitType(node.InputType); 12546TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12557TypeSymbol? inputType = this.VisitType(node.InputType); 12558TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12570TypeSymbol? inputType = this.VisitType(node.InputType); 12571TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12580TypeSymbol? inputType = this.VisitType(node.InputType); 12581TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12589TypeSymbol? inputType = this.VisitType(node.InputType); 12590TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12609TypeSymbol? type = this.VisitType(node.Type); 12615TypeSymbol? inputType = this.VisitType(node.InputType); 12616TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12623TypeSymbol? inputType = this.VisitType(node.InputType); 12624TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12630TypeSymbol? inputType = this.VisitType(node.InputType); 12631TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12637TypeSymbol? inputType = this.VisitType(node.InputType); 12638TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12643TypeSymbol? type = this.VisitType(node.Type); 12649TypeSymbol? type = this.VisitType(node.Type); 12656TypeSymbol? type = this.VisitType(node.Type); 12663TypeSymbol? type = this.VisitType(node.Type); 12669TypeSymbol? type = this.VisitType(node.Type); 12689TypeSymbol? type = this.VisitType(node.Type); 12695TypeSymbol? type = this.VisitType(node.Type); 12703TypeSymbol? type = this.VisitType(node.Type);
Lowering\ExtensionMethodReferenceRewriter.cs (8)
87rewriter.VisitType(node.Type)); 203TypeSymbol? type = rewriter.VisitType(node.Type); 216var type = rewriter.VisitType(node.Type); 236TypeSymbol? constrainedToTypeOpt = rewriter.VisitType(node.ConstrainedToTypeOpt); 237TypeSymbol? type = rewriter.VisitType(node.Type); 254TypeSymbol? constrainedToType = rewriter.VisitType(node.ConstrainedToType); 285TypeSymbol? constrainedToTypeOpt = rewriter.VisitType(node.ConstrainedToTypeOpt); 286TypeSymbol? type = rewriter.VisitType(node.Type);
Lowering\LocalRewriter\LocalRewriter.cs (3)
663var type = this.VisitType(node.Type); 693var type = this.VisitType(node.Type); 840var indexType = VisitType(node.Indices[0].Type);
Lowering\LocalRewriter\LocalRewriter_AsOperator.cs (1)
20TypeSymbol rewrittenType = VisitType(node.Type);
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.cs (1)
123TypeSymbol type = this.VisitType(node.Type);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
69var rewrittenType = VisitType(node.Type);
Lowering\LocalRewriter\LocalRewriter_IsOperator.cs (1)
20TypeSymbol rewrittenType = VisitType(node.Type);
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
17TypeSymbol? rewrittenResultType = VisitType(node.Type);
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
226var rewrittenType = VisitType(initializer.Type);
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
90TypeSymbol? rewrittenExceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt);
Lowering\SpillSequenceSpiller.cs (1)
734TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt);