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)
1186typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 1537var type = this.VisitType(binary.Type); 1755var exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 2161var type = this.VisitType(binary.Type); 2206TypeSymbol type = this.VisitType(node.Type); 2327typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 2341TypeSymbol? type = this.VisitType(node.Type); 2392type = this.VisitType(type);
Generated\BoundNodes.xml.Generated.cs (191)
11129TypeSymbol? type = this.VisitType(node.Type); 11135TypeSymbol? type = this.VisitType(node.Type); 11141TypeSymbol? type = this.VisitType(node.Type); 11146TypeSymbol? type = this.VisitType(node.Type); 11151TypeSymbol? type = this.VisitType(node.Type); 11156TypeSymbol? type = this.VisitType(node.Type); 11161TypeSymbol? type = this.VisitType(node.Type); 11166TypeSymbol? type = this.VisitType(node.Type); 11172TypeSymbol? type = this.VisitType(node.Type); 11177TypeSymbol? type = this.VisitType(node.Type); 11182TypeSymbol? type = this.VisitType(node.Type); 11187TypeSymbol? type = this.VisitType(node.Type); 11192TypeSymbol? type = this.VisitType(node.Type); 11197TypeSymbol? type = this.VisitType(node.Type); 11202TypeSymbol? type = this.VisitType(node.Type); 11208TypeSymbol? type = this.VisitType(node.Type); 11215TypeSymbol? type = this.VisitType(node.Type); 11233TypeSymbol? type = this.VisitType(node.Type); 11239TypeSymbol? type = this.VisitType(node.Type); 11246TypeSymbol? type = this.VisitType(node.Type); 11254TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11255TypeSymbol? type = this.VisitType(node.Type); 11267TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11268TypeSymbol? type = this.VisitType(node.Type); 11274TypeSymbol? type = this.VisitType(node.Type); 11280TypeSymbol? type = this.VisitType(node.Type); 11286TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11287TypeSymbol? type = this.VisitType(node.Type); 11293TypeSymbol? type = this.VisitType(node.Type); 11300TypeSymbol? type = this.VisitType(node.Type); 11307TypeSymbol? type = this.VisitType(node.Type); 11314TypeSymbol? type = this.VisitType(node.Type); 11320TypeSymbol? type = this.VisitType(node.Type); 11326TypeSymbol? type = this.VisitType(node.Type); 11333TypeSymbol? type = this.VisitType(node.Type); 11341TypeSymbol? type = this.VisitType(node.Type); 11348TypeSymbol? type = this.VisitType(node.Type); 11355TypeSymbol? type = this.VisitType(node.Type); 11368TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11369TypeSymbol? type = this.VisitType(node.Type); 11381TypeSymbol? type = this.VisitType(node.Type); 11388TypeSymbol? type = this.VisitType(node.Type); 11395TypeSymbol? type = this.VisitType(node.Type); 11404TypeSymbol? type = this.VisitType(node.Type); 11411TypeSymbol? type = this.VisitType(node.Type); 11419TypeSymbol? type = this.VisitType(node.Type); 11427TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11428TypeSymbol? type = this.VisitType(node.Type); 11435TypeSymbol? type = this.VisitType(node.Type); 11441TypeSymbol? type = this.VisitType(node.Type); 11447TypeSymbol? type = this.VisitType(node.Type); 11464TypeSymbol? type = this.VisitType(node.Type); 11471TypeSymbol? type = this.VisitType(node.Type); 11484TypeSymbol? type = this.VisitType(node.Type); 11491TypeSymbol? type = this.VisitType(node.Type); 11498TypeSymbol? type = this.VisitType(node.Type); 11503TypeSymbol? type = this.VisitType(node.Type); 11508TypeSymbol? type = this.VisitType(node.Type); 11513TypeSymbol? type = this.VisitType(node.Type); 11518TypeSymbol? type = this.VisitType(node.Type); 11523TypeSymbol? type = this.VisitType(node.Type); 11528TypeSymbol? type = this.VisitType(node.Type); 11533TypeSymbol? type = this.VisitType(node.Type); 11538TypeSymbol? type = this.VisitType(node.Type); 11545TypeSymbol? type = this.VisitType(node.Type); 11552TypeSymbol? type = this.VisitType(node.Type); 11557TypeSymbol? type = this.VisitType(node.Type); 11563TypeSymbol? type = this.VisitType(node.Type); 11570TypeSymbol? type = this.VisitType(node.Type); 11579TypeSymbol? type = this.VisitType(node.Type); 11585TypeSymbol? type = this.VisitType(node.Type); 11591TypeSymbol? type = this.VisitType(node.Type); 11598TypeSymbol? type = this.VisitType(node.Type); 11603TypeSymbol? type = this.VisitType(node.Type); 11609TypeSymbol? type = this.VisitType(node.Type); 11618TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11619TypeSymbol? type = this.VisitType(node.Type); 11826TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11831TypeSymbol? type = this.VisitType(node.Type); 11836TypeSymbol? type = this.VisitType(node.Type); 11841TypeSymbol? type = this.VisitType(node.Type); 11846TypeSymbol? type = this.VisitType(node.Type); 11851TypeSymbol? type = this.VisitType(node.Type); 11856TypeSymbol? type = this.VisitType(node.Type); 11862TypeSymbol? type = this.VisitType(node.Type); 11868TypeSymbol? type = this.VisitType(node.Type); 11875TypeSymbol? type = this.VisitType(node.Type); 11881TypeSymbol? type = this.VisitType(node.Type); 11905TypeSymbol? type = this.VisitType(node.Type); 11934TypeSymbol? type = this.VisitType(node.Type); 11943TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11944TypeSymbol? type = this.VisitType(node.Type); 11980TypeSymbol? type = this.VisitType(node.Type); 11986TypeSymbol? type = this.VisitType(node.Type); 12018TypeSymbol? type = this.VisitType(node.Type); 12046TypeSymbol? indexerType = this.VisitType(node.IndexerType); 12056TypeSymbol? sliceType = this.VisitType(node.SliceType); 12087TypeSymbol? type = this.VisitType(node.Type); 12095TypeSymbol? type = this.VisitType(node.Type); 12103TypeSymbol? type = this.VisitType(node.Type); 12109TypeSymbol? type = this.VisitType(node.Type); 12117TypeSymbol? type = this.VisitType(node.Type); 12124TypeSymbol? type = this.VisitType(node.Type); 12133TypeSymbol? type = this.VisitType(node.Type); 12138TypeSymbol? type = this.VisitType(node.Type); 12145TypeSymbol? type = this.VisitType(node.Type); 12154TypeSymbol? type = this.VisitType(node.Type); 12161TypeSymbol? type = this.VisitType(node.Type); 12170TypeSymbol? type = this.VisitType(node.Type); 12178TypeSymbol? type = this.VisitType(node.Type); 12186TypeSymbol? type = this.VisitType(node.Type); 12192TypeSymbol? type = this.VisitType(node.Type); 12201TypeSymbol? type = this.VisitType(node.Type); 12208TypeSymbol? type = this.VisitType(node.Type); 12224TypeSymbol? type = this.VisitType(node.Type); 12229TypeSymbol? type = this.VisitType(node.Type); 12245TypeSymbol? type = this.VisitType(node.Type); 12252TypeSymbol? type = this.VisitType(node.Type); 12260TypeSymbol? type = this.VisitType(node.Type); 12266TypeSymbol? type = this.VisitType(node.Type); 12273TypeSymbol? type = this.VisitType(node.Type); 12280TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12281TypeSymbol? type = this.VisitType(node.Type); 12286TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12287TypeSymbol? type = this.VisitType(node.Type); 12294TypeSymbol? type = this.VisitType(node.Type); 12302TypeSymbol? type = this.VisitType(node.Type); 12310TypeSymbol? type = this.VisitType(node.Type); 12315TypeSymbol? type = this.VisitType(node.Type); 12323TypeSymbol? type = this.VisitType(node.Type); 12329TypeSymbol? type = this.VisitType(node.Type); 12335TypeSymbol? type = this.VisitType(node.Type); 12342TypeSymbol? type = this.VisitType(node.Type); 12349TypeSymbol? type = this.VisitType(node.Type); 12355TypeSymbol? type = this.VisitType(node.Type); 12362TypeSymbol? elementType = this.VisitType(node.ElementType); 12363TypeSymbol? type = this.VisitType(node.Type); 12370TypeSymbol? elementType = this.VisitType(node.ElementType); 12371TypeSymbol? type = this.VisitType(node.Type); 12378TypeSymbol? type = this.VisitType(node.Type); 12384TypeSymbol? type = this.VisitType(node.Type); 12391TypeSymbol? type = this.VisitType(node.Type); 12398TypeSymbol? type = this.VisitType(node.Type); 12407TypeSymbol? type = this.VisitType(node.Type); 12418TypeSymbol? type = this.VisitType(node.Type); 12425TypeSymbol? type = this.VisitType(node.Type); 12433TypeSymbol? type = this.VisitType(node.Type); 12441TypeSymbol? type = this.VisitType(node.Type); 12447TypeSymbol? type = this.VisitType(node.Type); 12457TypeSymbol? type = this.VisitType(node.Type); 12468TypeSymbol? type = this.VisitType(node.Type); 12474TypeSymbol? type = this.VisitType(node.Type); 12480TypeSymbol? type = this.VisitType(node.Type); 12485TypeSymbol? type = this.VisitType(node.Type); 12490TypeSymbol? type = this.VisitType(node.Type); 12498TypeSymbol? type = this.VisitType(node.Type); 12508TypeSymbol? type = this.VisitType(node.Type); 12514TypeSymbol? inputType = this.VisitType(node.InputType); 12515TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12523TypeSymbol? unionMatchingInputType = this.VisitType(node.UnionMatchingInputType); 12524TypeSymbol? inputType = this.VisitType(node.InputType); 12525TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12530TypeSymbol? inputType = this.VisitType(node.InputType); 12531TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12539TypeSymbol? inputType = this.VisitType(node.InputType); 12540TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12551TypeSymbol? inputType = this.VisitType(node.InputType); 12552TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12564TypeSymbol? inputType = this.VisitType(node.InputType); 12565TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12574TypeSymbol? inputType = this.VisitType(node.InputType); 12575TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12583TypeSymbol? inputType = this.VisitType(node.InputType); 12584TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12603TypeSymbol? type = this.VisitType(node.Type); 12609TypeSymbol? inputType = this.VisitType(node.InputType); 12610TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12617TypeSymbol? inputType = this.VisitType(node.InputType); 12618TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12624TypeSymbol? inputType = this.VisitType(node.InputType); 12625TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12631TypeSymbol? inputType = this.VisitType(node.InputType); 12632TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12637TypeSymbol? type = this.VisitType(node.Type); 12643TypeSymbol? type = this.VisitType(node.Type); 12650TypeSymbol? type = this.VisitType(node.Type); 12657TypeSymbol? type = this.VisitType(node.Type); 12663TypeSymbol? type = this.VisitType(node.Type); 12683TypeSymbol? type = this.VisitType(node.Type); 12689TypeSymbol? type = this.VisitType(node.Type); 12697TypeSymbol? 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_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\LocalRewriter\LocalRewriter.cs (3)
664var type = this.VisitType(node.Type); 694var type = this.VisitType(node.Type); 841var indexType = VisitType(node.Indices[0].Type);
Lowering\SpillSequenceSpiller.cs (1)
735TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt);