Skip to content

Commit adffc99

Browse files
Saalvagetritao
authored andcommitted
Fix erroneous newline
1 parent b4f261e commit adffc99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator/Generators/CSharp/CSharpMarshal.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ public override bool VisitPointerType(PointerType pointer, TypeQualifiers quals)
647647
if (pointer.Pointee.IsTemplateParameterType())
648648
Context.Before.Write($"(({Context.Parameter.Type}) (object) {Context.Parameter.Name})");
649649
else
650-
Context.Before.WriteLine(Context.Parameter.Name);
650+
Context.Before.Write(Context.Parameter.Name);
651651
Context.Before.WriteLine($".{Helpers.InstanceIdentifier};");
652652

653653
Context.Return.Write($"new {typePrinter.IntPtrType}(&{arg})");

0 commit comments

Comments
 (0)