fix: Fixes sourcegen spacing (#766)
This commit is contained in:
parent
04b5a6c609
commit
21aa6aaade
3 changed files with 14 additions and 8 deletions
|
|
@ -21,9 +21,14 @@ namespace SerializationGenerator
|
|||
{
|
||||
public static partial class SourceGeneration
|
||||
{
|
||||
public static void GenerateAttribute(this StringBuilder source, string attrClassName, ImmutableArray<TypedConstant> args)
|
||||
public static void GenerateAttribute(
|
||||
this StringBuilder source,
|
||||
string indent,
|
||||
string attrClassName,
|
||||
ImmutableArray<TypedConstant> args
|
||||
)
|
||||
{
|
||||
source.Append($" [{attrClassName}");
|
||||
source.Append($"{indent}[{attrClassName}");
|
||||
var hasArgs = args.Length > 0;
|
||||
|
||||
if (hasArgs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue