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)
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 (186)
10897TypeSymbol? type = this.VisitType(node.Type); 10903TypeSymbol? 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); 10934TypeSymbol? type = this.VisitType(node.Type); 10939TypeSymbol? type = this.VisitType(node.Type); 10944TypeSymbol? type = this.VisitType(node.Type); 10949TypeSymbol? type = this.VisitType(node.Type); 10954TypeSymbol? type = this.VisitType(node.Type); 10959TypeSymbol? type = this.VisitType(node.Type); 10964TypeSymbol? type = this.VisitType(node.Type); 10970TypeSymbol? type = this.VisitType(node.Type); 10977TypeSymbol? type = this.VisitType(node.Type); 10995TypeSymbol? type = this.VisitType(node.Type); 11001TypeSymbol? type = this.VisitType(node.Type); 11008TypeSymbol? type = this.VisitType(node.Type); 11016TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11017TypeSymbol? type = this.VisitType(node.Type); 11029TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11030TypeSymbol? type = this.VisitType(node.Type); 11036TypeSymbol? type = this.VisitType(node.Type); 11042TypeSymbol? type = this.VisitType(node.Type); 11048TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11049TypeSymbol? type = this.VisitType(node.Type); 11055TypeSymbol? type = this.VisitType(node.Type); 11062TypeSymbol? type = this.VisitType(node.Type); 11069TypeSymbol? type = this.VisitType(node.Type); 11076TypeSymbol? type = this.VisitType(node.Type); 11082TypeSymbol? type = this.VisitType(node.Type); 11088TypeSymbol? type = this.VisitType(node.Type); 11095TypeSymbol? type = this.VisitType(node.Type); 11103TypeSymbol? type = this.VisitType(node.Type); 11110TypeSymbol? type = this.VisitType(node.Type); 11117TypeSymbol? type = this.VisitType(node.Type); 11130TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11131TypeSymbol? type = this.VisitType(node.Type); 11143TypeSymbol? type = this.VisitType(node.Type); 11150TypeSymbol? type = this.VisitType(node.Type); 11157TypeSymbol? type = this.VisitType(node.Type); 11166TypeSymbol? type = this.VisitType(node.Type); 11173TypeSymbol? type = this.VisitType(node.Type); 11181TypeSymbol? type = this.VisitType(node.Type); 11189TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11190TypeSymbol? type = this.VisitType(node.Type); 11197TypeSymbol? type = this.VisitType(node.Type); 11203TypeSymbol? type = this.VisitType(node.Type); 11209TypeSymbol? type = this.VisitType(node.Type); 11226TypeSymbol? type = this.VisitType(node.Type); 11233TypeSymbol? type = this.VisitType(node.Type); 11246TypeSymbol? type = this.VisitType(node.Type); 11253TypeSymbol? type = this.VisitType(node.Type); 11260TypeSymbol? type = this.VisitType(node.Type); 11265TypeSymbol? type = this.VisitType(node.Type); 11270TypeSymbol? type = this.VisitType(node.Type); 11275TypeSymbol? type = this.VisitType(node.Type); 11280TypeSymbol? type = this.VisitType(node.Type); 11285TypeSymbol? type = this.VisitType(node.Type); 11290TypeSymbol? type = this.VisitType(node.Type); 11295TypeSymbol? type = this.VisitType(node.Type); 11300TypeSymbol? 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); 11332TypeSymbol? type = this.VisitType(node.Type); 11341TypeSymbol? type = this.VisitType(node.Type); 11347TypeSymbol? type = this.VisitType(node.Type); 11353TypeSymbol? type = this.VisitType(node.Type); 11360TypeSymbol? type = this.VisitType(node.Type); 11365TypeSymbol? type = this.VisitType(node.Type); 11371TypeSymbol? type = this.VisitType(node.Type); 11380TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11381TypeSymbol? type = this.VisitType(node.Type); 11586TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11591TypeSymbol? type = this.VisitType(node.Type); 11596TypeSymbol? type = this.VisitType(node.Type); 11601TypeSymbol? type = this.VisitType(node.Type); 11606TypeSymbol? type = this.VisitType(node.Type); 11611TypeSymbol? type = this.VisitType(node.Type); 11616TypeSymbol? type = this.VisitType(node.Type); 11622TypeSymbol? type = this.VisitType(node.Type); 11628TypeSymbol? type = this.VisitType(node.Type); 11635TypeSymbol? type = this.VisitType(node.Type); 11641TypeSymbol? type = this.VisitType(node.Type); 11665TypeSymbol? type = this.VisitType(node.Type); 11694TypeSymbol? type = this.VisitType(node.Type); 11703TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11704TypeSymbol? type = this.VisitType(node.Type); 11740TypeSymbol? type = this.VisitType(node.Type); 11746TypeSymbol? type = this.VisitType(node.Type); 11778TypeSymbol? type = this.VisitType(node.Type); 11806TypeSymbol? indexerType = this.VisitType(node.IndexerType); 11816TypeSymbol? sliceType = this.VisitType(node.SliceType); 11842TypeSymbol? type = this.VisitType(node.Type); 11850TypeSymbol? type = this.VisitType(node.Type); 11858TypeSymbol? type = this.VisitType(node.Type); 11864TypeSymbol? type = this.VisitType(node.Type); 11872TypeSymbol? type = this.VisitType(node.Type); 11879TypeSymbol? type = this.VisitType(node.Type); 11888TypeSymbol? type = this.VisitType(node.Type); 11893TypeSymbol? type = this.VisitType(node.Type); 11900TypeSymbol? type = this.VisitType(node.Type); 11909TypeSymbol? type = this.VisitType(node.Type); 11916TypeSymbol? type = this.VisitType(node.Type); 11925TypeSymbol? type = this.VisitType(node.Type); 11933TypeSymbol? type = this.VisitType(node.Type); 11941TypeSymbol? type = this.VisitType(node.Type); 11947TypeSymbol? type = this.VisitType(node.Type); 11956TypeSymbol? type = this.VisitType(node.Type); 11962TypeSymbol? type = this.VisitType(node.Type); 11974TypeSymbol? type = this.VisitType(node.Type); 11979TypeSymbol? type = this.VisitType(node.Type); 11995TypeSymbol? type = this.VisitType(node.Type); 12002TypeSymbol? type = this.VisitType(node.Type); 12010TypeSymbol? type = this.VisitType(node.Type); 12016TypeSymbol? type = this.VisitType(node.Type); 12023TypeSymbol? type = this.VisitType(node.Type); 12030TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12031TypeSymbol? type = this.VisitType(node.Type); 12036TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12037TypeSymbol? type = this.VisitType(node.Type); 12044TypeSymbol? type = this.VisitType(node.Type); 12052TypeSymbol? type = this.VisitType(node.Type); 12060TypeSymbol? type = this.VisitType(node.Type); 12065TypeSymbol? type = this.VisitType(node.Type); 12073TypeSymbol? type = this.VisitType(node.Type); 12079TypeSymbol? type = this.VisitType(node.Type); 12085TypeSymbol? type = this.VisitType(node.Type); 12092TypeSymbol? type = this.VisitType(node.Type); 12099TypeSymbol? type = this.VisitType(node.Type); 12105TypeSymbol? type = this.VisitType(node.Type); 12112TypeSymbol? elementType = this.VisitType(node.ElementType); 12113TypeSymbol? type = this.VisitType(node.Type); 12120TypeSymbol? elementType = this.VisitType(node.ElementType); 12121TypeSymbol? type = this.VisitType(node.Type); 12128TypeSymbol? type = this.VisitType(node.Type); 12134TypeSymbol? type = this.VisitType(node.Type); 12141TypeSymbol? type = this.VisitType(node.Type); 12148TypeSymbol? type = this.VisitType(node.Type); 12157TypeSymbol? type = this.VisitType(node.Type); 12168TypeSymbol? 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); 12207TypeSymbol? type = this.VisitType(node.Type); 12218TypeSymbol? type = this.VisitType(node.Type); 12224TypeSymbol? type = this.VisitType(node.Type); 12230TypeSymbol? type = this.VisitType(node.Type); 12235TypeSymbol? type = this.VisitType(node.Type); 12240TypeSymbol? type = this.VisitType(node.Type); 12248TypeSymbol? type = this.VisitType(node.Type); 12258TypeSymbol? type = this.VisitType(node.Type); 12264TypeSymbol? inputType = this.VisitType(node.InputType); 12265TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12270TypeSymbol? inputType = this.VisitType(node.InputType); 12271TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12279TypeSymbol? inputType = this.VisitType(node.InputType); 12280TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12291TypeSymbol? inputType = this.VisitType(node.InputType); 12292TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12304TypeSymbol? inputType = this.VisitType(node.InputType); 12305TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12314TypeSymbol? inputType = this.VisitType(node.InputType); 12315TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12323TypeSymbol? inputType = this.VisitType(node.InputType); 12324TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12343TypeSymbol? type = this.VisitType(node.Type); 12349TypeSymbol? inputType = this.VisitType(node.InputType); 12350TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12357TypeSymbol? inputType = this.VisitType(node.InputType); 12358TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12364TypeSymbol? inputType = this.VisitType(node.InputType); 12365TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12371TypeSymbol? inputType = this.VisitType(node.InputType); 12372TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12377TypeSymbol? type = this.VisitType(node.Type); 12383TypeSymbol? type = this.VisitType(node.Type); 12390TypeSymbol? type = this.VisitType(node.Type); 12397TypeSymbol? type = this.VisitType(node.Type); 12403TypeSymbol? type = this.VisitType(node.Type); 12423TypeSymbol? type = this.VisitType(node.Type); 12431TypeSymbol? 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)
658var type = this.VisitType(node.Type); 688var type = this.VisitType(node.Type); 835var 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);