1 override of VisitType
Microsoft.CodeAnalysis.CSharp (1)
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
115public sealed override TypeSymbol? VisitType(TypeSymbol? type)
224 references to VisitType
Microsoft.CodeAnalysis.CSharp (224)
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)
1186typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 1537var type = this.VisitType(binary.Type); 1755var exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 2161var type = this.VisitType(binary.Type); 2206TypeSymbol type = this.VisitType(node.Type); 2327typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 2341TypeSymbol? type = this.VisitType(node.Type); 2392type = this.VisitType(type);
Generated\BoundNodes.xml.Generated.cs (191)
11134TypeSymbol? type = this.VisitType(node.Type); 11140TypeSymbol? type = this.VisitType(node.Type); 11146TypeSymbol? type = this.VisitType(node.Type); 11151TypeSymbol? type = this.VisitType(node.Type); 11156TypeSymbol? type = this.VisitType(node.Type); 11161TypeSymbol? type = this.VisitType(node.Type); 11166TypeSymbol? type = this.VisitType(node.Type); 11171TypeSymbol? type = this.VisitType(node.Type); 11177TypeSymbol? type = this.VisitType(node.Type); 11182TypeSymbol? type = this.VisitType(node.Type); 11187TypeSymbol? type = this.VisitType(node.Type); 11192TypeSymbol? type = this.VisitType(node.Type); 11197TypeSymbol? type = this.VisitType(node.Type); 11202TypeSymbol? type = this.VisitType(node.Type); 11207TypeSymbol? type = this.VisitType(node.Type); 11213TypeSymbol? type = this.VisitType(node.Type); 11220TypeSymbol? type = this.VisitType(node.Type); 11238TypeSymbol? type = this.VisitType(node.Type); 11244TypeSymbol? type = this.VisitType(node.Type); 11251TypeSymbol? type = this.VisitType(node.Type); 11259TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11260TypeSymbol? type = this.VisitType(node.Type); 11272TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11273TypeSymbol? type = this.VisitType(node.Type); 11279TypeSymbol? type = this.VisitType(node.Type); 11285TypeSymbol? type = this.VisitType(node.Type); 11291TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11292TypeSymbol? type = this.VisitType(node.Type); 11298TypeSymbol? type = this.VisitType(node.Type); 11305TypeSymbol? type = this.VisitType(node.Type); 11312TypeSymbol? type = this.VisitType(node.Type); 11319TypeSymbol? type = this.VisitType(node.Type); 11325TypeSymbol? type = this.VisitType(node.Type); 11331TypeSymbol? type = this.VisitType(node.Type); 11338TypeSymbol? type = this.VisitType(node.Type); 11346TypeSymbol? type = this.VisitType(node.Type); 11353TypeSymbol? type = this.VisitType(node.Type); 11360TypeSymbol? type = this.VisitType(node.Type); 11373TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11374TypeSymbol? type = this.VisitType(node.Type); 11386TypeSymbol? type = this.VisitType(node.Type); 11393TypeSymbol? type = this.VisitType(node.Type); 11400TypeSymbol? type = this.VisitType(node.Type); 11409TypeSymbol? type = this.VisitType(node.Type); 11416TypeSymbol? type = this.VisitType(node.Type); 11424TypeSymbol? type = this.VisitType(node.Type); 11432TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11433TypeSymbol? type = this.VisitType(node.Type); 11440TypeSymbol? type = this.VisitType(node.Type); 11446TypeSymbol? type = this.VisitType(node.Type); 11452TypeSymbol? type = this.VisitType(node.Type); 11469TypeSymbol? type = this.VisitType(node.Type); 11476TypeSymbol? type = this.VisitType(node.Type); 11489TypeSymbol? type = this.VisitType(node.Type); 11496TypeSymbol? type = this.VisitType(node.Type); 11503TypeSymbol? type = this.VisitType(node.Type); 11508TypeSymbol? type = this.VisitType(node.Type); 11513TypeSymbol? type = this.VisitType(node.Type); 11518TypeSymbol? type = this.VisitType(node.Type); 11523TypeSymbol? type = this.VisitType(node.Type); 11528TypeSymbol? type = this.VisitType(node.Type); 11533TypeSymbol? type = this.VisitType(node.Type); 11538TypeSymbol? type = this.VisitType(node.Type); 11543TypeSymbol? type = this.VisitType(node.Type); 11550TypeSymbol? type = this.VisitType(node.Type); 11557TypeSymbol? type = this.VisitType(node.Type); 11562TypeSymbol? type = this.VisitType(node.Type); 11568TypeSymbol? type = this.VisitType(node.Type); 11575TypeSymbol? 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); 11608TypeSymbol? type = this.VisitType(node.Type); 11614TypeSymbol? type = this.VisitType(node.Type); 11623TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11624TypeSymbol? type = this.VisitType(node.Type); 11831TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11836TypeSymbol? type = this.VisitType(node.Type); 11841TypeSymbol? type = this.VisitType(node.Type); 11846TypeSymbol? type = this.VisitType(node.Type); 11851TypeSymbol? type = this.VisitType(node.Type); 11856TypeSymbol? type = this.VisitType(node.Type); 11861TypeSymbol? type = this.VisitType(node.Type); 11867TypeSymbol? type = this.VisitType(node.Type); 11873TypeSymbol? type = this.VisitType(node.Type); 11880TypeSymbol? type = this.VisitType(node.Type); 11886TypeSymbol? type = this.VisitType(node.Type); 11910TypeSymbol? type = this.VisitType(node.Type); 11939TypeSymbol? type = this.VisitType(node.Type); 11948TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11949TypeSymbol? type = this.VisitType(node.Type); 11985TypeSymbol? type = this.VisitType(node.Type); 11991TypeSymbol? type = this.VisitType(node.Type); 12023TypeSymbol? type = this.VisitType(node.Type); 12051TypeSymbol? indexerType = this.VisitType(node.IndexerType); 12061TypeSymbol? sliceType = this.VisitType(node.SliceType); 12092TypeSymbol? type = this.VisitType(node.Type); 12100TypeSymbol? type = this.VisitType(node.Type); 12108TypeSymbol? type = this.VisitType(node.Type); 12114TypeSymbol? type = this.VisitType(node.Type); 12122TypeSymbol? type = this.VisitType(node.Type); 12129TypeSymbol? type = this.VisitType(node.Type); 12138TypeSymbol? type = this.VisitType(node.Type); 12143TypeSymbol? type = this.VisitType(node.Type); 12150TypeSymbol? type = this.VisitType(node.Type); 12159TypeSymbol? type = this.VisitType(node.Type); 12166TypeSymbol? type = this.VisitType(node.Type); 12175TypeSymbol? type = this.VisitType(node.Type); 12183TypeSymbol? type = this.VisitType(node.Type); 12191TypeSymbol? type = this.VisitType(node.Type); 12197TypeSymbol? type = this.VisitType(node.Type); 12206TypeSymbol? type = this.VisitType(node.Type); 12213TypeSymbol? type = this.VisitType(node.Type); 12229TypeSymbol? type = this.VisitType(node.Type); 12234TypeSymbol? type = this.VisitType(node.Type); 12250TypeSymbol? type = this.VisitType(node.Type); 12257TypeSymbol? type = this.VisitType(node.Type); 12265TypeSymbol? type = this.VisitType(node.Type); 12271TypeSymbol? type = this.VisitType(node.Type); 12278TypeSymbol? type = this.VisitType(node.Type); 12285TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12286TypeSymbol? type = this.VisitType(node.Type); 12291TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12292TypeSymbol? type = this.VisitType(node.Type); 12299TypeSymbol? type = this.VisitType(node.Type); 12307TypeSymbol? type = this.VisitType(node.Type); 12315TypeSymbol? type = this.VisitType(node.Type); 12320TypeSymbol? type = this.VisitType(node.Type); 12328TypeSymbol? type = this.VisitType(node.Type); 12334TypeSymbol? type = this.VisitType(node.Type); 12340TypeSymbol? type = this.VisitType(node.Type); 12347TypeSymbol? type = this.VisitType(node.Type); 12354TypeSymbol? type = this.VisitType(node.Type); 12360TypeSymbol? type = this.VisitType(node.Type); 12367TypeSymbol? elementType = this.VisitType(node.ElementType); 12368TypeSymbol? type = this.VisitType(node.Type); 12375TypeSymbol? elementType = this.VisitType(node.ElementType); 12376TypeSymbol? type = this.VisitType(node.Type); 12383TypeSymbol? type = this.VisitType(node.Type); 12389TypeSymbol? type = this.VisitType(node.Type); 12396TypeSymbol? type = this.VisitType(node.Type); 12403TypeSymbol? type = this.VisitType(node.Type); 12412TypeSymbol? type = this.VisitType(node.Type); 12423TypeSymbol? type = this.VisitType(node.Type); 12430TypeSymbol? type = this.VisitType(node.Type); 12438TypeSymbol? type = this.VisitType(node.Type); 12446TypeSymbol? type = this.VisitType(node.Type); 12452TypeSymbol? type = this.VisitType(node.Type); 12462TypeSymbol? type = this.VisitType(node.Type); 12473TypeSymbol? type = this.VisitType(node.Type); 12479TypeSymbol? type = this.VisitType(node.Type); 12485TypeSymbol? type = this.VisitType(node.Type); 12490TypeSymbol? type = this.VisitType(node.Type); 12495TypeSymbol? type = this.VisitType(node.Type); 12503TypeSymbol? type = this.VisitType(node.Type); 12513TypeSymbol? type = this.VisitType(node.Type); 12519TypeSymbol? inputType = this.VisitType(node.InputType); 12520TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12530TypeSymbol? unionMatchingInputType = this.VisitType(node.UnionMatchingInputType); 12531TypeSymbol? inputType = this.VisitType(node.InputType); 12532TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12537TypeSymbol? inputType = this.VisitType(node.InputType); 12538TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12546TypeSymbol? inputType = this.VisitType(node.InputType); 12547TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12558TypeSymbol? inputType = this.VisitType(node.InputType); 12559TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12571TypeSymbol? inputType = this.VisitType(node.InputType); 12572TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12581TypeSymbol? inputType = this.VisitType(node.InputType); 12582TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12590TypeSymbol? inputType = this.VisitType(node.InputType); 12591TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12610TypeSymbol? type = this.VisitType(node.Type); 12616TypeSymbol? inputType = this.VisitType(node.InputType); 12617TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12624TypeSymbol? inputType = this.VisitType(node.InputType); 12625TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12631TypeSymbol? inputType = this.VisitType(node.InputType); 12632TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12638TypeSymbol? inputType = this.VisitType(node.InputType); 12639TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12644TypeSymbol? type = this.VisitType(node.Type); 12650TypeSymbol? type = this.VisitType(node.Type); 12657TypeSymbol? type = this.VisitType(node.Type); 12664TypeSymbol? type = this.VisitType(node.Type); 12670TypeSymbol? type = this.VisitType(node.Type); 12690TypeSymbol? type = this.VisitType(node.Type); 12696TypeSymbol? type = this.VisitType(node.Type); 12704TypeSymbol? 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_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\LocalRewriter\LocalRewriter.cs (3)
664var type = this.VisitType(node.Type); 694var type = this.VisitType(node.Type); 841var indexType = VisitType(node.Indices[0].Type);
Lowering\SpillSequenceSpiller.cs (1)
735TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt);