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)
11128TypeSymbol? type = this.VisitType(node.Type); 11134TypeSymbol? type = this.VisitType(node.Type); 11140TypeSymbol? type = this.VisitType(node.Type); 11145TypeSymbol? type = this.VisitType(node.Type); 11150TypeSymbol? type = this.VisitType(node.Type); 11155TypeSymbol? type = this.VisitType(node.Type); 11160TypeSymbol? type = this.VisitType(node.Type); 11165TypeSymbol? type = this.VisitType(node.Type); 11171TypeSymbol? type = this.VisitType(node.Type); 11176TypeSymbol? type = this.VisitType(node.Type); 11181TypeSymbol? type = this.VisitType(node.Type); 11186TypeSymbol? type = this.VisitType(node.Type); 11191TypeSymbol? type = this.VisitType(node.Type); 11196TypeSymbol? type = this.VisitType(node.Type); 11201TypeSymbol? type = this.VisitType(node.Type); 11207TypeSymbol? type = this.VisitType(node.Type); 11214TypeSymbol? type = this.VisitType(node.Type); 11232TypeSymbol? type = this.VisitType(node.Type); 11238TypeSymbol? type = this.VisitType(node.Type); 11245TypeSymbol? type = this.VisitType(node.Type); 11253TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11254TypeSymbol? type = this.VisitType(node.Type); 11266TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11267TypeSymbol? type = this.VisitType(node.Type); 11273TypeSymbol? type = this.VisitType(node.Type); 11279TypeSymbol? type = this.VisitType(node.Type); 11285TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11286TypeSymbol? type = this.VisitType(node.Type); 11292TypeSymbol? type = this.VisitType(node.Type); 11299TypeSymbol? type = this.VisitType(node.Type); 11306TypeSymbol? type = this.VisitType(node.Type); 11313TypeSymbol? type = this.VisitType(node.Type); 11319TypeSymbol? type = this.VisitType(node.Type); 11325TypeSymbol? type = this.VisitType(node.Type); 11332TypeSymbol? type = this.VisitType(node.Type); 11340TypeSymbol? type = this.VisitType(node.Type); 11347TypeSymbol? type = this.VisitType(node.Type); 11354TypeSymbol? type = this.VisitType(node.Type); 11367TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11368TypeSymbol? type = this.VisitType(node.Type); 11380TypeSymbol? type = this.VisitType(node.Type); 11387TypeSymbol? type = this.VisitType(node.Type); 11394TypeSymbol? type = this.VisitType(node.Type); 11403TypeSymbol? type = this.VisitType(node.Type); 11410TypeSymbol? type = this.VisitType(node.Type); 11418TypeSymbol? type = this.VisitType(node.Type); 11426TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11427TypeSymbol? type = this.VisitType(node.Type); 11434TypeSymbol? type = this.VisitType(node.Type); 11440TypeSymbol? type = this.VisitType(node.Type); 11446TypeSymbol? type = this.VisitType(node.Type); 11463TypeSymbol? type = this.VisitType(node.Type); 11470TypeSymbol? type = this.VisitType(node.Type); 11483TypeSymbol? type = this.VisitType(node.Type); 11490TypeSymbol? type = this.VisitType(node.Type); 11497TypeSymbol? type = this.VisitType(node.Type); 11502TypeSymbol? type = this.VisitType(node.Type); 11507TypeSymbol? type = this.VisitType(node.Type); 11512TypeSymbol? type = this.VisitType(node.Type); 11517TypeSymbol? type = this.VisitType(node.Type); 11522TypeSymbol? type = this.VisitType(node.Type); 11527TypeSymbol? type = this.VisitType(node.Type); 11532TypeSymbol? type = this.VisitType(node.Type); 11537TypeSymbol? type = this.VisitType(node.Type); 11544TypeSymbol? type = this.VisitType(node.Type); 11551TypeSymbol? type = this.VisitType(node.Type); 11556TypeSymbol? type = this.VisitType(node.Type); 11562TypeSymbol? type = this.VisitType(node.Type); 11569TypeSymbol? type = this.VisitType(node.Type); 11578TypeSymbol? type = this.VisitType(node.Type); 11584TypeSymbol? type = this.VisitType(node.Type); 11590TypeSymbol? type = this.VisitType(node.Type); 11597TypeSymbol? type = this.VisitType(node.Type); 11602TypeSymbol? type = this.VisitType(node.Type); 11608TypeSymbol? type = this.VisitType(node.Type); 11617TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11618TypeSymbol? type = this.VisitType(node.Type); 11825TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11830TypeSymbol? type = this.VisitType(node.Type); 11835TypeSymbol? type = this.VisitType(node.Type); 11840TypeSymbol? type = this.VisitType(node.Type); 11845TypeSymbol? type = this.VisitType(node.Type); 11850TypeSymbol? type = this.VisitType(node.Type); 11855TypeSymbol? type = this.VisitType(node.Type); 11861TypeSymbol? type = this.VisitType(node.Type); 11867TypeSymbol? type = this.VisitType(node.Type); 11874TypeSymbol? type = this.VisitType(node.Type); 11880TypeSymbol? type = this.VisitType(node.Type); 11904TypeSymbol? type = this.VisitType(node.Type); 11933TypeSymbol? type = this.VisitType(node.Type); 11942TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11943TypeSymbol? type = this.VisitType(node.Type); 11979TypeSymbol? type = this.VisitType(node.Type); 11985TypeSymbol? type = this.VisitType(node.Type); 12017TypeSymbol? type = this.VisitType(node.Type); 12045TypeSymbol? indexerType = this.VisitType(node.IndexerType); 12055TypeSymbol? sliceType = this.VisitType(node.SliceType); 12086TypeSymbol? type = this.VisitType(node.Type); 12094TypeSymbol? type = this.VisitType(node.Type); 12102TypeSymbol? type = this.VisitType(node.Type); 12108TypeSymbol? type = this.VisitType(node.Type); 12116TypeSymbol? type = this.VisitType(node.Type); 12123TypeSymbol? type = this.VisitType(node.Type); 12132TypeSymbol? type = this.VisitType(node.Type); 12137TypeSymbol? type = this.VisitType(node.Type); 12144TypeSymbol? type = this.VisitType(node.Type); 12153TypeSymbol? type = this.VisitType(node.Type); 12160TypeSymbol? type = this.VisitType(node.Type); 12169TypeSymbol? type = this.VisitType(node.Type); 12177TypeSymbol? type = this.VisitType(node.Type); 12185TypeSymbol? type = this.VisitType(node.Type); 12191TypeSymbol? type = this.VisitType(node.Type); 12200TypeSymbol? type = this.VisitType(node.Type); 12207TypeSymbol? type = this.VisitType(node.Type); 12223TypeSymbol? type = this.VisitType(node.Type); 12228TypeSymbol? type = this.VisitType(node.Type); 12244TypeSymbol? type = this.VisitType(node.Type); 12251TypeSymbol? type = this.VisitType(node.Type); 12259TypeSymbol? type = this.VisitType(node.Type); 12265TypeSymbol? type = this.VisitType(node.Type); 12272TypeSymbol? type = this.VisitType(node.Type); 12279TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12280TypeSymbol? type = this.VisitType(node.Type); 12285TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12286TypeSymbol? type = this.VisitType(node.Type); 12293TypeSymbol? type = this.VisitType(node.Type); 12301TypeSymbol? type = this.VisitType(node.Type); 12309TypeSymbol? type = this.VisitType(node.Type); 12314TypeSymbol? type = this.VisitType(node.Type); 12322TypeSymbol? type = this.VisitType(node.Type); 12328TypeSymbol? type = this.VisitType(node.Type); 12334TypeSymbol? type = this.VisitType(node.Type); 12341TypeSymbol? type = this.VisitType(node.Type); 12348TypeSymbol? type = this.VisitType(node.Type); 12354TypeSymbol? type = this.VisitType(node.Type); 12361TypeSymbol? elementType = this.VisitType(node.ElementType); 12362TypeSymbol? type = this.VisitType(node.Type); 12369TypeSymbol? elementType = this.VisitType(node.ElementType); 12370TypeSymbol? type = this.VisitType(node.Type); 12377TypeSymbol? type = this.VisitType(node.Type); 12383TypeSymbol? type = this.VisitType(node.Type); 12390TypeSymbol? type = this.VisitType(node.Type); 12397TypeSymbol? type = this.VisitType(node.Type); 12406TypeSymbol? type = this.VisitType(node.Type); 12417TypeSymbol? type = this.VisitType(node.Type); 12424TypeSymbol? type = this.VisitType(node.Type); 12432TypeSymbol? type = this.VisitType(node.Type); 12440TypeSymbol? type = this.VisitType(node.Type); 12446TypeSymbol? type = this.VisitType(node.Type); 12456TypeSymbol? type = this.VisitType(node.Type); 12467TypeSymbol? type = this.VisitType(node.Type); 12473TypeSymbol? type = this.VisitType(node.Type); 12479TypeSymbol? type = this.VisitType(node.Type); 12484TypeSymbol? type = this.VisitType(node.Type); 12489TypeSymbol? type = this.VisitType(node.Type); 12497TypeSymbol? type = this.VisitType(node.Type); 12507TypeSymbol? type = this.VisitType(node.Type); 12513TypeSymbol? inputType = this.VisitType(node.InputType); 12514TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12522TypeSymbol? unionMatchingInputType = this.VisitType(node.UnionMatchingInputType); 12523TypeSymbol? inputType = this.VisitType(node.InputType); 12524TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12529TypeSymbol? inputType = this.VisitType(node.InputType); 12530TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12538TypeSymbol? inputType = this.VisitType(node.InputType); 12539TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12550TypeSymbol? inputType = this.VisitType(node.InputType); 12551TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12563TypeSymbol? inputType = this.VisitType(node.InputType); 12564TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12573TypeSymbol? inputType = this.VisitType(node.InputType); 12574TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12582TypeSymbol? inputType = this.VisitType(node.InputType); 12583TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12602TypeSymbol? type = this.VisitType(node.Type); 12608TypeSymbol? inputType = this.VisitType(node.InputType); 12609TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12616TypeSymbol? inputType = this.VisitType(node.InputType); 12617TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12623TypeSymbol? inputType = this.VisitType(node.InputType); 12624TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12630TypeSymbol? inputType = this.VisitType(node.InputType); 12631TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12636TypeSymbol? type = this.VisitType(node.Type); 12642TypeSymbol? type = this.VisitType(node.Type); 12649TypeSymbol? type = this.VisitType(node.Type); 12656TypeSymbol? type = this.VisitType(node.Type); 12662TypeSymbol? type = this.VisitType(node.Type); 12682TypeSymbol? type = this.VisitType(node.Type); 12688TypeSymbol? type = this.VisitType(node.Type); 12696TypeSymbol? 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)
664var type = this.VisitType(node.Type); 694var type = this.VisitType(node.Type); 841var 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)
735TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt);