7 references to ToCSharpString
Microsoft.AspNetCore.Http.ValidationsGenerator (2)
Parsers\ValidationsGenerator.TypesParser.cs (2)
130Arguments: [.. attribute.ConstructorArguments.Select(a => a.ToCSharpString())], 131NamedArguments: attribute.NamedArguments.ToDictionary(namedArgument => namedArgument.Key, namedArgument => namedArgument.Value.ToCSharpString()),
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Attributes\AttributeData.cs (2)
161stringBuilder.Append(constructorArgument.ToCSharpString()); 174stringBuilder.Append(namedArgument.Value.ToCSharpString());
Symbols\TypedConstantExtensions.cs (1)
27return "{" + string.Join(", ", constant.Values.Select(v => v.ToCSharpString())) + "}";
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\GeneratedComInterfaceAttributeAnalyzer.cs (1)
59argument = ctorArg0.ToCSharpString();
AttributeInfo.cs (1)
28var args = attribute.ConstructorArguments.Select(ca => ca.ToCSharpString());