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)
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)
10855TypeSymbol? type = this.VisitType(node.Type); 10861TypeSymbol? type = this.VisitType(node.Type); 10867TypeSymbol? type = this.VisitType(node.Type); 10872TypeSymbol? 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); 10928TypeSymbol? type = this.VisitType(node.Type); 10935TypeSymbol? type = this.VisitType(node.Type); 10953TypeSymbol? type = this.VisitType(node.Type); 10958TypeSymbol? type = this.VisitType(node.Type); 10965TypeSymbol? type = this.VisitType(node.Type); 10973TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 10974TypeSymbol? type = this.VisitType(node.Type); 10986TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 10987TypeSymbol? type = this.VisitType(node.Type); 10993TypeSymbol? type = this.VisitType(node.Type); 10999TypeSymbol? type = this.VisitType(node.Type); 11005TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11006TypeSymbol? type = this.VisitType(node.Type); 11012TypeSymbol? type = this.VisitType(node.Type); 11019TypeSymbol? type = this.VisitType(node.Type); 11026TypeSymbol? type = this.VisitType(node.Type); 11033TypeSymbol? type = this.VisitType(node.Type); 11039TypeSymbol? type = this.VisitType(node.Type); 11045TypeSymbol? type = this.VisitType(node.Type); 11052TypeSymbol? type = this.VisitType(node.Type); 11060TypeSymbol? type = this.VisitType(node.Type); 11067TypeSymbol? type = this.VisitType(node.Type); 11074TypeSymbol? type = this.VisitType(node.Type); 11087TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11088TypeSymbol? type = this.VisitType(node.Type); 11100TypeSymbol? type = this.VisitType(node.Type); 11107TypeSymbol? type = this.VisitType(node.Type); 11114TypeSymbol? type = this.VisitType(node.Type); 11123TypeSymbol? type = this.VisitType(node.Type); 11130TypeSymbol? type = this.VisitType(node.Type); 11138TypeSymbol? type = this.VisitType(node.Type); 11146TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11147TypeSymbol? type = this.VisitType(node.Type); 11154TypeSymbol? type = this.VisitType(node.Type); 11160TypeSymbol? type = this.VisitType(node.Type); 11166TypeSymbol? type = this.VisitType(node.Type); 11181TypeSymbol? type = this.VisitType(node.Type); 11188TypeSymbol? type = this.VisitType(node.Type); 11200TypeSymbol? type = this.VisitType(node.Type); 11207TypeSymbol? type = this.VisitType(node.Type); 11214TypeSymbol? type = this.VisitType(node.Type); 11219TypeSymbol? type = this.VisitType(node.Type); 11224TypeSymbol? type = this.VisitType(node.Type); 11229TypeSymbol? 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); 11261TypeSymbol? type = this.VisitType(node.Type); 11268TypeSymbol? type = this.VisitType(node.Type); 11273TypeSymbol? type = this.VisitType(node.Type); 11279TypeSymbol? type = this.VisitType(node.Type); 11286TypeSymbol? type = this.VisitType(node.Type); 11295TypeSymbol? type = this.VisitType(node.Type); 11301TypeSymbol? type = this.VisitType(node.Type); 11307TypeSymbol? type = this.VisitType(node.Type); 11314TypeSymbol? type = this.VisitType(node.Type); 11319TypeSymbol? type = this.VisitType(node.Type); 11325TypeSymbol? type = this.VisitType(node.Type); 11334TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11335TypeSymbol? type = this.VisitType(node.Type); 11541TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11546TypeSymbol? type = this.VisitType(node.Type); 11551TypeSymbol? type = this.VisitType(node.Type); 11556TypeSymbol? type = this.VisitType(node.Type); 11561TypeSymbol? type = this.VisitType(node.Type); 11566TypeSymbol? type = this.VisitType(node.Type); 11571TypeSymbol? type = this.VisitType(node.Type); 11577TypeSymbol? type = this.VisitType(node.Type); 11583TypeSymbol? type = this.VisitType(node.Type); 11590TypeSymbol? type = this.VisitType(node.Type); 11596TypeSymbol? type = this.VisitType(node.Type); 11620TypeSymbol? type = this.VisitType(node.Type); 11649TypeSymbol? type = this.VisitType(node.Type); 11658TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11659TypeSymbol? type = this.VisitType(node.Type); 11695TypeSymbol? type = this.VisitType(node.Type); 11701TypeSymbol? type = this.VisitType(node.Type); 11733TypeSymbol? type = this.VisitType(node.Type); 11761TypeSymbol? indexerType = this.VisitType(node.IndexerType); 11771TypeSymbol? sliceType = this.VisitType(node.SliceType); 11797TypeSymbol? type = this.VisitType(node.Type); 11805TypeSymbol? type = this.VisitType(node.Type); 11813TypeSymbol? type = this.VisitType(node.Type); 11819TypeSymbol? type = this.VisitType(node.Type); 11827TypeSymbol? type = this.VisitType(node.Type); 11834TypeSymbol? type = this.VisitType(node.Type); 11843TypeSymbol? type = this.VisitType(node.Type); 11848TypeSymbol? type = this.VisitType(node.Type); 11855TypeSymbol? type = this.VisitType(node.Type); 11864TypeSymbol? type = this.VisitType(node.Type); 11871TypeSymbol? type = this.VisitType(node.Type); 11880TypeSymbol? type = this.VisitType(node.Type); 11888TypeSymbol? type = this.VisitType(node.Type); 11896TypeSymbol? type = this.VisitType(node.Type); 11902TypeSymbol? type = this.VisitType(node.Type); 11911TypeSymbol? type = this.VisitType(node.Type); 11917TypeSymbol? type = this.VisitType(node.Type); 11929TypeSymbol? type = this.VisitType(node.Type); 11934TypeSymbol? type = this.VisitType(node.Type); 11950TypeSymbol? type = this.VisitType(node.Type); 11957TypeSymbol? type = this.VisitType(node.Type); 11965TypeSymbol? type = this.VisitType(node.Type); 11971TypeSymbol? type = this.VisitType(node.Type); 11978TypeSymbol? type = this.VisitType(node.Type); 11985TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 11986TypeSymbol? type = this.VisitType(node.Type); 11991TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 11992TypeSymbol? type = this.VisitType(node.Type); 11999TypeSymbol? type = this.VisitType(node.Type); 12007TypeSymbol? type = this.VisitType(node.Type); 12015TypeSymbol? type = this.VisitType(node.Type); 12020TypeSymbol? type = this.VisitType(node.Type); 12028TypeSymbol? type = this.VisitType(node.Type); 12034TypeSymbol? type = this.VisitType(node.Type); 12040TypeSymbol? type = this.VisitType(node.Type); 12047TypeSymbol? type = this.VisitType(node.Type); 12054TypeSymbol? type = this.VisitType(node.Type); 12060TypeSymbol? type = this.VisitType(node.Type); 12067TypeSymbol? elementType = this.VisitType(node.ElementType); 12068TypeSymbol? type = this.VisitType(node.Type); 12075TypeSymbol? elementType = this.VisitType(node.ElementType); 12076TypeSymbol? type = this.VisitType(node.Type); 12083TypeSymbol? type = this.VisitType(node.Type); 12089TypeSymbol? type = this.VisitType(node.Type); 12096TypeSymbol? type = this.VisitType(node.Type); 12103TypeSymbol? type = this.VisitType(node.Type); 12112TypeSymbol? type = this.VisitType(node.Type); 12123TypeSymbol? type = this.VisitType(node.Type); 12130TypeSymbol? type = this.VisitType(node.Type); 12138TypeSymbol? type = this.VisitType(node.Type); 12146TypeSymbol? type = this.VisitType(node.Type); 12152TypeSymbol? type = this.VisitType(node.Type); 12162TypeSymbol? type = this.VisitType(node.Type); 12173TypeSymbol? type = this.VisitType(node.Type); 12179TypeSymbol? type = this.VisitType(node.Type); 12185TypeSymbol? type = this.VisitType(node.Type); 12190TypeSymbol? type = this.VisitType(node.Type); 12195TypeSymbol? type = this.VisitType(node.Type); 12203TypeSymbol? type = this.VisitType(node.Type); 12213TypeSymbol? type = this.VisitType(node.Type); 12219TypeSymbol? inputType = this.VisitType(node.InputType); 12220TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12225TypeSymbol? inputType = this.VisitType(node.InputType); 12226TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12234TypeSymbol? inputType = this.VisitType(node.InputType); 12235TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12246TypeSymbol? inputType = this.VisitType(node.InputType); 12247TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12259TypeSymbol? inputType = this.VisitType(node.InputType); 12260TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12269TypeSymbol? inputType = this.VisitType(node.InputType); 12270TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12278TypeSymbol? inputType = this.VisitType(node.InputType); 12279TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12298TypeSymbol? type = this.VisitType(node.Type); 12304TypeSymbol? inputType = this.VisitType(node.InputType); 12305TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12312TypeSymbol? inputType = this.VisitType(node.InputType); 12313TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12319TypeSymbol? inputType = this.VisitType(node.InputType); 12320TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12326TypeSymbol? inputType = this.VisitType(node.InputType); 12327TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12332TypeSymbol? type = this.VisitType(node.Type); 12338TypeSymbol? type = this.VisitType(node.Type); 12345TypeSymbol? type = this.VisitType(node.Type); 12352TypeSymbol? type = this.VisitType(node.Type); 12358TypeSymbol? type = this.VisitType(node.Type); 12378TypeSymbol? type = this.VisitType(node.Type); 12386TypeSymbol? type = this.VisitType(node.Type);
Lowering\ExtensionMethodReferenceRewriter.cs (8)
87rewriter.VisitType(node.Type)); 196TypeSymbol? type = this.VisitType(node.Type); 209var type = rewriter.VisitType(node.Type); 229TypeSymbol? constrainedToTypeOpt = rewriter.VisitType(node.ConstrainedToTypeOpt); 230TypeSymbol? type = rewriter.VisitType(node.Type); 245TypeSymbol? constrainedToType = rewriter.VisitType(node.ConstrainedToType); 276TypeSymbol? constrainedToTypeOpt = rewriter.VisitType(node.ConstrainedToTypeOpt); 277TypeSymbol? 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);