1 override of VisitType
Microsoft.CodeAnalysis.CSharp (1)
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
115public sealed override TypeSymbol? VisitType(TypeSymbol? type)
219 references to VisitType
Microsoft.CodeAnalysis.CSharp (219)
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)
1174typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 1525var type = this.VisitType(binary.Type); 1741var exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 2100var type = this.VisitType(binary.Type); 2144TypeSymbol type = this.VisitType(node.Type); 2265typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 2279TypeSymbol? type = this.VisitType(node.Type); 2330type = this.VisitType(type);
Generated\BoundNodes.xml.Generated.cs (186)
10851TypeSymbol? type = this.VisitType(node.Type); 10857TypeSymbol? type = this.VisitType(node.Type); 10863TypeSymbol? type = this.VisitType(node.Type); 10868TypeSymbol? type = this.VisitType(node.Type); 10873TypeSymbol? type = this.VisitType(node.Type); 10878TypeSymbol? type = this.VisitType(node.Type); 10883TypeSymbol? type = this.VisitType(node.Type); 10888TypeSymbol? type = this.VisitType(node.Type); 10893TypeSymbol? type = this.VisitType(node.Type); 10898TypeSymbol? type = this.VisitType(node.Type); 10903TypeSymbol? type = this.VisitType(node.Type); 10908TypeSymbol? type = this.VisitType(node.Type); 10913TypeSymbol? type = this.VisitType(node.Type); 10918TypeSymbol? type = this.VisitType(node.Type); 10924TypeSymbol? type = this.VisitType(node.Type); 10931TypeSymbol? type = this.VisitType(node.Type); 10949TypeSymbol? type = this.VisitType(node.Type); 10954TypeSymbol? type = this.VisitType(node.Type); 10961TypeSymbol? type = this.VisitType(node.Type); 10969TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 10970TypeSymbol? type = this.VisitType(node.Type); 10982TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 10983TypeSymbol? type = this.VisitType(node.Type); 10989TypeSymbol? type = this.VisitType(node.Type); 10995TypeSymbol? type = this.VisitType(node.Type); 11001TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11002TypeSymbol? type = this.VisitType(node.Type); 11008TypeSymbol? type = this.VisitType(node.Type); 11015TypeSymbol? type = this.VisitType(node.Type); 11022TypeSymbol? type = this.VisitType(node.Type); 11029TypeSymbol? type = this.VisitType(node.Type); 11035TypeSymbol? type = this.VisitType(node.Type); 11041TypeSymbol? type = this.VisitType(node.Type); 11048TypeSymbol? type = this.VisitType(node.Type); 11056TypeSymbol? type = this.VisitType(node.Type); 11063TypeSymbol? type = this.VisitType(node.Type); 11070TypeSymbol? type = this.VisitType(node.Type); 11083TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11084TypeSymbol? type = this.VisitType(node.Type); 11096TypeSymbol? type = this.VisitType(node.Type); 11103TypeSymbol? type = this.VisitType(node.Type); 11110TypeSymbol? type = this.VisitType(node.Type); 11119TypeSymbol? type = this.VisitType(node.Type); 11126TypeSymbol? type = this.VisitType(node.Type); 11134TypeSymbol? type = this.VisitType(node.Type); 11142TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11143TypeSymbol? type = this.VisitType(node.Type); 11150TypeSymbol? type = this.VisitType(node.Type); 11156TypeSymbol? type = this.VisitType(node.Type); 11162TypeSymbol? type = this.VisitType(node.Type); 11177TypeSymbol? type = this.VisitType(node.Type); 11184TypeSymbol? type = this.VisitType(node.Type); 11196TypeSymbol? type = this.VisitType(node.Type); 11203TypeSymbol? type = this.VisitType(node.Type); 11210TypeSymbol? type = this.VisitType(node.Type); 11215TypeSymbol? type = this.VisitType(node.Type); 11220TypeSymbol? type = this.VisitType(node.Type); 11225TypeSymbol? type = this.VisitType(node.Type); 11230TypeSymbol? type = this.VisitType(node.Type); 11235TypeSymbol? type = this.VisitType(node.Type); 11240TypeSymbol? type = this.VisitType(node.Type); 11245TypeSymbol? type = this.VisitType(node.Type); 11250TypeSymbol? type = this.VisitType(node.Type); 11257TypeSymbol? type = this.VisitType(node.Type); 11264TypeSymbol? type = this.VisitType(node.Type); 11269TypeSymbol? type = this.VisitType(node.Type); 11275TypeSymbol? type = this.VisitType(node.Type); 11282TypeSymbol? type = this.VisitType(node.Type); 11291TypeSymbol? type = this.VisitType(node.Type); 11297TypeSymbol? type = this.VisitType(node.Type); 11303TypeSymbol? type = this.VisitType(node.Type); 11310TypeSymbol? type = this.VisitType(node.Type); 11315TypeSymbol? type = this.VisitType(node.Type); 11321TypeSymbol? type = this.VisitType(node.Type); 11330TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11331TypeSymbol? type = this.VisitType(node.Type); 11537TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11542TypeSymbol? type = this.VisitType(node.Type); 11547TypeSymbol? type = this.VisitType(node.Type); 11552TypeSymbol? type = this.VisitType(node.Type); 11557TypeSymbol? type = this.VisitType(node.Type); 11562TypeSymbol? type = this.VisitType(node.Type); 11567TypeSymbol? type = this.VisitType(node.Type); 11573TypeSymbol? type = this.VisitType(node.Type); 11579TypeSymbol? type = this.VisitType(node.Type); 11586TypeSymbol? type = this.VisitType(node.Type); 11592TypeSymbol? type = this.VisitType(node.Type); 11616TypeSymbol? type = this.VisitType(node.Type); 11645TypeSymbol? type = this.VisitType(node.Type); 11654TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11655TypeSymbol? type = this.VisitType(node.Type); 11691TypeSymbol? type = this.VisitType(node.Type); 11697TypeSymbol? type = this.VisitType(node.Type); 11729TypeSymbol? type = this.VisitType(node.Type); 11757TypeSymbol? indexerType = this.VisitType(node.IndexerType); 11767TypeSymbol? sliceType = this.VisitType(node.SliceType); 11793TypeSymbol? type = this.VisitType(node.Type); 11801TypeSymbol? type = this.VisitType(node.Type); 11809TypeSymbol? type = this.VisitType(node.Type); 11815TypeSymbol? type = this.VisitType(node.Type); 11823TypeSymbol? type = this.VisitType(node.Type); 11830TypeSymbol? type = this.VisitType(node.Type); 11839TypeSymbol? type = this.VisitType(node.Type); 11844TypeSymbol? type = this.VisitType(node.Type); 11851TypeSymbol? type = this.VisitType(node.Type); 11860TypeSymbol? type = this.VisitType(node.Type); 11867TypeSymbol? type = this.VisitType(node.Type); 11876TypeSymbol? type = this.VisitType(node.Type); 11884TypeSymbol? type = this.VisitType(node.Type); 11892TypeSymbol? type = this.VisitType(node.Type); 11898TypeSymbol? type = this.VisitType(node.Type); 11907TypeSymbol? type = this.VisitType(node.Type); 11913TypeSymbol? type = this.VisitType(node.Type); 11925TypeSymbol? type = this.VisitType(node.Type); 11930TypeSymbol? type = this.VisitType(node.Type); 11946TypeSymbol? type = this.VisitType(node.Type); 11953TypeSymbol? type = this.VisitType(node.Type); 11961TypeSymbol? type = this.VisitType(node.Type); 11967TypeSymbol? type = this.VisitType(node.Type); 11974TypeSymbol? type = this.VisitType(node.Type); 11981TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 11982TypeSymbol? type = this.VisitType(node.Type); 11987TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 11988TypeSymbol? type = this.VisitType(node.Type); 11995TypeSymbol? type = this.VisitType(node.Type); 12003TypeSymbol? type = this.VisitType(node.Type); 12011TypeSymbol? type = this.VisitType(node.Type); 12016TypeSymbol? type = this.VisitType(node.Type); 12024TypeSymbol? type = this.VisitType(node.Type); 12030TypeSymbol? type = this.VisitType(node.Type); 12036TypeSymbol? type = this.VisitType(node.Type); 12043TypeSymbol? type = this.VisitType(node.Type); 12050TypeSymbol? type = this.VisitType(node.Type); 12056TypeSymbol? type = this.VisitType(node.Type); 12063TypeSymbol? elementType = this.VisitType(node.ElementType); 12064TypeSymbol? type = this.VisitType(node.Type); 12071TypeSymbol? elementType = this.VisitType(node.ElementType); 12072TypeSymbol? type = this.VisitType(node.Type); 12079TypeSymbol? type = this.VisitType(node.Type); 12085TypeSymbol? type = this.VisitType(node.Type); 12092TypeSymbol? type = this.VisitType(node.Type); 12099TypeSymbol? type = this.VisitType(node.Type); 12108TypeSymbol? type = this.VisitType(node.Type); 12119TypeSymbol? type = this.VisitType(node.Type); 12126TypeSymbol? type = this.VisitType(node.Type); 12134TypeSymbol? type = this.VisitType(node.Type); 12142TypeSymbol? type = this.VisitType(node.Type); 12148TypeSymbol? type = this.VisitType(node.Type); 12158TypeSymbol? type = this.VisitType(node.Type); 12169TypeSymbol? type = this.VisitType(node.Type); 12175TypeSymbol? type = this.VisitType(node.Type); 12181TypeSymbol? type = this.VisitType(node.Type); 12186TypeSymbol? type = this.VisitType(node.Type); 12191TypeSymbol? type = this.VisitType(node.Type); 12199TypeSymbol? type = this.VisitType(node.Type); 12209TypeSymbol? type = this.VisitType(node.Type); 12215TypeSymbol? inputType = this.VisitType(node.InputType); 12216TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12221TypeSymbol? inputType = this.VisitType(node.InputType); 12222TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12230TypeSymbol? inputType = this.VisitType(node.InputType); 12231TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12242TypeSymbol? inputType = this.VisitType(node.InputType); 12243TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12255TypeSymbol? inputType = this.VisitType(node.InputType); 12256TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12265TypeSymbol? inputType = this.VisitType(node.InputType); 12266TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12274TypeSymbol? inputType = this.VisitType(node.InputType); 12275TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12294TypeSymbol? type = this.VisitType(node.Type); 12300TypeSymbol? inputType = this.VisitType(node.InputType); 12301TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12308TypeSymbol? inputType = this.VisitType(node.InputType); 12309TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12315TypeSymbol? inputType = this.VisitType(node.InputType); 12316TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12322TypeSymbol? inputType = this.VisitType(node.InputType); 12323TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12328TypeSymbol? type = this.VisitType(node.Type); 12334TypeSymbol? type = this.VisitType(node.Type); 12341TypeSymbol? type = this.VisitType(node.Type); 12348TypeSymbol? type = this.VisitType(node.Type); 12354TypeSymbol? type = this.VisitType(node.Type); 12374TypeSymbol? type = this.VisitType(node.Type); 12382TypeSymbol? type = this.VisitType(node.Type);
Lowering\ExtensionMethodReferenceRewriter.cs (8)
87rewriter.VisitType(node.Type)); 196TypeSymbol? type = this.VisitType(node.Type); 209var type = rewriter.VisitType(node.Type); 229TypeSymbol? constrainedToTypeOpt = rewriter.VisitType(node.ConstrainedToTypeOpt); 230TypeSymbol? type = rewriter.VisitType(node.Type); 245TypeSymbol? constrainedToType = rewriter.VisitType(node.ConstrainedToType); 276TypeSymbol? constrainedToTypeOpt = rewriter.VisitType(node.ConstrainedToTypeOpt); 277TypeSymbol? type = rewriter.VisitType(node.Type);
Lowering\LocalRewriter\LocalRewriter.cs (3)
654var type = this.VisitType(node.Type); 684var type = this.VisitType(node.Type); 831var 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)
724TypeSymbol exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt);