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)
10866TypeSymbol? type = this.VisitType(node.Type); 10872TypeSymbol? 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); 10923TypeSymbol? type = this.VisitType(node.Type); 10928TypeSymbol? type = this.VisitType(node.Type); 10933TypeSymbol? type = this.VisitType(node.Type); 10939TypeSymbol? type = this.VisitType(node.Type); 10946TypeSymbol? type = this.VisitType(node.Type); 10964TypeSymbol? type = this.VisitType(node.Type); 10969TypeSymbol? type = this.VisitType(node.Type); 10976TypeSymbol? type = this.VisitType(node.Type); 10984TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 10985TypeSymbol? type = this.VisitType(node.Type); 10997TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 10998TypeSymbol? type = this.VisitType(node.Type); 11004TypeSymbol? type = this.VisitType(node.Type); 11010TypeSymbol? type = this.VisitType(node.Type); 11016TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11017TypeSymbol? type = this.VisitType(node.Type); 11023TypeSymbol? type = this.VisitType(node.Type); 11030TypeSymbol? type = this.VisitType(node.Type); 11037TypeSymbol? type = this.VisitType(node.Type); 11044TypeSymbol? type = this.VisitType(node.Type); 11050TypeSymbol? type = this.VisitType(node.Type); 11056TypeSymbol? type = this.VisitType(node.Type); 11063TypeSymbol? type = this.VisitType(node.Type); 11071TypeSymbol? type = this.VisitType(node.Type); 11078TypeSymbol? type = this.VisitType(node.Type); 11085TypeSymbol? type = this.VisitType(node.Type); 11098TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11099TypeSymbol? type = this.VisitType(node.Type); 11111TypeSymbol? type = this.VisitType(node.Type); 11118TypeSymbol? type = this.VisitType(node.Type); 11125TypeSymbol? type = this.VisitType(node.Type); 11134TypeSymbol? type = this.VisitType(node.Type); 11141TypeSymbol? type = this.VisitType(node.Type); 11149TypeSymbol? type = this.VisitType(node.Type); 11157TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11158TypeSymbol? type = this.VisitType(node.Type); 11165TypeSymbol? type = this.VisitType(node.Type); 11171TypeSymbol? type = this.VisitType(node.Type); 11177TypeSymbol? type = this.VisitType(node.Type); 11194TypeSymbol? type = this.VisitType(node.Type); 11201TypeSymbol? type = this.VisitType(node.Type); 11214TypeSymbol? type = this.VisitType(node.Type); 11221TypeSymbol? type = this.VisitType(node.Type); 11228TypeSymbol? type = this.VisitType(node.Type); 11233TypeSymbol? type = this.VisitType(node.Type); 11238TypeSymbol? type = this.VisitType(node.Type); 11243TypeSymbol? type = this.VisitType(node.Type); 11248TypeSymbol? type = this.VisitType(node.Type); 11253TypeSymbol? type = this.VisitType(node.Type); 11258TypeSymbol? type = this.VisitType(node.Type); 11263TypeSymbol? type = this.VisitType(node.Type); 11268TypeSymbol? type = this.VisitType(node.Type); 11275TypeSymbol? type = this.VisitType(node.Type); 11282TypeSymbol? type = this.VisitType(node.Type); 11287TypeSymbol? type = this.VisitType(node.Type); 11293TypeSymbol? type = this.VisitType(node.Type); 11300TypeSymbol? type = this.VisitType(node.Type); 11309TypeSymbol? type = this.VisitType(node.Type); 11315TypeSymbol? type = this.VisitType(node.Type); 11321TypeSymbol? type = this.VisitType(node.Type); 11328TypeSymbol? type = this.VisitType(node.Type); 11333TypeSymbol? type = this.VisitType(node.Type); 11339TypeSymbol? type = this.VisitType(node.Type); 11348TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11349TypeSymbol? 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);