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)
1184typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 1535var type = this.VisitType(binary.Type); 1751var exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 2110var type = this.VisitType(binary.Type); 2154TypeSymbol type = this.VisitType(node.Type); 2275typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 2289TypeSymbol? type = this.VisitType(node.Type); 2340type = this.VisitType(type);
Generated\BoundNodes.xml.Generated.cs (186)
10865TypeSymbol? type = this.VisitType(node.Type); 10871TypeSymbol? type = this.VisitType(node.Type); 10877TypeSymbol? type = this.VisitType(node.Type); 10882TypeSymbol? type = this.VisitType(node.Type); 10887TypeSymbol? type = this.VisitType(node.Type); 10892TypeSymbol? type = this.VisitType(node.Type); 10897TypeSymbol? type = this.VisitType(node.Type); 10902TypeSymbol? type = this.VisitType(node.Type); 10907TypeSymbol? type = this.VisitType(node.Type); 10912TypeSymbol? type = this.VisitType(node.Type); 10917TypeSymbol? type = this.VisitType(node.Type); 10922TypeSymbol? type = this.VisitType(node.Type); 10927TypeSymbol? type = this.VisitType(node.Type); 10932TypeSymbol? type = this.VisitType(node.Type); 10938TypeSymbol? type = this.VisitType(node.Type); 10945TypeSymbol? type = this.VisitType(node.Type); 10963TypeSymbol? type = this.VisitType(node.Type); 10968TypeSymbol? type = this.VisitType(node.Type); 10975TypeSymbol? type = this.VisitType(node.Type); 10983TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 10984TypeSymbol? type = this.VisitType(node.Type); 10996TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 10997TypeSymbol? type = this.VisitType(node.Type); 11003TypeSymbol? type = this.VisitType(node.Type); 11009TypeSymbol? type = this.VisitType(node.Type); 11015TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11016TypeSymbol? type = this.VisitType(node.Type); 11022TypeSymbol? type = this.VisitType(node.Type); 11029TypeSymbol? type = this.VisitType(node.Type); 11036TypeSymbol? type = this.VisitType(node.Type); 11043TypeSymbol? type = this.VisitType(node.Type); 11049TypeSymbol? type = this.VisitType(node.Type); 11055TypeSymbol? type = this.VisitType(node.Type); 11062TypeSymbol? type = this.VisitType(node.Type); 11070TypeSymbol? type = this.VisitType(node.Type); 11077TypeSymbol? type = this.VisitType(node.Type); 11084TypeSymbol? type = this.VisitType(node.Type); 11097TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11098TypeSymbol? type = this.VisitType(node.Type); 11110TypeSymbol? type = this.VisitType(node.Type); 11117TypeSymbol? type = this.VisitType(node.Type); 11124TypeSymbol? type = this.VisitType(node.Type); 11133TypeSymbol? type = this.VisitType(node.Type); 11140TypeSymbol? type = this.VisitType(node.Type); 11148TypeSymbol? type = this.VisitType(node.Type); 11156TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11157TypeSymbol? type = this.VisitType(node.Type); 11164TypeSymbol? type = this.VisitType(node.Type); 11170TypeSymbol? type = this.VisitType(node.Type); 11176TypeSymbol? type = this.VisitType(node.Type); 11193TypeSymbol? type = this.VisitType(node.Type); 11200TypeSymbol? type = this.VisitType(node.Type); 11213TypeSymbol? type = this.VisitType(node.Type); 11220TypeSymbol? type = this.VisitType(node.Type); 11227TypeSymbol? type = this.VisitType(node.Type); 11232TypeSymbol? type = this.VisitType(node.Type); 11237TypeSymbol? type = this.VisitType(node.Type); 11242TypeSymbol? type = this.VisitType(node.Type); 11247TypeSymbol? type = this.VisitType(node.Type); 11252TypeSymbol? type = this.VisitType(node.Type); 11257TypeSymbol? type = this.VisitType(node.Type); 11262TypeSymbol? type = this.VisitType(node.Type); 11267TypeSymbol? type = this.VisitType(node.Type); 11274TypeSymbol? type = this.VisitType(node.Type); 11281TypeSymbol? type = this.VisitType(node.Type); 11286TypeSymbol? type = this.VisitType(node.Type); 11292TypeSymbol? type = this.VisitType(node.Type); 11299TypeSymbol? type = this.VisitType(node.Type); 11308TypeSymbol? type = this.VisitType(node.Type); 11314TypeSymbol? type = this.VisitType(node.Type); 11320TypeSymbol? type = this.VisitType(node.Type); 11327TypeSymbol? type = this.VisitType(node.Type); 11332TypeSymbol? type = this.VisitType(node.Type); 11338TypeSymbol? type = this.VisitType(node.Type); 11347TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11348TypeSymbol? type = this.VisitType(node.Type); 11554TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11559TypeSymbol? type = this.VisitType(node.Type); 11564TypeSymbol? type = this.VisitType(node.Type); 11569TypeSymbol? type = this.VisitType(node.Type); 11574TypeSymbol? type = this.VisitType(node.Type); 11579TypeSymbol? type = this.VisitType(node.Type); 11584TypeSymbol? type = this.VisitType(node.Type); 11590TypeSymbol? type = this.VisitType(node.Type); 11596TypeSymbol? type = this.VisitType(node.Type); 11603TypeSymbol? type = this.VisitType(node.Type); 11609TypeSymbol? type = this.VisitType(node.Type); 11633TypeSymbol? type = this.VisitType(node.Type); 11662TypeSymbol? type = this.VisitType(node.Type); 11671TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11672TypeSymbol? type = this.VisitType(node.Type); 11708TypeSymbol? type = this.VisitType(node.Type); 11714TypeSymbol? type = this.VisitType(node.Type); 11746TypeSymbol? type = this.VisitType(node.Type); 11774TypeSymbol? indexerType = this.VisitType(node.IndexerType); 11784TypeSymbol? sliceType = this.VisitType(node.SliceType); 11810TypeSymbol? type = this.VisitType(node.Type); 11818TypeSymbol? type = this.VisitType(node.Type); 11826TypeSymbol? type = this.VisitType(node.Type); 11832TypeSymbol? type = this.VisitType(node.Type); 11840TypeSymbol? type = this.VisitType(node.Type); 11847TypeSymbol? type = this.VisitType(node.Type); 11856TypeSymbol? type = this.VisitType(node.Type); 11861TypeSymbol? type = this.VisitType(node.Type); 11868TypeSymbol? type = this.VisitType(node.Type); 11877TypeSymbol? type = this.VisitType(node.Type); 11884TypeSymbol? type = this.VisitType(node.Type); 11893TypeSymbol? type = this.VisitType(node.Type); 11901TypeSymbol? type = this.VisitType(node.Type); 11909TypeSymbol? type = this.VisitType(node.Type); 11915TypeSymbol? type = this.VisitType(node.Type); 11924TypeSymbol? type = this.VisitType(node.Type); 11930TypeSymbol? type = this.VisitType(node.Type); 11942TypeSymbol? type = this.VisitType(node.Type); 11947TypeSymbol? type = this.VisitType(node.Type); 11963TypeSymbol? type = this.VisitType(node.Type); 11970TypeSymbol? type = this.VisitType(node.Type); 11978TypeSymbol? type = this.VisitType(node.Type); 11984TypeSymbol? type = this.VisitType(node.Type); 11991TypeSymbol? type = this.VisitType(node.Type); 11998TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 11999TypeSymbol? type = this.VisitType(node.Type); 12004TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12005TypeSymbol? type = this.VisitType(node.Type); 12012TypeSymbol? type = this.VisitType(node.Type); 12020TypeSymbol? type = this.VisitType(node.Type); 12028TypeSymbol? type = this.VisitType(node.Type); 12033TypeSymbol? type = this.VisitType(node.Type); 12041TypeSymbol? type = this.VisitType(node.Type); 12047TypeSymbol? type = this.VisitType(node.Type); 12053TypeSymbol? type = this.VisitType(node.Type); 12060TypeSymbol? type = this.VisitType(node.Type); 12067TypeSymbol? type = this.VisitType(node.Type); 12073TypeSymbol? type = this.VisitType(node.Type); 12080TypeSymbol? elementType = this.VisitType(node.ElementType); 12081TypeSymbol? type = this.VisitType(node.Type); 12088TypeSymbol? elementType = this.VisitType(node.ElementType); 12089TypeSymbol? type = this.VisitType(node.Type); 12096TypeSymbol? type = this.VisitType(node.Type); 12102TypeSymbol? type = this.VisitType(node.Type); 12109TypeSymbol? type = this.VisitType(node.Type); 12116TypeSymbol? type = this.VisitType(node.Type); 12125TypeSymbol? type = this.VisitType(node.Type); 12136TypeSymbol? type = this.VisitType(node.Type); 12143TypeSymbol? type = this.VisitType(node.Type); 12151TypeSymbol? type = this.VisitType(node.Type); 12159TypeSymbol? type = this.VisitType(node.Type); 12165TypeSymbol? type = this.VisitType(node.Type); 12175TypeSymbol? type = this.VisitType(node.Type); 12186TypeSymbol? type = this.VisitType(node.Type); 12192TypeSymbol? type = this.VisitType(node.Type); 12198TypeSymbol? type = this.VisitType(node.Type); 12203TypeSymbol? type = this.VisitType(node.Type); 12208TypeSymbol? type = this.VisitType(node.Type); 12216TypeSymbol? type = this.VisitType(node.Type); 12226TypeSymbol? type = this.VisitType(node.Type); 12232TypeSymbol? inputType = this.VisitType(node.InputType); 12233TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12238TypeSymbol? inputType = this.VisitType(node.InputType); 12239TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12247TypeSymbol? inputType = this.VisitType(node.InputType); 12248TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12259TypeSymbol? inputType = this.VisitType(node.InputType); 12260TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12272TypeSymbol? inputType = this.VisitType(node.InputType); 12273TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12282TypeSymbol? inputType = this.VisitType(node.InputType); 12283TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12291TypeSymbol? inputType = this.VisitType(node.InputType); 12292TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12311TypeSymbol? type = this.VisitType(node.Type); 12317TypeSymbol? inputType = this.VisitType(node.InputType); 12318TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12325TypeSymbol? inputType = this.VisitType(node.InputType); 12326TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12332TypeSymbol? inputType = this.VisitType(node.InputType); 12333TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12339TypeSymbol? inputType = this.VisitType(node.InputType); 12340TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12345TypeSymbol? type = this.VisitType(node.Type); 12351TypeSymbol? type = this.VisitType(node.Type); 12358TypeSymbol? type = this.VisitType(node.Type); 12365TypeSymbol? type = this.VisitType(node.Type); 12371TypeSymbol? type = this.VisitType(node.Type); 12391TypeSymbol? type = this.VisitType(node.Type); 12399TypeSymbol? 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); 252TypeSymbol? constrainedToType = rewriter.VisitType(node.ConstrainedToType); 283TypeSymbol? constrainedToTypeOpt = rewriter.VisitType(node.ConstrainedToTypeOpt); 284TypeSymbol? 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)
734TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt);