1 override of VisitType
Microsoft.CodeAnalysis.CSharp (1)
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
109public 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)
1175typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 1526var type = this.VisitType(binary.Type); 1742var exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 2101var type = this.VisitType(binary.Type); 2145TypeSymbol type = this.VisitType(node.Type); 2266typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 2280TypeSymbol? type = this.VisitType(node.Type); 2331type = this.VisitType(type);
Generated\BoundNodes.xml.Generated.cs (186)
10862TypeSymbol? type = this.VisitType(node.Type); 10868TypeSymbol? type = this.VisitType(node.Type); 10874TypeSymbol? type = this.VisitType(node.Type); 10879TypeSymbol? type = this.VisitType(node.Type); 10884TypeSymbol? type = this.VisitType(node.Type); 10889TypeSymbol? type = this.VisitType(node.Type); 10894TypeSymbol? type = this.VisitType(node.Type); 10899TypeSymbol? type = this.VisitType(node.Type); 10904TypeSymbol? type = this.VisitType(node.Type); 10909TypeSymbol? type = this.VisitType(node.Type); 10914TypeSymbol? type = this.VisitType(node.Type); 10919TypeSymbol? type = this.VisitType(node.Type); 10924TypeSymbol? type = this.VisitType(node.Type); 10929TypeSymbol? type = this.VisitType(node.Type); 10935TypeSymbol? type = this.VisitType(node.Type); 10942TypeSymbol? type = this.VisitType(node.Type); 10960TypeSymbol? type = this.VisitType(node.Type); 10965TypeSymbol? type = this.VisitType(node.Type); 10972TypeSymbol? type = this.VisitType(node.Type); 10980TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 10981TypeSymbol? type = this.VisitType(node.Type); 10993TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 10994TypeSymbol? type = this.VisitType(node.Type); 11000TypeSymbol? type = this.VisitType(node.Type); 11006TypeSymbol? type = this.VisitType(node.Type); 11012TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11013TypeSymbol? type = this.VisitType(node.Type); 11019TypeSymbol? type = this.VisitType(node.Type); 11026TypeSymbol? type = this.VisitType(node.Type); 11033TypeSymbol? type = this.VisitType(node.Type); 11040TypeSymbol? type = this.VisitType(node.Type); 11046TypeSymbol? type = this.VisitType(node.Type); 11052TypeSymbol? type = this.VisitType(node.Type); 11059TypeSymbol? type = this.VisitType(node.Type); 11067TypeSymbol? type = this.VisitType(node.Type); 11074TypeSymbol? type = this.VisitType(node.Type); 11081TypeSymbol? type = this.VisitType(node.Type); 11092TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11093TypeSymbol? type = this.VisitType(node.Type); 11105TypeSymbol? type = this.VisitType(node.Type); 11112TypeSymbol? type = this.VisitType(node.Type); 11119TypeSymbol? type = this.VisitType(node.Type); 11128TypeSymbol? type = this.VisitType(node.Type); 11135TypeSymbol? type = this.VisitType(node.Type); 11143TypeSymbol? type = this.VisitType(node.Type); 11151TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11152TypeSymbol? type = this.VisitType(node.Type); 11159TypeSymbol? type = this.VisitType(node.Type); 11165TypeSymbol? type = this.VisitType(node.Type); 11171TypeSymbol? type = this.VisitType(node.Type); 11186TypeSymbol? type = this.VisitType(node.Type); 11193TypeSymbol? type = this.VisitType(node.Type); 11205TypeSymbol? type = this.VisitType(node.Type); 11212TypeSymbol? 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); 11259TypeSymbol? type = this.VisitType(node.Type); 11266TypeSymbol? type = this.VisitType(node.Type); 11273TypeSymbol? type = this.VisitType(node.Type); 11278TypeSymbol? type = this.VisitType(node.Type); 11284TypeSymbol? type = this.VisitType(node.Type); 11291TypeSymbol? type = this.VisitType(node.Type); 11300TypeSymbol? type = this.VisitType(node.Type); 11306TypeSymbol? type = this.VisitType(node.Type); 11312TypeSymbol? type = this.VisitType(node.Type); 11319TypeSymbol? type = this.VisitType(node.Type); 11324TypeSymbol? type = this.VisitType(node.Type); 11330TypeSymbol? type = this.VisitType(node.Type); 11339TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11340TypeSymbol? type = this.VisitType(node.Type); 11546TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 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); 11576TypeSymbol? type = this.VisitType(node.Type); 11582TypeSymbol? type = this.VisitType(node.Type); 11588TypeSymbol? type = this.VisitType(node.Type); 11595TypeSymbol? type = this.VisitType(node.Type); 11601TypeSymbol? type = this.VisitType(node.Type); 11625TypeSymbol? type = this.VisitType(node.Type); 11654TypeSymbol? type = this.VisitType(node.Type); 11663TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11664TypeSymbol? type = this.VisitType(node.Type); 11700TypeSymbol? type = this.VisitType(node.Type); 11706TypeSymbol? type = this.VisitType(node.Type); 11738TypeSymbol? type = this.VisitType(node.Type); 11766TypeSymbol? indexerType = this.VisitType(node.IndexerType); 11776TypeSymbol? sliceType = this.VisitType(node.SliceType); 11802TypeSymbol? type = this.VisitType(node.Type); 11810TypeSymbol? type = this.VisitType(node.Type); 11818TypeSymbol? type = this.VisitType(node.Type); 11824TypeSymbol? type = this.VisitType(node.Type); 11832TypeSymbol? type = this.VisitType(node.Type); 11839TypeSymbol? type = this.VisitType(node.Type); 11848TypeSymbol? type = this.VisitType(node.Type); 11853TypeSymbol? type = this.VisitType(node.Type); 11860TypeSymbol? type = this.VisitType(node.Type); 11869TypeSymbol? type = this.VisitType(node.Type); 11876TypeSymbol? type = this.VisitType(node.Type); 11885TypeSymbol? type = this.VisitType(node.Type); 11893TypeSymbol? type = this.VisitType(node.Type); 11901TypeSymbol? type = this.VisitType(node.Type); 11907TypeSymbol? type = this.VisitType(node.Type); 11916TypeSymbol? type = this.VisitType(node.Type); 11922TypeSymbol? type = this.VisitType(node.Type); 11934TypeSymbol? type = this.VisitType(node.Type); 11939TypeSymbol? type = this.VisitType(node.Type); 11955TypeSymbol? type = this.VisitType(node.Type); 11962TypeSymbol? type = this.VisitType(node.Type); 11970TypeSymbol? type = this.VisitType(node.Type); 11976TypeSymbol? type = this.VisitType(node.Type); 11983TypeSymbol? type = this.VisitType(node.Type); 11990TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 11991TypeSymbol? type = this.VisitType(node.Type); 11996TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 11997TypeSymbol? type = this.VisitType(node.Type); 12004TypeSymbol? type = this.VisitType(node.Type); 12012TypeSymbol? type = this.VisitType(node.Type); 12020TypeSymbol? type = this.VisitType(node.Type); 12025TypeSymbol? type = this.VisitType(node.Type); 12033TypeSymbol? type = this.VisitType(node.Type); 12039TypeSymbol? type = this.VisitType(node.Type); 12045TypeSymbol? type = this.VisitType(node.Type); 12052TypeSymbol? type = this.VisitType(node.Type); 12059TypeSymbol? type = this.VisitType(node.Type); 12065TypeSymbol? type = this.VisitType(node.Type); 12072TypeSymbol? elementType = this.VisitType(node.ElementType); 12073TypeSymbol? type = this.VisitType(node.Type); 12080TypeSymbol? elementType = this.VisitType(node.ElementType); 12081TypeSymbol? type = this.VisitType(node.Type); 12088TypeSymbol? type = this.VisitType(node.Type); 12094TypeSymbol? type = this.VisitType(node.Type); 12101TypeSymbol? type = this.VisitType(node.Type); 12108TypeSymbol? type = this.VisitType(node.Type); 12117TypeSymbol? type = this.VisitType(node.Type); 12128TypeSymbol? type = this.VisitType(node.Type); 12135TypeSymbol? type = this.VisitType(node.Type); 12143TypeSymbol? type = this.VisitType(node.Type); 12151TypeSymbol? type = this.VisitType(node.Type); 12157TypeSymbol? type = this.VisitType(node.Type); 12167TypeSymbol? type = this.VisitType(node.Type); 12178TypeSymbol? type = this.VisitType(node.Type); 12184TypeSymbol? type = this.VisitType(node.Type); 12190TypeSymbol? type = this.VisitType(node.Type); 12195TypeSymbol? type = this.VisitType(node.Type); 12200TypeSymbol? type = this.VisitType(node.Type); 12208TypeSymbol? type = this.VisitType(node.Type); 12218TypeSymbol? type = this.VisitType(node.Type); 12224TypeSymbol? inputType = this.VisitType(node.InputType); 12225TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12230TypeSymbol? inputType = this.VisitType(node.InputType); 12231TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12239TypeSymbol? inputType = this.VisitType(node.InputType); 12240TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12251TypeSymbol? inputType = this.VisitType(node.InputType); 12252TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12264TypeSymbol? inputType = this.VisitType(node.InputType); 12265TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12274TypeSymbol? inputType = this.VisitType(node.InputType); 12275TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12283TypeSymbol? inputType = this.VisitType(node.InputType); 12284TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12303TypeSymbol? type = this.VisitType(node.Type); 12309TypeSymbol? inputType = this.VisitType(node.InputType); 12310TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12317TypeSymbol? inputType = this.VisitType(node.InputType); 12318TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12324TypeSymbol? inputType = this.VisitType(node.InputType); 12325TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12331TypeSymbol? inputType = this.VisitType(node.InputType); 12332TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12337TypeSymbol? type = this.VisitType(node.Type); 12343TypeSymbol? type = this.VisitType(node.Type); 12350TypeSymbol? type = this.VisitType(node.Type); 12357TypeSymbol? type = this.VisitType(node.Type); 12363TypeSymbol? type = this.VisitType(node.Type); 12383TypeSymbol? type = this.VisitType(node.Type); 12391TypeSymbol? 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);