Browse Source

Clean up formatting in CSharpTypePrinter.cs.

pull/982/head
Joao Matos 8 years ago
parent
commit
eff9b073a2
  1. 10
      src/Generator/Generators/CSharp/CSharpTypePrinter.cs

10
src/Generator/Generators/CSharp/CSharpTypePrinter.cs

@ -1,13 +1,13 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using CppSharp.AST; using CppSharp.AST;
using CppSharp.AST.Extensions; using CppSharp.AST.Extensions;
using CppSharp.Types; using CppSharp.Types;
using Type = CppSharp.AST.Type;
using ParserTargetInfo = CppSharp.Parser.ParserTargetInfo; using ParserTargetInfo = CppSharp.Parser.ParserTargetInfo;
using System.Linq; using Type = CppSharp.AST.Type;
using System.Text;
using System.Globalization;
namespace CppSharp.Generators.CSharp namespace CppSharp.Generators.CSharp
{ {
@ -751,7 +751,7 @@ namespace CppSharp.Generators.CSharp
PushMarshalKind(MarshalKind.NativeField); PushMarshalKind(MarshalKind.NativeField);
var fieldTypePrinted = field.QualifiedType.Visit(this); var fieldTypePrinted = field.QualifiedType.Visit(this);
PopMarshalKind(); PopMarshalKind();
var returnTypePrinter = new TypePrinterResult(); var returnTypePrinter = new TypePrinterResult();
if (!string.IsNullOrWhiteSpace(fieldTypePrinted.NameSuffix)) if (!string.IsNullOrWhiteSpace(fieldTypePrinted.NameSuffix))

Loading…
Cancel
Save