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); 1753var exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 2112var type = this.VisitType(binary.Type); 2157TypeSymbol type = this.VisitType(node.Type); 2278typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 2292TypeSymbol? type = this.VisitType(node.Type); 2343type = this.VisitType(type);
Generated\BoundNodes.xml.Generated.cs (186)
10872TypeSymbol? type = this.VisitType(node.Type); 10878TypeSymbol? type = this.VisitType(node.Type); 10884TypeSymbol? type = this.VisitType(node.Type); 10889TypeSymbol? type = this.VisitType(node.Type); 10894TypeSymbol? type = this.VisitType(node.Type); 10899TypeSymbol? type = this.VisitType(node.Type); 10904TypeSymbol? type = this.VisitType(node.Type); 10909TypeSymbol? type = this.VisitType(node.Type); 10914TypeSymbol? type = this.VisitType(node.Type); 10919TypeSymbol? type = this.VisitType(node.Type); 10924TypeSymbol? type = this.VisitType(node.Type); 10929TypeSymbol? type = this.VisitType(node.Type); 10934TypeSymbol? type = this.VisitType(node.Type); 10939TypeSymbol? type = this.VisitType(node.Type); 10945TypeSymbol? type = this.VisitType(node.Type); 10952TypeSymbol? type = this.VisitType(node.Type); 10970TypeSymbol? type = this.VisitType(node.Type); 10975TypeSymbol? type = this.VisitType(node.Type); 10982TypeSymbol? type = this.VisitType(node.Type); 10990TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 10991TypeSymbol? type = this.VisitType(node.Type); 11003TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11004TypeSymbol? type = this.VisitType(node.Type); 11010TypeSymbol? type = this.VisitType(node.Type); 11016TypeSymbol? type = this.VisitType(node.Type); 11022TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11023TypeSymbol? type = this.VisitType(node.Type); 11029TypeSymbol? type = this.VisitType(node.Type); 11036TypeSymbol? type = this.VisitType(node.Type); 11043TypeSymbol? type = this.VisitType(node.Type); 11050TypeSymbol? type = this.VisitType(node.Type); 11056TypeSymbol? type = this.VisitType(node.Type); 11062TypeSymbol? type = this.VisitType(node.Type); 11069TypeSymbol? type = this.VisitType(node.Type); 11077TypeSymbol? type = this.VisitType(node.Type); 11084TypeSymbol? type = this.VisitType(node.Type); 11091TypeSymbol? type = this.VisitType(node.Type); 11104TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11105TypeSymbol? type = this.VisitType(node.Type); 11117TypeSymbol? type = this.VisitType(node.Type); 11124TypeSymbol? type = this.VisitType(node.Type); 11131TypeSymbol? type = this.VisitType(node.Type); 11140TypeSymbol? type = this.VisitType(node.Type); 11147TypeSymbol? type = this.VisitType(node.Type); 11155TypeSymbol? type = this.VisitType(node.Type); 11163TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11164TypeSymbol? type = this.VisitType(node.Type); 11171TypeSymbol? type = this.VisitType(node.Type); 11177TypeSymbol? type = this.VisitType(node.Type); 11183TypeSymbol? type = this.VisitType(node.Type); 11200TypeSymbol? type = this.VisitType(node.Type); 11207TypeSymbol? type = this.VisitType(node.Type); 11220TypeSymbol? type = this.VisitType(node.Type); 11227TypeSymbol? type = this.VisitType(node.Type); 11234TypeSymbol? type = this.VisitType(node.Type); 11239TypeSymbol? type = this.VisitType(node.Type); 11244TypeSymbol? type = this.VisitType(node.Type); 11249TypeSymbol? type = this.VisitType(node.Type); 11254TypeSymbol? type = this.VisitType(node.Type); 11259TypeSymbol? type = this.VisitType(node.Type); 11264TypeSymbol? type = this.VisitType(node.Type); 11269TypeSymbol? type = this.VisitType(node.Type); 11274TypeSymbol? type = this.VisitType(node.Type); 11281TypeSymbol? type = this.VisitType(node.Type); 11288TypeSymbol? type = this.VisitType(node.Type); 11293TypeSymbol? type = this.VisitType(node.Type); 11299TypeSymbol? type = this.VisitType(node.Type); 11306TypeSymbol? type = this.VisitType(node.Type); 11315TypeSymbol? type = this.VisitType(node.Type); 11321TypeSymbol? type = this.VisitType(node.Type); 11327TypeSymbol? type = this.VisitType(node.Type); 11334TypeSymbol? type = this.VisitType(node.Type); 11339TypeSymbol? type = this.VisitType(node.Type); 11345TypeSymbol? type = this.VisitType(node.Type); 11354TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11355TypeSymbol? type = this.VisitType(node.Type); 11560TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11565TypeSymbol? type = this.VisitType(node.Type); 11570TypeSymbol? type = this.VisitType(node.Type); 11575TypeSymbol? type = this.VisitType(node.Type); 11580TypeSymbol? type = this.VisitType(node.Type); 11585TypeSymbol? type = this.VisitType(node.Type); 11590TypeSymbol? type = this.VisitType(node.Type); 11596TypeSymbol? type = this.VisitType(node.Type); 11602TypeSymbol? type = this.VisitType(node.Type); 11609TypeSymbol? type = this.VisitType(node.Type); 11615TypeSymbol? type = this.VisitType(node.Type); 11639TypeSymbol? type = this.VisitType(node.Type); 11668TypeSymbol? type = this.VisitType(node.Type); 11677TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11678TypeSymbol? type = this.VisitType(node.Type); 11714TypeSymbol? type = this.VisitType(node.Type); 11720TypeSymbol? type = this.VisitType(node.Type); 11752TypeSymbol? type = this.VisitType(node.Type); 11780TypeSymbol? indexerType = this.VisitType(node.IndexerType); 11790TypeSymbol? sliceType = this.VisitType(node.SliceType); 11816TypeSymbol? type = this.VisitType(node.Type); 11824TypeSymbol? type = this.VisitType(node.Type); 11832TypeSymbol? type = this.VisitType(node.Type); 11838TypeSymbol? type = this.VisitType(node.Type); 11846TypeSymbol? type = this.VisitType(node.Type); 11853TypeSymbol? type = this.VisitType(node.Type); 11862TypeSymbol? type = this.VisitType(node.Type); 11867TypeSymbol? type = this.VisitType(node.Type); 11874TypeSymbol? type = this.VisitType(node.Type); 11883TypeSymbol? type = this.VisitType(node.Type); 11890TypeSymbol? type = this.VisitType(node.Type); 11899TypeSymbol? type = this.VisitType(node.Type); 11907TypeSymbol? type = this.VisitType(node.Type); 11915TypeSymbol? type = this.VisitType(node.Type); 11921TypeSymbol? type = this.VisitType(node.Type); 11930TypeSymbol? type = this.VisitType(node.Type); 11936TypeSymbol? type = this.VisitType(node.Type); 11948TypeSymbol? type = this.VisitType(node.Type); 11953TypeSymbol? type = this.VisitType(node.Type); 11969TypeSymbol? type = this.VisitType(node.Type); 11976TypeSymbol? type = this.VisitType(node.Type); 11984TypeSymbol? type = this.VisitType(node.Type); 11990TypeSymbol? type = this.VisitType(node.Type); 11997TypeSymbol? type = this.VisitType(node.Type); 12004TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12005TypeSymbol? type = this.VisitType(node.Type); 12010TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12011TypeSymbol? type = this.VisitType(node.Type); 12018TypeSymbol? type = this.VisitType(node.Type); 12026TypeSymbol? type = this.VisitType(node.Type); 12034TypeSymbol? type = this.VisitType(node.Type); 12039TypeSymbol? type = this.VisitType(node.Type); 12047TypeSymbol? type = this.VisitType(node.Type); 12053TypeSymbol? type = this.VisitType(node.Type); 12059TypeSymbol? type = this.VisitType(node.Type); 12066TypeSymbol? type = this.VisitType(node.Type); 12073TypeSymbol? type = this.VisitType(node.Type); 12079TypeSymbol? type = this.VisitType(node.Type); 12086TypeSymbol? elementType = this.VisitType(node.ElementType); 12087TypeSymbol? type = this.VisitType(node.Type); 12094TypeSymbol? elementType = this.VisitType(node.ElementType); 12095TypeSymbol? type = this.VisitType(node.Type); 12102TypeSymbol? type = this.VisitType(node.Type); 12108TypeSymbol? type = this.VisitType(node.Type); 12115TypeSymbol? type = this.VisitType(node.Type); 12122TypeSymbol? type = this.VisitType(node.Type); 12131TypeSymbol? type = this.VisitType(node.Type); 12142TypeSymbol? type = this.VisitType(node.Type); 12149TypeSymbol? type = this.VisitType(node.Type); 12157TypeSymbol? type = this.VisitType(node.Type); 12165TypeSymbol? type = this.VisitType(node.Type); 12171TypeSymbol? type = this.VisitType(node.Type); 12181TypeSymbol? type = this.VisitType(node.Type); 12192TypeSymbol? type = this.VisitType(node.Type); 12198TypeSymbol? type = this.VisitType(node.Type); 12204TypeSymbol? type = this.VisitType(node.Type); 12209TypeSymbol? type = this.VisitType(node.Type); 12214TypeSymbol? type = this.VisitType(node.Type); 12222TypeSymbol? type = this.VisitType(node.Type); 12232TypeSymbol? type = this.VisitType(node.Type); 12238TypeSymbol? inputType = this.VisitType(node.InputType); 12239TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12244TypeSymbol? inputType = this.VisitType(node.InputType); 12245TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12253TypeSymbol? inputType = this.VisitType(node.InputType); 12254TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12265TypeSymbol? inputType = this.VisitType(node.InputType); 12266TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12278TypeSymbol? inputType = this.VisitType(node.InputType); 12279TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12288TypeSymbol? inputType = this.VisitType(node.InputType); 12289TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12297TypeSymbol? inputType = this.VisitType(node.InputType); 12298TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12317TypeSymbol? type = this.VisitType(node.Type); 12323TypeSymbol? inputType = this.VisitType(node.InputType); 12324TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12331TypeSymbol? inputType = this.VisitType(node.InputType); 12332TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12338TypeSymbol? inputType = this.VisitType(node.InputType); 12339TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12345TypeSymbol? inputType = this.VisitType(node.InputType); 12346TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12351TypeSymbol? type = this.VisitType(node.Type); 12357TypeSymbol? type = this.VisitType(node.Type); 12364TypeSymbol? type = this.VisitType(node.Type); 12371TypeSymbol? type = this.VisitType(node.Type); 12377TypeSymbol? type = this.VisitType(node.Type); 12397TypeSymbol? type = this.VisitType(node.Type); 12405TypeSymbol? 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.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);