fix: Fixes codegen spacing for class generation (#768)
This commit is contained in:
parent
21aa6aaade
commit
3f4ff328b3
1 changed files with 1 additions and 3 deletions
|
|
@ -171,7 +171,6 @@ namespace SerializationGenerator
|
|||
var indent = " ";
|
||||
|
||||
source.RecursiveGenerateClassStart(classSymbol, interfaces.ToImmutableArray(), ref indent);
|
||||
indent += " ";
|
||||
|
||||
source.GenerateClassField(
|
||||
indent,
|
||||
|
|
@ -364,7 +363,6 @@ namespace SerializationGenerator
|
|||
source.GenerateEnumEnd($"{indent} ");
|
||||
}
|
||||
|
||||
indent = indent.Substring(0, indent.Length - 4);
|
||||
source.RecursiveGenerateClassEnd(classSymbol, ref indent);
|
||||
source.GenerateNamespaceEnd();
|
||||
|
||||
|
|
@ -420,8 +418,8 @@ namespace SerializationGenerator
|
|||
{
|
||||
do
|
||||
{
|
||||
source.GenerateClassEnd(indent);
|
||||
indent = indent.Substring(0, indent.Length - 4);
|
||||
source.GenerateClassEnd(indent);
|
||||
|
||||
classSymbol = classSymbol.ContainingSymbol as INamedTypeSymbol;
|
||||
} while (classSymbol != null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue