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)
1184typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 1535var type = this.VisitType(binary.Type); 1753var exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 2159var type = this.VisitType(binary.Type); 2204TypeSymbol type = this.VisitType(node.Type); 2325typeWithAnnotations: typeExpression.TypeWithAnnotations, type: this.VisitType(typeExpression.Type)); 2339TypeSymbol? type = this.VisitType(node.Type); 2390type = this.VisitType(type);
Generated\BoundNodes.xml.Generated.cs (191)
11136TypeSymbol? type = this.VisitType(node.Type); 11142TypeSymbol? 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); 11173TypeSymbol? type = this.VisitType(node.Type); 11178TypeSymbol? type = this.VisitType(node.Type); 11183TypeSymbol? type = this.VisitType(node.Type); 11188TypeSymbol? type = this.VisitType(node.Type); 11193TypeSymbol? type = this.VisitType(node.Type); 11198TypeSymbol? type = this.VisitType(node.Type); 11203TypeSymbol? type = this.VisitType(node.Type); 11208TypeSymbol? type = this.VisitType(node.Type); 11214TypeSymbol? type = this.VisitType(node.Type); 11221TypeSymbol? type = this.VisitType(node.Type); 11239TypeSymbol? type = this.VisitType(node.Type); 11245TypeSymbol? type = this.VisitType(node.Type); 11252TypeSymbol? type = this.VisitType(node.Type); 11260TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11261TypeSymbol? type = this.VisitType(node.Type); 11273TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11274TypeSymbol? type = this.VisitType(node.Type); 11280TypeSymbol? type = this.VisitType(node.Type); 11286TypeSymbol? type = this.VisitType(node.Type); 11292TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11293TypeSymbol? type = this.VisitType(node.Type); 11299TypeSymbol? type = this.VisitType(node.Type); 11306TypeSymbol? type = this.VisitType(node.Type); 11313TypeSymbol? type = this.VisitType(node.Type); 11320TypeSymbol? type = this.VisitType(node.Type); 11326TypeSymbol? type = this.VisitType(node.Type); 11332TypeSymbol? type = this.VisitType(node.Type); 11339TypeSymbol? type = this.VisitType(node.Type); 11347TypeSymbol? type = this.VisitType(node.Type); 11354TypeSymbol? type = this.VisitType(node.Type); 11361TypeSymbol? type = this.VisitType(node.Type); 11374TypeSymbol? constrainedToTypeOpt = this.VisitType(node.ConstrainedToTypeOpt); 11375TypeSymbol? type = this.VisitType(node.Type); 11387TypeSymbol? type = this.VisitType(node.Type); 11394TypeSymbol? type = this.VisitType(node.Type); 11401TypeSymbol? type = this.VisitType(node.Type); 11410TypeSymbol? type = this.VisitType(node.Type); 11417TypeSymbol? type = this.VisitType(node.Type); 11425TypeSymbol? type = this.VisitType(node.Type); 11433TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11434TypeSymbol? type = this.VisitType(node.Type); 11441TypeSymbol? type = this.VisitType(node.Type); 11447TypeSymbol? type = this.VisitType(node.Type); 11453TypeSymbol? type = this.VisitType(node.Type); 11470TypeSymbol? type = this.VisitType(node.Type); 11477TypeSymbol? type = this.VisitType(node.Type); 11490TypeSymbol? type = this.VisitType(node.Type); 11497TypeSymbol? type = this.VisitType(node.Type); 11504TypeSymbol? type = this.VisitType(node.Type); 11509TypeSymbol? type = this.VisitType(node.Type); 11514TypeSymbol? type = this.VisitType(node.Type); 11519TypeSymbol? type = this.VisitType(node.Type); 11524TypeSymbol? type = this.VisitType(node.Type); 11529TypeSymbol? type = this.VisitType(node.Type); 11534TypeSymbol? type = this.VisitType(node.Type); 11539TypeSymbol? type = this.VisitType(node.Type); 11544TypeSymbol? type = this.VisitType(node.Type); 11551TypeSymbol? type = this.VisitType(node.Type); 11558TypeSymbol? type = this.VisitType(node.Type); 11563TypeSymbol? type = this.VisitType(node.Type); 11569TypeSymbol? type = this.VisitType(node.Type); 11576TypeSymbol? type = this.VisitType(node.Type); 11585TypeSymbol? type = this.VisitType(node.Type); 11591TypeSymbol? type = this.VisitType(node.Type); 11597TypeSymbol? type = this.VisitType(node.Type); 11604TypeSymbol? type = this.VisitType(node.Type); 11609TypeSymbol? type = this.VisitType(node.Type); 11615TypeSymbol? type = this.VisitType(node.Type); 11624TypeSymbol? elementPointerType = this.VisitType(node.ElementPointerType); 11625TypeSymbol? type = this.VisitType(node.Type); 11830TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt); 11835TypeSymbol? type = this.VisitType(node.Type); 11840TypeSymbol? type = this.VisitType(node.Type); 11845TypeSymbol? type = this.VisitType(node.Type); 11850TypeSymbol? type = this.VisitType(node.Type); 11855TypeSymbol? type = this.VisitType(node.Type); 11860TypeSymbol? type = this.VisitType(node.Type); 11866TypeSymbol? type = this.VisitType(node.Type); 11872TypeSymbol? type = this.VisitType(node.Type); 11879TypeSymbol? type = this.VisitType(node.Type); 11885TypeSymbol? type = this.VisitType(node.Type); 11909TypeSymbol? type = this.VisitType(node.Type); 11938TypeSymbol? type = this.VisitType(node.Type); 11947TypeSymbol? naturalTypeOpt = this.VisitType(node.NaturalTypeOpt); 11948TypeSymbol? type = this.VisitType(node.Type); 11984TypeSymbol? type = this.VisitType(node.Type); 11990TypeSymbol? type = this.VisitType(node.Type); 12022TypeSymbol? type = this.VisitType(node.Type); 12050TypeSymbol? indexerType = this.VisitType(node.IndexerType); 12060TypeSymbol? sliceType = this.VisitType(node.SliceType); 12091TypeSymbol? type = this.VisitType(node.Type); 12099TypeSymbol? type = this.VisitType(node.Type); 12107TypeSymbol? type = this.VisitType(node.Type); 12113TypeSymbol? type = this.VisitType(node.Type); 12121TypeSymbol? type = this.VisitType(node.Type); 12128TypeSymbol? type = this.VisitType(node.Type); 12137TypeSymbol? type = this.VisitType(node.Type); 12142TypeSymbol? type = this.VisitType(node.Type); 12149TypeSymbol? type = this.VisitType(node.Type); 12158TypeSymbol? type = this.VisitType(node.Type); 12165TypeSymbol? type = this.VisitType(node.Type); 12174TypeSymbol? type = this.VisitType(node.Type); 12182TypeSymbol? type = this.VisitType(node.Type); 12190TypeSymbol? type = this.VisitType(node.Type); 12196TypeSymbol? type = this.VisitType(node.Type); 12205TypeSymbol? type = this.VisitType(node.Type); 12212TypeSymbol? type = this.VisitType(node.Type); 12228TypeSymbol? type = this.VisitType(node.Type); 12233TypeSymbol? type = this.VisitType(node.Type); 12249TypeSymbol? type = this.VisitType(node.Type); 12256TypeSymbol? type = this.VisitType(node.Type); 12264TypeSymbol? type = this.VisitType(node.Type); 12270TypeSymbol? type = this.VisitType(node.Type); 12277TypeSymbol? type = this.VisitType(node.Type); 12284TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12285TypeSymbol? type = this.VisitType(node.Type); 12290TypeSymbol? receiverType = this.VisitType(node.ReceiverType); 12291TypeSymbol? type = this.VisitType(node.Type); 12298TypeSymbol? type = this.VisitType(node.Type); 12306TypeSymbol? type = this.VisitType(node.Type); 12314TypeSymbol? type = this.VisitType(node.Type); 12319TypeSymbol? type = this.VisitType(node.Type); 12327TypeSymbol? type = this.VisitType(node.Type); 12333TypeSymbol? type = this.VisitType(node.Type); 12339TypeSymbol? type = this.VisitType(node.Type); 12346TypeSymbol? type = this.VisitType(node.Type); 12353TypeSymbol? type = this.VisitType(node.Type); 12359TypeSymbol? type = this.VisitType(node.Type); 12366TypeSymbol? elementType = this.VisitType(node.ElementType); 12367TypeSymbol? type = this.VisitType(node.Type); 12374TypeSymbol? elementType = this.VisitType(node.ElementType); 12375TypeSymbol? type = this.VisitType(node.Type); 12382TypeSymbol? type = this.VisitType(node.Type); 12388TypeSymbol? type = this.VisitType(node.Type); 12395TypeSymbol? type = this.VisitType(node.Type); 12402TypeSymbol? type = this.VisitType(node.Type); 12411TypeSymbol? type = this.VisitType(node.Type); 12422TypeSymbol? type = this.VisitType(node.Type); 12429TypeSymbol? type = this.VisitType(node.Type); 12437TypeSymbol? type = this.VisitType(node.Type); 12445TypeSymbol? type = this.VisitType(node.Type); 12451TypeSymbol? type = this.VisitType(node.Type); 12461TypeSymbol? type = this.VisitType(node.Type); 12472TypeSymbol? type = this.VisitType(node.Type); 12478TypeSymbol? type = this.VisitType(node.Type); 12484TypeSymbol? type = this.VisitType(node.Type); 12489TypeSymbol? type = this.VisitType(node.Type); 12494TypeSymbol? type = this.VisitType(node.Type); 12502TypeSymbol? type = this.VisitType(node.Type); 12512TypeSymbol? type = this.VisitType(node.Type); 12518TypeSymbol? inputType = this.VisitType(node.InputType); 12519TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12527TypeSymbol? unionMatchingInputType = this.VisitType(node.UnionMatchingInputType); 12528TypeSymbol? inputType = this.VisitType(node.InputType); 12529TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12534TypeSymbol? inputType = this.VisitType(node.InputType); 12535TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12543TypeSymbol? inputType = this.VisitType(node.InputType); 12544TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12555TypeSymbol? inputType = this.VisitType(node.InputType); 12556TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12568TypeSymbol? inputType = this.VisitType(node.InputType); 12569TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12578TypeSymbol? inputType = this.VisitType(node.InputType); 12579TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12587TypeSymbol? inputType = this.VisitType(node.InputType); 12588TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12607TypeSymbol? type = this.VisitType(node.Type); 12613TypeSymbol? inputType = this.VisitType(node.InputType); 12614TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12621TypeSymbol? inputType = this.VisitType(node.InputType); 12622TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12628TypeSymbol? inputType = this.VisitType(node.InputType); 12629TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12635TypeSymbol? inputType = this.VisitType(node.InputType); 12636TypeSymbol? narrowedType = this.VisitType(node.NarrowedType); 12641TypeSymbol? type = this.VisitType(node.Type); 12647TypeSymbol? type = this.VisitType(node.Type); 12654TypeSymbol? type = this.VisitType(node.Type); 12661TypeSymbol? type = this.VisitType(node.Type); 12667TypeSymbol? type = this.VisitType(node.Type); 12687TypeSymbol? type = this.VisitType(node.Type); 12693TypeSymbol? type = this.VisitType(node.Type); 12701TypeSymbol? 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)
664var type = this.VisitType(node.Type); 694var type = this.VisitType(node.Type); 841var 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)
735TypeSymbol? exceptionTypeOpt = this.VisitType(node.ExceptionTypeOpt);