2 instantiations of TypeSyntaxGeneratorVisitor
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (2)
26
private static readonly TypeSyntaxGeneratorVisitor NameOnlyInstance =
new
(nameOnly: true);
27
private static readonly TypeSyntaxGeneratorVisitor NotNameOnlyInstance =
new
(nameOnly: false);
8 references to TypeSyntaxGeneratorVisitor
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (8)
ITypeSymbolExtensions.cs (2)
49
?
TypeSyntaxGeneratorVisitor
.CreateSystemObject()
50
: symbol.Accept(
TypeSyntaxGeneratorVisitor
.Create(nameSyntax))!
ITypeSymbolExtensions.ExpressionSyntaxGeneratorVisitor.cs (3)
27
=> symbol.Accept(
TypeSyntaxGeneratorVisitor
.Create(_nameOnly))!;
40
if (!_nameOnly &&
TypeSyntaxGeneratorVisitor
.TryCreateNativeIntegerType(symbol, out var typeSyntax))
43
typeSyntax =
TypeSyntaxGeneratorVisitor
.Create().CreateSimpleTypeSyntax(symbol);
ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (3)
26
private static readonly
TypeSyntaxGeneratorVisitor
NameOnlyInstance = new(nameOnly: true);
27
private static readonly
TypeSyntaxGeneratorVisitor
NotNameOnlyInstance = new(nameOnly: false);
32
public static
TypeSyntaxGeneratorVisitor
Create(bool nameOnly = false)