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)
10895TypeSymbol? type = this.VisitType(node.Type); 10901TypeSymbol? type = this.VisitType(node.Type); 10907TypeSymbol? type = this.VisitType(node.Type); 10912TypeSymbol? type = this.VisitType(node.Type); 10917TypeSymbol? type = this.VisitType(node.Type); 10922TypeSymbol? type = this.VisitType(node.Type); 10927TypeSymbol? type = this.VisitType(node.Type); 10932TypeSymbol? type = this.VisitType(node.Type); 10937TypeSymbol? type = this.VisitType(node.Type); 10942TypeSymbol? type = this.VisitType(node.Type); 10947TypeSymbol? type = this.VisitType(node.Type); 10952TypeSymbol? type = this.VisitType(node.Type); 10957TypeSymbol? type = this.VisitType(node.Type); 10962TypeSymbol? type = this.VisitType(node.Type); 10968TypeSymbol? type = this.VisitType(node.Type); 10975TypeSymbol? type = this.VisitType(node.Type); 10993TypeSymbol? type = this.VisitType(node.Type); 10999TypeSymbol? type = this.VisitType(node.Type); 11006TypeSymbol? type = this.VisitType(node.Type); 11014TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11015TypeSymbol? type = this.VisitType(node.Type); 11027TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11028TypeSymbol? type = this.VisitType(node.Type); 11034TypeSymbol? type = this.VisitType(node.Type); 11040TypeSymbol? type = this.VisitType(node.Type); 11046TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11047TypeSymbol? type = this.VisitType(node.Type); 11053TypeSymbol? type = this.VisitType(node.Type); 11060TypeSymbol? type = this.VisitType(node.Type); 11067TypeSymbol? type = this.VisitType(node.Type); 11074TypeSymbol? type = this.VisitType(node.Type); 11080TypeSymbol? type = this.VisitType(node.Type); 11086TypeSymbol? type = this.VisitType(node.Type); 11093TypeSymbol? type = this.VisitType(node.Type); 11101TypeSymbol? type = this.VisitType(node.Type); 11108TypeSymbol? type = this.VisitType(node.Type); 11115TypeSymbol? type = this.VisitType(node.Type); 11128TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11129TypeSymbol? type = this.VisitType(node.Type); 11141TypeSymbol? type = this.VisitType(node.Type); 11148TypeSymbol? type = this.VisitType(node.Type); 11155TypeSymbol? type = this.VisitType(node.Type); 11164TypeSymbol? type = this.VisitType(node.Type); 11171TypeSymbol? type = this.VisitType(node.Type); 11179TypeSymbol? type = this.VisitType(node.Type); 11187TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11188TypeSymbol? type = this.VisitType(node.Type); 11195TypeSymbol? type = this.VisitType(node.Type); 11201TypeSymbol? type = this.VisitType(node.Type); 11207TypeSymbol? type = this.VisitType(node.Type); 11224TypeSymbol? type = this.VisitType(node.Type); 11231TypeSymbol? type = this.VisitType(node.Type); 11244TypeSymbol? type = this.VisitType(node.Type); 11251TypeSymbol? type = this.VisitType(node.Type); 11258TypeSymbol? type = this.VisitType(node.Type); 11263TypeSymbol? type = this.VisitType(node.Type); 11268TypeSymbol? type = this.VisitType(node.Type); 11273TypeSymbol? type = this.VisitType(node.Type); 11278TypeSymbol? type = this.VisitType(node.Type); 11283TypeSymbol? type = this.VisitType(node.Type); 11288TypeSymbol? type = this.VisitType(node.Type); 11293TypeSymbol? type = this.VisitType(node.Type); 11298TypeSymbol? type = this.VisitType(node.Type); 11305TypeSymbol? type = this.VisitType(node.Type); 11312TypeSymbol? type = this.VisitType(node.Type); 11317TypeSymbol? type = this.VisitType(node.Type); 11323TypeSymbol? type = this.VisitType(node.Type); 11330TypeSymbol? type = this.VisitType(node.Type); 11339TypeSymbol? type = this.VisitType(node.Type); 11345TypeSymbol? type = this.VisitType(node.Type); 11351TypeSymbol? type = this.VisitType(node.Type); 11358TypeSymbol? type = this.VisitType(node.Type); 11363TypeSymbol? type = this.VisitType(node.Type); 11369TypeSymbol? type = this.VisitType(node.Type); 11378TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11379TypeSymbol? type = this.VisitType(node.Type); 11584TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11589TypeSymbol? type = this.VisitType(node.Type); 11594TypeSymbol? type = this.VisitType(node.Type); 11599TypeSymbol? type = this.VisitType(node.Type); 11604TypeSymbol? type = this.VisitType(node.Type); 11609TypeSymbol? type = this.VisitType(node.Type); 11614TypeSymbol? type = this.VisitType(node.Type); 11620TypeSymbol? type = this.VisitType(node.Type); 11626TypeSymbol? type = this.VisitType(node.Type); 11633TypeSymbol? type = this.VisitType(node.Type); 11639TypeSymbol? type = this.VisitType(node.Type); 11663TypeSymbol? type = this.VisitType(node.Type); 11692TypeSymbol? type = this.VisitType(node.Type); 11701TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11702TypeSymbol? type = this.VisitType(node.Type); 11738TypeSymbol? type = this.VisitType(node.Type); 11744TypeSymbol? type = this.VisitType(node.Type); 11776TypeSymbol? type = this.VisitType(node.Type); 11804TypeSymbol? indexerType = this.VisitType(node.IndexerType); 11814TypeSymbol? sliceType = this.VisitType(node.SliceType); 11840TypeSymbol? type = this.VisitType(node.Type); 11848TypeSymbol? type = this.VisitType(node.Type); 11856TypeSymbol? type = this.VisitType(node.Type); 11862TypeSymbol? type = this.VisitType(node.Type); 11870TypeSymbol? type = this.VisitType(node.Type); 11877TypeSymbol? type = this.VisitType(node.Type); 11886TypeSymbol? type = this.VisitType(node.Type); 11891TypeSymbol? type = this.VisitType(node.Type); 11898TypeSymbol? type = this.VisitType(node.Type); 11907TypeSymbol? type = this.VisitType(node.Type); 11914TypeSymbol? type = this.VisitType(node.Type); 11923TypeSymbol? type = this.VisitType(node.Type); 11931TypeSymbol? type = this.VisitType(node.Type); 11939TypeSymbol? type = this.VisitType(node.Type); 11945TypeSymbol? type = this.VisitType(node.Type); 11954TypeSymbol? type = this.VisitType(node.Type); 11960TypeSymbol? type = this.VisitType(node.Type); 11972TypeSymbol? type = this.VisitType(node.Type); 11977TypeSymbol? type = this.VisitType(node.Type); 11993TypeSymbol? type = this.VisitType(node.Type); 12000TypeSymbol? type = this.VisitType(node.Type); 12008TypeSymbol? type = this.VisitType(node.Type); 12014TypeSymbol? type = this.VisitType(node.Type); 12021TypeSymbol? type = this.VisitType(node.Type); 12028TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12029TypeSymbol? type = this.VisitType(node.Type); 12034TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12035TypeSymbol? type = this.VisitType(node.Type); 12042TypeSymbol? type = this.VisitType(node.Type); 12050TypeSymbol? type = this.VisitType(node.Type); 12058TypeSymbol? type = this.VisitType(node.Type); 12063TypeSymbol? type = this.VisitType(node.Type); 12071TypeSymbol? type = this.VisitType(node.Type); 12077TypeSymbol? type = this.VisitType(node.Type); 12083TypeSymbol? type = this.VisitType(node.Type); 12090TypeSymbol? type = this.VisitType(node.Type); 12097TypeSymbol? type = this.VisitType(node.Type); 12103TypeSymbol? type = this.VisitType(node.Type); 12110TypeSymbol? elementType = this.VisitType(node.ElementType); 12111TypeSymbol? type = this.VisitType(node.Type); 12118TypeSymbol? elementType = this.VisitType(node.ElementType); 12119TypeSymbol? type = this.VisitType(node.Type); 12126TypeSymbol? type = this.VisitType(node.Type); 12132TypeSymbol? type = this.VisitType(node.Type); 12139TypeSymbol? type = this.VisitType(node.Type); 12146TypeSymbol? type = this.VisitType(node.Type); 12155TypeSymbol? type = this.VisitType(node.Type); 12166TypeSymbol? 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); 12205TypeSymbol? type = this.VisitType(node.Type); 12216TypeSymbol? type = this.VisitType(node.Type); 12222TypeSymbol? type = this.VisitType(node.Type); 12228TypeSymbol? type = this.VisitType(node.Type); 12233TypeSymbol? type = this.VisitType(node.Type); 12238TypeSymbol? type = this.VisitType(node.Type); 12246TypeSymbol? type = this.VisitType(node.Type); 12256TypeSymbol? type = this.VisitType(node.Type); 12262TypeSymbol? inputType = this.VisitType(node.InputType); 12263TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12268TypeSymbol? inputType = this.VisitType(node.InputType); 12269TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12277TypeSymbol? inputType = this.VisitType(node.InputType); 12278TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12289TypeSymbol? inputType = this.VisitType(node.InputType); 12290TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12302TypeSymbol? inputType = this.VisitType(node.InputType); 12303TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12312TypeSymbol? inputType = this.VisitType(node.InputType); 12313TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12321TypeSymbol? inputType = this.VisitType(node.InputType); 12322TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12341TypeSymbol? type = this.VisitType(node.Type); 12347TypeSymbol? inputType = this.VisitType(node.InputType); 12348TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12355TypeSymbol? inputType = this.VisitType(node.InputType); 12356TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12362TypeSymbol? inputType = this.VisitType(node.InputType); 12363TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12369TypeSymbol? inputType = this.VisitType(node.InputType); 12370TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12375TypeSymbol? type = this.VisitType(node.Type); 12381TypeSymbol? type = this.VisitType(node.Type); 12388TypeSymbol? type = this.VisitType(node.Type); 12395TypeSymbol? type = this.VisitType(node.Type); 12401TypeSymbol? type = this.VisitType(node.Type); 12421TypeSymbol? type = this.VisitType(node.Type); 12429TypeSymbol? 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);