1 override of VisitType
Microsoft.CodeAnalysis.CSharp (1)
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
115public sealed override TypeSymbol? VisitType(TypeSymbol? type)
220 references to VisitType
Microsoft.CodeAnalysis.CSharp (220)
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 (187)
10987TypeSymbol? type = this.VisitType(node.Type); 10993TypeSymbol? type = this.VisitType(node.Type); 10999TypeSymbol? type = this.VisitType(node.Type); 11004TypeSymbol? type = this.VisitType(node.Type); 11009TypeSymbol? type = this.VisitType(node.Type); 11014TypeSymbol? type = this.VisitType(node.Type); 11019TypeSymbol? type = this.VisitType(node.Type); 11024TypeSymbol? type = this.VisitType(node.Type); 11029TypeSymbol? type = this.VisitType(node.Type); 11034TypeSymbol? type = this.VisitType(node.Type); 11039TypeSymbol? type = this.VisitType(node.Type); 11044TypeSymbol? type = this.VisitType(node.Type); 11049TypeSymbol? type = this.VisitType(node.Type); 11054TypeSymbol? type = this.VisitType(node.Type); 11059TypeSymbol? type = this.VisitType(node.Type); 11065TypeSymbol? type = this.VisitType(node.Type); 11072TypeSymbol? type = this.VisitType(node.Type); 11090TypeSymbol? type = this.VisitType(node.Type); 11096TypeSymbol? type = this.VisitType(node.Type); 11103TypeSymbol? type = this.VisitType(node.Type); 11111TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11112TypeSymbol? type = this.VisitType(node.Type); 11124TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11125TypeSymbol? type = this.VisitType(node.Type); 11131TypeSymbol? type = this.VisitType(node.Type); 11137TypeSymbol? type = this.VisitType(node.Type); 11143TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11144TypeSymbol? type = this.VisitType(node.Type); 11150TypeSymbol? type = this.VisitType(node.Type); 11157TypeSymbol? type = this.VisitType(node.Type); 11164TypeSymbol? type = this.VisitType(node.Type); 11171TypeSymbol? type = this.VisitType(node.Type); 11177TypeSymbol? type = this.VisitType(node.Type); 11183TypeSymbol? type = this.VisitType(node.Type); 11190TypeSymbol? type = this.VisitType(node.Type); 11198TypeSymbol? type = this.VisitType(node.Type); 11205TypeSymbol? type = this.VisitType(node.Type); 11212TypeSymbol? type = this.VisitType(node.Type); 11225TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11226TypeSymbol? type = this.VisitType(node.Type); 11238TypeSymbol? type = this.VisitType(node.Type); 11245TypeSymbol? type = this.VisitType(node.Type); 11252TypeSymbol? type = this.VisitType(node.Type); 11261TypeSymbol? type = this.VisitType(node.Type); 11268TypeSymbol? type = this.VisitType(node.Type); 11276TypeSymbol? type = this.VisitType(node.Type); 11284TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11285TypeSymbol? type = this.VisitType(node.Type); 11292TypeSymbol? type = this.VisitType(node.Type); 11298TypeSymbol? type = this.VisitType(node.Type); 11304TypeSymbol? type = this.VisitType(node.Type); 11321TypeSymbol? type = this.VisitType(node.Type); 11328TypeSymbol? type = this.VisitType(node.Type); 11341TypeSymbol? type = this.VisitType(node.Type); 11348TypeSymbol? type = this.VisitType(node.Type); 11355TypeSymbol? type = this.VisitType(node.Type); 11360TypeSymbol? type = this.VisitType(node.Type); 11365TypeSymbol? type = this.VisitType(node.Type); 11370TypeSymbol? type = this.VisitType(node.Type); 11375TypeSymbol? type = this.VisitType(node.Type); 11380TypeSymbol? type = this.VisitType(node.Type); 11385TypeSymbol? type = this.VisitType(node.Type); 11390TypeSymbol? type = this.VisitType(node.Type); 11395TypeSymbol? type = this.VisitType(node.Type); 11402TypeSymbol? type = this.VisitType(node.Type); 11409TypeSymbol? type = this.VisitType(node.Type); 11414TypeSymbol? type = this.VisitType(node.Type); 11420TypeSymbol? type = this.VisitType(node.Type); 11427TypeSymbol? type = this.VisitType(node.Type); 11436TypeSymbol? type = this.VisitType(node.Type); 11442TypeSymbol? type = this.VisitType(node.Type); 11448TypeSymbol? type = this.VisitType(node.Type); 11455TypeSymbol? type = this.VisitType(node.Type); 11460TypeSymbol? type = this.VisitType(node.Type); 11466TypeSymbol? type = this.VisitType(node.Type); 11475TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11476TypeSymbol? type = this.VisitType(node.Type); 11681TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11686TypeSymbol? type = this.VisitType(node.Type); 11691TypeSymbol? type = this.VisitType(node.Type); 11696TypeSymbol? type = this.VisitType(node.Type); 11701TypeSymbol? type = this.VisitType(node.Type); 11706TypeSymbol? type = this.VisitType(node.Type); 11711TypeSymbol? type = this.VisitType(node.Type); 11717TypeSymbol? type = this.VisitType(node.Type); 11723TypeSymbol? type = this.VisitType(node.Type); 11730TypeSymbol? type = this.VisitType(node.Type); 11736TypeSymbol? type = this.VisitType(node.Type); 11760TypeSymbol? type = this.VisitType(node.Type); 11789TypeSymbol? type = this.VisitType(node.Type); 11798TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11799TypeSymbol? type = this.VisitType(node.Type); 11835TypeSymbol? type = this.VisitType(node.Type); 11841TypeSymbol? type = this.VisitType(node.Type); 11873TypeSymbol? type = this.VisitType(node.Type); 11901TypeSymbol? indexerType = this.VisitType(node.IndexerType); 11911TypeSymbol? sliceType = this.VisitType(node.SliceType); 11937TypeSymbol? type = this.VisitType(node.Type); 11945TypeSymbol? type = this.VisitType(node.Type); 11953TypeSymbol? type = this.VisitType(node.Type); 11959TypeSymbol? type = this.VisitType(node.Type); 11967TypeSymbol? type = this.VisitType(node.Type); 11974TypeSymbol? type = this.VisitType(node.Type); 11983TypeSymbol? type = this.VisitType(node.Type); 11988TypeSymbol? type = this.VisitType(node.Type); 11995TypeSymbol? type = this.VisitType(node.Type); 12004TypeSymbol? type = this.VisitType(node.Type); 12011TypeSymbol? type = this.VisitType(node.Type); 12020TypeSymbol? type = this.VisitType(node.Type); 12028TypeSymbol? type = this.VisitType(node.Type); 12036TypeSymbol? type = this.VisitType(node.Type); 12042TypeSymbol? type = this.VisitType(node.Type); 12051TypeSymbol? type = this.VisitType(node.Type); 12058TypeSymbol? type = this.VisitType(node.Type); 12074TypeSymbol? type = this.VisitType(node.Type); 12079TypeSymbol? type = this.VisitType(node.Type); 12095TypeSymbol? type = this.VisitType(node.Type); 12102TypeSymbol? type = this.VisitType(node.Type); 12110TypeSymbol? type = this.VisitType(node.Type); 12116TypeSymbol? type = this.VisitType(node.Type); 12123TypeSymbol? type = this.VisitType(node.Type); 12130TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12131TypeSymbol? type = this.VisitType(node.Type); 12136TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12137TypeSymbol? type = this.VisitType(node.Type); 12144TypeSymbol? type = this.VisitType(node.Type); 12152TypeSymbol? type = this.VisitType(node.Type); 12160TypeSymbol? type = this.VisitType(node.Type); 12165TypeSymbol? type = this.VisitType(node.Type); 12173TypeSymbol? type = this.VisitType(node.Type); 12179TypeSymbol? type = this.VisitType(node.Type); 12185TypeSymbol? type = this.VisitType(node.Type); 12192TypeSymbol? type = this.VisitType(node.Type); 12199TypeSymbol? type = this.VisitType(node.Type); 12205TypeSymbol? type = this.VisitType(node.Type); 12212TypeSymbol? elementType = this.VisitType(node.ElementType); 12213TypeSymbol? type = this.VisitType(node.Type); 12220TypeSymbol? elementType = this.VisitType(node.ElementType); 12221TypeSymbol? type = this.VisitType(node.Type); 12228TypeSymbol? type = this.VisitType(node.Type); 12234TypeSymbol? type = this.VisitType(node.Type); 12241TypeSymbol? type = this.VisitType(node.Type); 12248TypeSymbol? type = this.VisitType(node.Type); 12257TypeSymbol? type = this.VisitType(node.Type); 12268TypeSymbol? type = this.VisitType(node.Type); 12275TypeSymbol? type = this.VisitType(node.Type); 12283TypeSymbol? type = this.VisitType(node.Type); 12291TypeSymbol? type = this.VisitType(node.Type); 12297TypeSymbol? type = this.VisitType(node.Type); 12307TypeSymbol? type = this.VisitType(node.Type); 12318TypeSymbol? type = this.VisitType(node.Type); 12324TypeSymbol? type = this.VisitType(node.Type); 12330TypeSymbol? type = this.VisitType(node.Type); 12335TypeSymbol? type = this.VisitType(node.Type); 12340TypeSymbol? type = this.VisitType(node.Type); 12348TypeSymbol? type = this.VisitType(node.Type); 12358TypeSymbol? type = this.VisitType(node.Type); 12364TypeSymbol? inputType = this.VisitType(node.InputType); 12365TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12370TypeSymbol? inputType = this.VisitType(node.InputType); 12371TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12379TypeSymbol? inputType = this.VisitType(node.InputType); 12380TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12391TypeSymbol? inputType = this.VisitType(node.InputType); 12392TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12404TypeSymbol? inputType = this.VisitType(node.InputType); 12405TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12414TypeSymbol? inputType = this.VisitType(node.InputType); 12415TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12423TypeSymbol? inputType = this.VisitType(node.InputType); 12424TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12443TypeSymbol? type = this.VisitType(node.Type); 12449TypeSymbol? inputType = this.VisitType(node.InputType); 12450TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12457TypeSymbol? inputType = this.VisitType(node.InputType); 12458TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12464TypeSymbol? inputType = this.VisitType(node.InputType); 12465TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12471TypeSymbol? inputType = this.VisitType(node.InputType); 12472TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12477TypeSymbol? type = this.VisitType(node.Type); 12483TypeSymbol? type = this.VisitType(node.Type); 12490TypeSymbol? type = this.VisitType(node.Type); 12497TypeSymbol? type = this.VisitType(node.Type); 12503TypeSymbol? type = this.VisitType(node.Type); 12523TypeSymbol? type = this.VisitType(node.Type); 12531TypeSymbol? 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)
663var type = this.VisitType(node.Type); 693var type = this.VisitType(node.Type); 840var 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);