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)
11135TypeSymbol? type = this.VisitType(node.Type); 11141TypeSymbol? type = this.VisitType(node.Type); 11147TypeSymbol? type = this.VisitType(node.Type); 11152TypeSymbol? type = this.VisitType(node.Type); 11157TypeSymbol? type = this.VisitType(node.Type); 11162TypeSymbol? type = this.VisitType(node.Type); 11167TypeSymbol? type = this.VisitType(node.Type); 11172TypeSymbol? type = this.VisitType(node.Type); 11178TypeSymbol? type = this.VisitType(node.Type); 11183TypeSymbol? type = this.VisitType(node.Type); 11188TypeSymbol? type = this.VisitType(node.Type); 11193TypeSymbol? type = this.VisitType(node.Type); 11198TypeSymbol? type = this.VisitType(node.Type); 11203TypeSymbol? type = this.VisitType(node.Type); 11208TypeSymbol? type = this.VisitType(node.Type); 11214TypeSymbol? type = this.VisitType(node.Type); 11221TypeSymbol? type = this.VisitType(node.Type); 11239TypeSymbol? type = this.VisitType(node.Type); 11245TypeSymbol? type = this.VisitType(node.Type); 11252TypeSymbol? type = this.VisitType(node.Type); 11260TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11261TypeSymbol? type = this.VisitType(node.Type); 11273TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11274TypeSymbol? type = this.VisitType(node.Type); 11280TypeSymbol? type = this.VisitType(node.Type); 11286TypeSymbol? type = this.VisitType(node.Type); 11292TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11293TypeSymbol? type = this.VisitType(node.Type); 11299TypeSymbol? type = this.VisitType(node.Type); 11306TypeSymbol? type = this.VisitType(node.Type); 11313TypeSymbol? type = this.VisitType(node.Type); 11320TypeSymbol? type = this.VisitType(node.Type); 11326TypeSymbol? type = this.VisitType(node.Type); 11332TypeSymbol? type = this.VisitType(node.Type); 11339TypeSymbol? type = this.VisitType(node.Type); 11347TypeSymbol? type = this.VisitType(node.Type); 11354TypeSymbol? type = this.VisitType(node.Type); 11361TypeSymbol? type = this.VisitType(node.Type); 11374TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11375TypeSymbol? type = this.VisitType(node.Type); 11387TypeSymbol? type = this.VisitType(node.Type); 11394TypeSymbol? type = this.VisitType(node.Type); 11401TypeSymbol? type = this.VisitType(node.Type); 11410TypeSymbol? type = this.VisitType(node.Type); 11417TypeSymbol? type = this.VisitType(node.Type); 11425TypeSymbol? type = this.VisitType(node.Type); 11433TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11434TypeSymbol? type = this.VisitType(node.Type); 11441TypeSymbol? type = this.VisitType(node.Type); 11447TypeSymbol? type = this.VisitType(node.Type); 11453TypeSymbol? type = this.VisitType(node.Type); 11470TypeSymbol? type = this.VisitType(node.Type); 11477TypeSymbol? type = this.VisitType(node.Type); 11490TypeSymbol? type = this.VisitType(node.Type); 11497TypeSymbol? type = this.VisitType(node.Type); 11504TypeSymbol? type = this.VisitType(node.Type); 11509TypeSymbol? type = this.VisitType(node.Type); 11514TypeSymbol? type = this.VisitType(node.Type); 11519TypeSymbol? type = this.VisitType(node.Type); 11524TypeSymbol? type = this.VisitType(node.Type); 11529TypeSymbol? type = this.VisitType(node.Type); 11534TypeSymbol? type = this.VisitType(node.Type); 11539TypeSymbol? type = this.VisitType(node.Type); 11544TypeSymbol? type = this.VisitType(node.Type); 11551TypeSymbol? type = this.VisitType(node.Type); 11558TypeSymbol? type = this.VisitType(node.Type); 11563TypeSymbol? type = this.VisitType(node.Type); 11569TypeSymbol? type = this.VisitType(node.Type); 11576TypeSymbol? type = this.VisitType(node.Type); 11585TypeSymbol? type = this.VisitType(node.Type); 11591TypeSymbol? type = this.VisitType(node.Type); 11597TypeSymbol? type = this.VisitType(node.Type); 11604TypeSymbol? type = this.VisitType(node.Type); 11609TypeSymbol? type = this.VisitType(node.Type); 11615TypeSymbol? type = this.VisitType(node.Type); 11624TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11625TypeSymbol? 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); 12531TypeSymbol? unionMatchingInputType = this.VisitType(node.UnionMatchingInputType); 12532TypeSymbol? inputType = this.VisitType(node.InputType); 12533TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12538TypeSymbol? inputType = this.VisitType(node.InputType); 12539TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12547TypeSymbol? inputType = this.VisitType(node.InputType); 12548TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12559TypeSymbol? inputType = this.VisitType(node.InputType); 12560TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12572TypeSymbol? inputType = this.VisitType(node.InputType); 12573TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12582TypeSymbol? inputType = this.VisitType(node.InputType); 12583TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12591TypeSymbol? inputType = this.VisitType(node.InputType); 12592TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12611TypeSymbol? type = this.VisitType(node.Type); 12617TypeSymbol? inputType = this.VisitType(node.InputType); 12618TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12625TypeSymbol? inputType = this.VisitType(node.InputType); 12626TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12632TypeSymbol? inputType = this.VisitType(node.InputType); 12633TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12639TypeSymbol? inputType = this.VisitType(node.InputType); 12640TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12645TypeSymbol? type = this.VisitType(node.Type); 12651TypeSymbol? type = this.VisitType(node.Type); 12658TypeSymbol? type = this.VisitType(node.Type); 12665TypeSymbol? type = this.VisitType(node.Type); 12671TypeSymbol? type = this.VisitType(node.Type); 12691TypeSymbol? type = this.VisitType(node.Type); 12697TypeSymbol? type = this.VisitType(node.Type); 12705TypeSymbol? 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);