1 override of VisitType
Microsoft.CodeAnalysis.CSharp (1)
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
115public sealed override TypeSymbol? VisitType(TypeSymbol? type)
216 references to VisitType
Microsoft.CodeAnalysis.CSharp (216)
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)
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); 11192TypeSymbol? type = this.VisitType(node.Type); 11199TypeSymbol? type = this.VisitType(node.Type); 11211TypeSymbol? type = this.VisitType(node.Type); 11218TypeSymbol? 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); 11255TypeSymbol? type = this.VisitType(node.Type); 11260TypeSymbol? type = this.VisitType(node.Type); 11265TypeSymbol? type = this.VisitType(node.Type); 11272TypeSymbol? type = this.VisitType(node.Type); 11279TypeSymbol? type = this.VisitType(node.Type); 11284TypeSymbol? type = this.VisitType(node.Type); 11290TypeSymbol? type = this.VisitType(node.Type); 11297TypeSymbol? type = this.VisitType(node.Type); 11306TypeSymbol? type = this.VisitType(node.Type); 11312TypeSymbol? type = this.VisitType(node.Type); 11318TypeSymbol? type = this.VisitType(node.Type); 11325TypeSymbol? type = this.VisitType(node.Type); 11330TypeSymbol? type = this.VisitType(node.Type); 11336TypeSymbol? type = this.VisitType(node.Type); 11345TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11346TypeSymbol? type = this.VisitType(node.Type); 11552TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11557TypeSymbol? type = this.VisitType(node.Type); 11562TypeSymbol? type = this.VisitType(node.Type); 11567TypeSymbol? type = this.VisitType(node.Type); 11572TypeSymbol? type = this.VisitType(node.Type); 11577TypeSymbol? type = this.VisitType(node.Type); 11582TypeSymbol? type = this.VisitType(node.Type); 11588TypeSymbol? type = this.VisitType(node.Type); 11594TypeSymbol? type = this.VisitType(node.Type); 11601TypeSymbol? type = this.VisitType(node.Type); 11607TypeSymbol? type = this.VisitType(node.Type); 11631TypeSymbol? type = this.VisitType(node.Type); 11660TypeSymbol? type = this.VisitType(node.Type); 11669TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11670TypeSymbol? type = this.VisitType(node.Type); 11706TypeSymbol? type = this.VisitType(node.Type); 11712TypeSymbol? type = this.VisitType(node.Type); 11744TypeSymbol? type = this.VisitType(node.Type); 11772TypeSymbol? indexerType = this.VisitType(node.IndexerType); 11782TypeSymbol? sliceType = this.VisitType(node.SliceType); 11808TypeSymbol? type = this.VisitType(node.Type); 11816TypeSymbol? type = this.VisitType(node.Type); 11824TypeSymbol? type = this.VisitType(node.Type); 11830TypeSymbol? type = this.VisitType(node.Type); 11838TypeSymbol? type = this.VisitType(node.Type); 11845TypeSymbol? type = this.VisitType(node.Type); 11854TypeSymbol? type = this.VisitType(node.Type); 11859TypeSymbol? type = this.VisitType(node.Type); 11866TypeSymbol? type = this.VisitType(node.Type); 11875TypeSymbol? type = this.VisitType(node.Type); 11882TypeSymbol? type = this.VisitType(node.Type); 11891TypeSymbol? type = this.VisitType(node.Type); 11899TypeSymbol? type = this.VisitType(node.Type); 11907TypeSymbol? type = this.VisitType(node.Type); 11913TypeSymbol? type = this.VisitType(node.Type); 11922TypeSymbol? type = this.VisitType(node.Type); 11928TypeSymbol? type = this.VisitType(node.Type); 11940TypeSymbol? type = this.VisitType(node.Type); 11945TypeSymbol? type = this.VisitType(node.Type); 11961TypeSymbol? type = this.VisitType(node.Type); 11968TypeSymbol? type = this.VisitType(node.Type); 11976TypeSymbol? type = this.VisitType(node.Type); 11982TypeSymbol? type = this.VisitType(node.Type); 11989TypeSymbol? type = this.VisitType(node.Type); 11996TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 11997TypeSymbol? type = this.VisitType(node.Type); 12002TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12003TypeSymbol? type = this.VisitType(node.Type); 12010TypeSymbol? type = this.VisitType(node.Type); 12018TypeSymbol? type = this.VisitType(node.Type); 12026TypeSymbol? type = this.VisitType(node.Type); 12031TypeSymbol? type = this.VisitType(node.Type); 12039TypeSymbol? type = this.VisitType(node.Type); 12045TypeSymbol? type = this.VisitType(node.Type); 12051TypeSymbol? type = this.VisitType(node.Type); 12058TypeSymbol? type = this.VisitType(node.Type); 12065TypeSymbol? type = this.VisitType(node.Type); 12071TypeSymbol? type = this.VisitType(node.Type); 12078TypeSymbol? elementType = this.VisitType(node.ElementType); 12079TypeSymbol? type = this.VisitType(node.Type); 12086TypeSymbol? elementType = this.VisitType(node.ElementType); 12087TypeSymbol? type = this.VisitType(node.Type); 12094TypeSymbol? type = this.VisitType(node.Type); 12100TypeSymbol? type = this.VisitType(node.Type); 12107TypeSymbol? type = this.VisitType(node.Type); 12114TypeSymbol? type = this.VisitType(node.Type); 12123TypeSymbol? type = this.VisitType(node.Type); 12134TypeSymbol? type = this.VisitType(node.Type); 12141TypeSymbol? type = this.VisitType(node.Type); 12149TypeSymbol? type = this.VisitType(node.Type); 12157TypeSymbol? type = this.VisitType(node.Type); 12163TypeSymbol? type = this.VisitType(node.Type); 12173TypeSymbol? type = this.VisitType(node.Type); 12184TypeSymbol? type = this.VisitType(node.Type); 12190TypeSymbol? type = this.VisitType(node.Type); 12196TypeSymbol? type = this.VisitType(node.Type); 12201TypeSymbol? type = this.VisitType(node.Type); 12206TypeSymbol? type = this.VisitType(node.Type); 12214TypeSymbol? type = this.VisitType(node.Type); 12224TypeSymbol? type = this.VisitType(node.Type); 12230TypeSymbol? inputType = this.VisitType(node.InputType); 12231TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12236TypeSymbol? inputType = this.VisitType(node.InputType); 12237TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12245TypeSymbol? inputType = this.VisitType(node.InputType); 12246TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12257TypeSymbol? inputType = this.VisitType(node.InputType); 12258TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12270TypeSymbol? inputType = this.VisitType(node.InputType); 12271TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12280TypeSymbol? inputType = this.VisitType(node.InputType); 12281TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12289TypeSymbol? inputType = this.VisitType(node.InputType); 12290TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12309TypeSymbol? type = this.VisitType(node.Type); 12315TypeSymbol? inputType = this.VisitType(node.InputType); 12316TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12323TypeSymbol? inputType = this.VisitType(node.InputType); 12324TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12330TypeSymbol? inputType = this.VisitType(node.InputType); 12331TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12337TypeSymbol? inputType = this.VisitType(node.InputType); 12338TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12343TypeSymbol? type = this.VisitType(node.Type); 12349TypeSymbol? type = this.VisitType(node.Type); 12356TypeSymbol? type = this.VisitType(node.Type); 12363TypeSymbol? type = this.VisitType(node.Type); 12369TypeSymbol? type = this.VisitType(node.Type); 12389TypeSymbol? type = this.VisitType(node.Type); 12397TypeSymbol? type = this.VisitType(node.Type);
Lowering\ExtensionMethodReferenceRewriter.cs (5)
84rewriter.VisitType(node.Type)); 194TypeSymbol? type = this.VisitType(node.Type); 207var type = rewriter.VisitType(node.Type); 227TypeSymbol? constrainedToTypeOpt = rewriter.VisitType(node.ConstrainedToTypeOpt); 228TypeSymbol? 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);