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); 2167var type = this.VisitType(binary.Type); 2212TypeSymbol type = this.VisitType(node.Type); 2333typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 2347TypeSymbol? type = this.VisitType(node.Type); 2398type = this.VisitType(type);
Generated\BoundNodes.xml.Generated.cs (191)
11131TypeSymbol? type = this.VisitType(node.Type); 11137TypeSymbol? type = this.VisitType(node.Type); 11143TypeSymbol? type = this.VisitType(node.Type); 11148TypeSymbol? type = this.VisitType(node.Type); 11153TypeSymbol? type = this.VisitType(node.Type); 11158TypeSymbol? type = this.VisitType(node.Type); 11163TypeSymbol? type = this.VisitType(node.Type); 11168TypeSymbol? type = this.VisitType(node.Type); 11174TypeSymbol? type = this.VisitType(node.Type); 11179TypeSymbol? type = this.VisitType(node.Type); 11184TypeSymbol? type = this.VisitType(node.Type); 11189TypeSymbol? type = this.VisitType(node.Type); 11194TypeSymbol? type = this.VisitType(node.Type); 11199TypeSymbol? type = this.VisitType(node.Type); 11204TypeSymbol? type = this.VisitType(node.Type); 11210TypeSymbol? type = this.VisitType(node.Type); 11217TypeSymbol? type = this.VisitType(node.Type); 11235TypeSymbol? type = this.VisitType(node.Type); 11241TypeSymbol? type = this.VisitType(node.Type); 11248TypeSymbol? type = this.VisitType(node.Type); 11256TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11257TypeSymbol? type = this.VisitType(node.Type); 11269TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11270TypeSymbol? type = this.VisitType(node.Type); 11276TypeSymbol? type = this.VisitType(node.Type); 11282TypeSymbol? type = this.VisitType(node.Type); 11288TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11289TypeSymbol? type = this.VisitType(node.Type); 11295TypeSymbol? type = this.VisitType(node.Type); 11302TypeSymbol? type = this.VisitType(node.Type); 11309TypeSymbol? type = this.VisitType(node.Type); 11316TypeSymbol? type = this.VisitType(node.Type); 11322TypeSymbol? type = this.VisitType(node.Type); 11328TypeSymbol? type = this.VisitType(node.Type); 11335TypeSymbol? type = this.VisitType(node.Type); 11343TypeSymbol? type = this.VisitType(node.Type); 11350TypeSymbol? type = this.VisitType(node.Type); 11357TypeSymbol? type = this.VisitType(node.Type); 11370TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11371TypeSymbol? type = this.VisitType(node.Type); 11383TypeSymbol? type = this.VisitType(node.Type); 11390TypeSymbol? type = this.VisitType(node.Type); 11397TypeSymbol? type = this.VisitType(node.Type); 11406TypeSymbol? type = this.VisitType(node.Type); 11413TypeSymbol? type = this.VisitType(node.Type); 11421TypeSymbol? type = this.VisitType(node.Type); 11429TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11430TypeSymbol? type = this.VisitType(node.Type); 11437TypeSymbol? type = this.VisitType(node.Type); 11443TypeSymbol? type = this.VisitType(node.Type); 11449TypeSymbol? type = this.VisitType(node.Type); 11466TypeSymbol? type = this.VisitType(node.Type); 11473TypeSymbol? type = this.VisitType(node.Type); 11486TypeSymbol? type = this.VisitType(node.Type); 11493TypeSymbol? type = this.VisitType(node.Type); 11500TypeSymbol? type = this.VisitType(node.Type); 11505TypeSymbol? type = this.VisitType(node.Type); 11510TypeSymbol? type = this.VisitType(node.Type); 11515TypeSymbol? type = this.VisitType(node.Type); 11520TypeSymbol? type = this.VisitType(node.Type); 11525TypeSymbol? type = this.VisitType(node.Type); 11530TypeSymbol? type = this.VisitType(node.Type); 11535TypeSymbol? type = this.VisitType(node.Type); 11540TypeSymbol? type = this.VisitType(node.Type); 11547TypeSymbol? type = this.VisitType(node.Type); 11554TypeSymbol? type = this.VisitType(node.Type); 11559TypeSymbol? type = this.VisitType(node.Type); 11565TypeSymbol? type = this.VisitType(node.Type); 11572TypeSymbol? type = this.VisitType(node.Type); 11581TypeSymbol? type = this.VisitType(node.Type); 11587TypeSymbol? type = this.VisitType(node.Type); 11593TypeSymbol? type = this.VisitType(node.Type); 11600TypeSymbol? type = this.VisitType(node.Type); 11605TypeSymbol? type = this.VisitType(node.Type); 11611TypeSymbol? type = this.VisitType(node.Type); 11620TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11621TypeSymbol? type = this.VisitType(node.Type); 11828TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11833TypeSymbol? type = this.VisitType(node.Type); 11838TypeSymbol? type = this.VisitType(node.Type); 11843TypeSymbol? type = this.VisitType(node.Type); 11848TypeSymbol? type = this.VisitType(node.Type); 11853TypeSymbol? type = this.VisitType(node.Type); 11858TypeSymbol? type = this.VisitType(node.Type); 11864TypeSymbol? type = this.VisitType(node.Type); 11870TypeSymbol? type = this.VisitType(node.Type); 11877TypeSymbol? type = this.VisitType(node.Type); 11883TypeSymbol? type = this.VisitType(node.Type); 11907TypeSymbol? type = this.VisitType(node.Type); 11936TypeSymbol? type = this.VisitType(node.Type); 11945TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11946TypeSymbol? type = this.VisitType(node.Type); 11982TypeSymbol? type = this.VisitType(node.Type); 11988TypeSymbol? type = this.VisitType(node.Type); 12020TypeSymbol? type = this.VisitType(node.Type); 12048TypeSymbol? indexerType = this.VisitType(node.IndexerType); 12058TypeSymbol? sliceType = this.VisitType(node.SliceType); 12089TypeSymbol? type = this.VisitType(node.Type); 12097TypeSymbol? type = this.VisitType(node.Type); 12105TypeSymbol? type = this.VisitType(node.Type); 12111TypeSymbol? type = this.VisitType(node.Type); 12119TypeSymbol? type = this.VisitType(node.Type); 12126TypeSymbol? type = this.VisitType(node.Type); 12135TypeSymbol? type = this.VisitType(node.Type); 12140TypeSymbol? type = this.VisitType(node.Type); 12147TypeSymbol? type = this.VisitType(node.Type); 12156TypeSymbol? type = this.VisitType(node.Type); 12163TypeSymbol? type = this.VisitType(node.Type); 12172TypeSymbol? type = this.VisitType(node.Type); 12180TypeSymbol? type = this.VisitType(node.Type); 12188TypeSymbol? type = this.VisitType(node.Type); 12194TypeSymbol? type = this.VisitType(node.Type); 12203TypeSymbol? type = this.VisitType(node.Type); 12210TypeSymbol? type = this.VisitType(node.Type); 12226TypeSymbol? type = this.VisitType(node.Type); 12231TypeSymbol? type = this.VisitType(node.Type); 12247TypeSymbol? type = this.VisitType(node.Type); 12254TypeSymbol? type = this.VisitType(node.Type); 12262TypeSymbol? type = this.VisitType(node.Type); 12268TypeSymbol? type = this.VisitType(node.Type); 12275TypeSymbol? type = this.VisitType(node.Type); 12282TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12283TypeSymbol? type = this.VisitType(node.Type); 12288TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12289TypeSymbol? type = this.VisitType(node.Type); 12296TypeSymbol? type = this.VisitType(node.Type); 12304TypeSymbol? type = this.VisitType(node.Type); 12312TypeSymbol? type = this.VisitType(node.Type); 12317TypeSymbol? type = this.VisitType(node.Type); 12325TypeSymbol? type = this.VisitType(node.Type); 12331TypeSymbol? type = this.VisitType(node.Type); 12337TypeSymbol? type = this.VisitType(node.Type); 12344TypeSymbol? type = this.VisitType(node.Type); 12351TypeSymbol? type = this.VisitType(node.Type); 12357TypeSymbol? type = this.VisitType(node.Type); 12364TypeSymbol? elementType = this.VisitType(node.ElementType); 12365TypeSymbol? type = this.VisitType(node.Type); 12372TypeSymbol? elementType = this.VisitType(node.ElementType); 12373TypeSymbol? type = this.VisitType(node.Type); 12380TypeSymbol? type = this.VisitType(node.Type); 12386TypeSymbol? type = this.VisitType(node.Type); 12393TypeSymbol? type = this.VisitType(node.Type); 12400TypeSymbol? type = this.VisitType(node.Type); 12409TypeSymbol? type = this.VisitType(node.Type); 12420TypeSymbol? type = this.VisitType(node.Type); 12427TypeSymbol? type = this.VisitType(node.Type); 12435TypeSymbol? type = this.VisitType(node.Type); 12443TypeSymbol? type = this.VisitType(node.Type); 12449TypeSymbol? type = this.VisitType(node.Type); 12459TypeSymbol? type = this.VisitType(node.Type); 12470TypeSymbol? type = this.VisitType(node.Type); 12476TypeSymbol? type = this.VisitType(node.Type); 12482TypeSymbol? type = this.VisitType(node.Type); 12487TypeSymbol? type = this.VisitType(node.Type); 12492TypeSymbol? type = this.VisitType(node.Type); 12500TypeSymbol? type = this.VisitType(node.Type); 12510TypeSymbol? type = this.VisitType(node.Type); 12516TypeSymbol? inputType = this.VisitType(node.InputType); 12517TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12525TypeSymbol? unionMatchingInputType = this.VisitType(node.UnionMatchingInputType); 12526TypeSymbol? inputType = this.VisitType(node.InputType); 12527TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12532TypeSymbol? inputType = this.VisitType(node.InputType); 12533TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12541TypeSymbol? inputType = this.VisitType(node.InputType); 12542TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12553TypeSymbol? inputType = this.VisitType(node.InputType); 12554TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12566TypeSymbol? inputType = this.VisitType(node.InputType); 12567TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12576TypeSymbol? inputType = this.VisitType(node.InputType); 12577TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12585TypeSymbol? inputType = this.VisitType(node.InputType); 12586TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12605TypeSymbol? type = this.VisitType(node.Type); 12611TypeSymbol? inputType = this.VisitType(node.InputType); 12612TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12619TypeSymbol? inputType = this.VisitType(node.InputType); 12620TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12626TypeSymbol? inputType = this.VisitType(node.InputType); 12627TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12633TypeSymbol? inputType = this.VisitType(node.InputType); 12634TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12639TypeSymbol? type = this.VisitType(node.Type); 12645TypeSymbol? type = this.VisitType(node.Type); 12652TypeSymbol? type = this.VisitType(node.Type); 12659TypeSymbol? type = this.VisitType(node.Type); 12665TypeSymbol? type = this.VisitType(node.Type); 12685TypeSymbol? type = this.VisitType(node.Type); 12691TypeSymbol? type = this.VisitType(node.Type); 12699TypeSymbol? 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)
782TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt);