2 instantiations of TypeSyntaxGeneratorVisitor
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (2)
24private static readonly TypeSyntaxGeneratorVisitor NameOnlyInstance = new(nameOnly: true); 25private static readonly TypeSyntaxGeneratorVisitor NotNameOnlyInstance = new(nameOnly: false);
8 references to TypeSyntaxGeneratorVisitor
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (8)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.cs (2)
48? TypeSyntaxGeneratorVisitor.CreateSystemObject() 49: symbol.Accept(TypeSyntaxGeneratorVisitor.Create(nameSyntax))!.WithAdditionalAnnotations(Simplifier.Annotation);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.ExpressionSyntaxGeneratorVisitor.cs (3)
30=> symbol.Accept(TypeSyntaxGeneratorVisitor.Create(_nameOnly))!; 43if (!_nameOnly && TypeSyntaxGeneratorVisitor.TryCreateNativeIntegerType(symbol, out var typeSyntax)) 46typeSyntax = TypeSyntaxGeneratorVisitor.Create().CreateSimpleTypeSyntax(symbol);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (3)
24private static readonly TypeSyntaxGeneratorVisitor NameOnlyInstance = new(nameOnly: true); 25private static readonly TypeSyntaxGeneratorVisitor NotNameOnlyInstance = new(nameOnly: false); 36public static TypeSyntaxGeneratorVisitor Create(bool nameOnly = false)