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); 2213TypeSymbol type = this.VisitType(node.Type); 2334typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 2348TypeSymbol? type = this.VisitType(node.Type); 2399type = this.VisitType(type);
Generated\BoundNodes.xml.Generated.cs (191)
11132TypeSymbol? type = this.VisitType(node.Type); 11138TypeSymbol? type = this.VisitType(node.Type); 11144TypeSymbol? type = this.VisitType(node.Type); 11149TypeSymbol? type = this.VisitType(node.Type); 11154TypeSymbol? type = this.VisitType(node.Type); 11159TypeSymbol? type = this.VisitType(node.Type); 11164TypeSymbol? type = this.VisitType(node.Type); 11169TypeSymbol? type = this.VisitType(node.Type); 11175TypeSymbol? type = this.VisitType(node.Type); 11180TypeSymbol? type = this.VisitType(node.Type); 11185TypeSymbol? type = this.VisitType(node.Type); 11190TypeSymbol? type = this.VisitType(node.Type); 11195TypeSymbol? type = this.VisitType(node.Type); 11200TypeSymbol? type = this.VisitType(node.Type); 11205TypeSymbol? type = this.VisitType(node.Type); 11211TypeSymbol? type = this.VisitType(node.Type); 11218TypeSymbol? type = this.VisitType(node.Type); 11236TypeSymbol? type = this.VisitType(node.Type); 11242TypeSymbol? type = this.VisitType(node.Type); 11249TypeSymbol? type = this.VisitType(node.Type); 11257TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11258TypeSymbol? type = this.VisitType(node.Type); 11270TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11271TypeSymbol? type = this.VisitType(node.Type); 11277TypeSymbol? type = this.VisitType(node.Type); 11283TypeSymbol? type = this.VisitType(node.Type); 11289TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11290TypeSymbol? type = this.VisitType(node.Type); 11296TypeSymbol? type = this.VisitType(node.Type); 11303TypeSymbol? type = this.VisitType(node.Type); 11310TypeSymbol? type = this.VisitType(node.Type); 11317TypeSymbol? type = this.VisitType(node.Type); 11323TypeSymbol? type = this.VisitType(node.Type); 11329TypeSymbol? type = this.VisitType(node.Type); 11336TypeSymbol? type = this.VisitType(node.Type); 11344TypeSymbol? type = this.VisitType(node.Type); 11351TypeSymbol? type = this.VisitType(node.Type); 11358TypeSymbol? type = this.VisitType(node.Type); 11371TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11372TypeSymbol? type = this.VisitType(node.Type); 11384TypeSymbol? type = this.VisitType(node.Type); 11391TypeSymbol? type = this.VisitType(node.Type); 11398TypeSymbol? type = this.VisitType(node.Type); 11407TypeSymbol? type = this.VisitType(node.Type); 11414TypeSymbol? type = this.VisitType(node.Type); 11422TypeSymbol? type = this.VisitType(node.Type); 11430TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11431TypeSymbol? type = this.VisitType(node.Type); 11438TypeSymbol? type = this.VisitType(node.Type); 11444TypeSymbol? type = this.VisitType(node.Type); 11450TypeSymbol? type = this.VisitType(node.Type); 11467TypeSymbol? type = this.VisitType(node.Type); 11474TypeSymbol? type = this.VisitType(node.Type); 11487TypeSymbol? type = this.VisitType(node.Type); 11494TypeSymbol? type = this.VisitType(node.Type); 11501TypeSymbol? type = this.VisitType(node.Type); 11506TypeSymbol? type = this.VisitType(node.Type); 11511TypeSymbol? type = this.VisitType(node.Type); 11516TypeSymbol? type = this.VisitType(node.Type); 11521TypeSymbol? type = this.VisitType(node.Type); 11526TypeSymbol? type = this.VisitType(node.Type); 11531TypeSymbol? type = this.VisitType(node.Type); 11536TypeSymbol? type = this.VisitType(node.Type); 11541TypeSymbol? type = this.VisitType(node.Type); 11548TypeSymbol? type = this.VisitType(node.Type); 11555TypeSymbol? type = this.VisitType(node.Type); 11560TypeSymbol? type = this.VisitType(node.Type); 11566TypeSymbol? type = this.VisitType(node.Type); 11573TypeSymbol? type = this.VisitType(node.Type); 11582TypeSymbol? type = this.VisitType(node.Type); 11588TypeSymbol? type = this.VisitType(node.Type); 11594TypeSymbol? type = this.VisitType(node.Type); 11601TypeSymbol? type = this.VisitType(node.Type); 11606TypeSymbol? type = this.VisitType(node.Type); 11612TypeSymbol? type = this.VisitType(node.Type); 11621TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11622TypeSymbol? type = this.VisitType(node.Type); 11829TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11834TypeSymbol? type = this.VisitType(node.Type); 11839TypeSymbol? type = this.VisitType(node.Type); 11844TypeSymbol? type = this.VisitType(node.Type); 11849TypeSymbol? type = this.VisitType(node.Type); 11854TypeSymbol? type = this.VisitType(node.Type); 11859TypeSymbol? type = this.VisitType(node.Type); 11865TypeSymbol? type = this.VisitType(node.Type); 11871TypeSymbol? type = this.VisitType(node.Type); 11878TypeSymbol? type = this.VisitType(node.Type); 11884TypeSymbol? type = this.VisitType(node.Type); 11908TypeSymbol? type = this.VisitType(node.Type); 11937TypeSymbol? type = this.VisitType(node.Type); 11946TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11947TypeSymbol? type = this.VisitType(node.Type); 11983TypeSymbol? type = this.VisitType(node.Type); 11989TypeSymbol? type = this.VisitType(node.Type); 12021TypeSymbol? type = this.VisitType(node.Type); 12049TypeSymbol? indexerType = this.VisitType(node.IndexerType); 12059TypeSymbol? sliceType = this.VisitType(node.SliceType); 12090TypeSymbol? type = this.VisitType(node.Type); 12098TypeSymbol? type = this.VisitType(node.Type); 12106TypeSymbol? type = this.VisitType(node.Type); 12112TypeSymbol? type = this.VisitType(node.Type); 12120TypeSymbol? type = this.VisitType(node.Type); 12127TypeSymbol? type = this.VisitType(node.Type); 12136TypeSymbol? type = this.VisitType(node.Type); 12141TypeSymbol? type = this.VisitType(node.Type); 12148TypeSymbol? type = this.VisitType(node.Type); 12157TypeSymbol? type = this.VisitType(node.Type); 12164TypeSymbol? type = this.VisitType(node.Type); 12173TypeSymbol? type = this.VisitType(node.Type); 12181TypeSymbol? type = this.VisitType(node.Type); 12189TypeSymbol? type = this.VisitType(node.Type); 12195TypeSymbol? type = this.VisitType(node.Type); 12204TypeSymbol? type = this.VisitType(node.Type); 12211TypeSymbol? type = this.VisitType(node.Type); 12227TypeSymbol? type = this.VisitType(node.Type); 12232TypeSymbol? type = this.VisitType(node.Type); 12248TypeSymbol? type = this.VisitType(node.Type); 12255TypeSymbol? type = this.VisitType(node.Type); 12263TypeSymbol? type = this.VisitType(node.Type); 12269TypeSymbol? type = this.VisitType(node.Type); 12276TypeSymbol? type = this.VisitType(node.Type); 12283TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12284TypeSymbol? type = this.VisitType(node.Type); 12289TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12290TypeSymbol? type = this.VisitType(node.Type); 12297TypeSymbol? type = this.VisitType(node.Type); 12305TypeSymbol? type = this.VisitType(node.Type); 12313TypeSymbol? type = this.VisitType(node.Type); 12318TypeSymbol? type = this.VisitType(node.Type); 12326TypeSymbol? type = this.VisitType(node.Type); 12332TypeSymbol? type = this.VisitType(node.Type); 12338TypeSymbol? type = this.VisitType(node.Type); 12345TypeSymbol? type = this.VisitType(node.Type); 12352TypeSymbol? type = this.VisitType(node.Type); 12358TypeSymbol? type = this.VisitType(node.Type); 12365TypeSymbol? elementType = this.VisitType(node.ElementType); 12366TypeSymbol? type = this.VisitType(node.Type); 12373TypeSymbol? elementType = this.VisitType(node.ElementType); 12374TypeSymbol? type = this.VisitType(node.Type); 12381TypeSymbol? type = this.VisitType(node.Type); 12387TypeSymbol? type = this.VisitType(node.Type); 12394TypeSymbol? type = this.VisitType(node.Type); 12401TypeSymbol? type = this.VisitType(node.Type); 12410TypeSymbol? type = this.VisitType(node.Type); 12421TypeSymbol? type = this.VisitType(node.Type); 12428TypeSymbol? type = this.VisitType(node.Type); 12436TypeSymbol? type = this.VisitType(node.Type); 12444TypeSymbol? type = this.VisitType(node.Type); 12450TypeSymbol? type = this.VisitType(node.Type); 12460TypeSymbol? type = this.VisitType(node.Type); 12471TypeSymbol? type = this.VisitType(node.Type); 12477TypeSymbol? type = this.VisitType(node.Type); 12483TypeSymbol? type = this.VisitType(node.Type); 12488TypeSymbol? type = this.VisitType(node.Type); 12493TypeSymbol? type = this.VisitType(node.Type); 12501TypeSymbol? type = this.VisitType(node.Type); 12511TypeSymbol? type = this.VisitType(node.Type); 12517TypeSymbol? inputType = this.VisitType(node.InputType); 12518TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12526TypeSymbol? unionMatchingInputType = this.VisitType(node.UnionMatchingInputType); 12527TypeSymbol? inputType = this.VisitType(node.InputType); 12528TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12533TypeSymbol? inputType = this.VisitType(node.InputType); 12534TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12542TypeSymbol? inputType = this.VisitType(node.InputType); 12543TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12554TypeSymbol? inputType = this.VisitType(node.InputType); 12555TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12567TypeSymbol? inputType = this.VisitType(node.InputType); 12568TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12577TypeSymbol? inputType = this.VisitType(node.InputType); 12578TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12586TypeSymbol? inputType = this.VisitType(node.InputType); 12587TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12606TypeSymbol? type = this.VisitType(node.Type); 12612TypeSymbol? inputType = this.VisitType(node.InputType); 12613TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12620TypeSymbol? inputType = this.VisitType(node.InputType); 12621TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12627TypeSymbol? inputType = this.VisitType(node.InputType); 12628TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12634TypeSymbol? inputType = this.VisitType(node.InputType); 12635TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12640TypeSymbol? type = this.VisitType(node.Type); 12646TypeSymbol? type = this.VisitType(node.Type); 12653TypeSymbol? type = this.VisitType(node.Type); 12660TypeSymbol? type = this.VisitType(node.Type); 12666TypeSymbol? type = this.VisitType(node.Type); 12686TypeSymbol? type = this.VisitType(node.Type); 12692TypeSymbol? type = this.VisitType(node.Type); 12700TypeSymbol? 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);