[offsets-tool] Fixed whitespace inconsistency.
authorJoao Matos <joao@tritao.eu>
Thu, 10 Nov 2016 16:39:18 +0000 (16:39 +0000)
committerJoao Matos <joao@tritao.eu>
Thu, 10 Nov 2016 17:27:00 +0000 (17:27 +0000)
tools/offsets-tool/MonoAotOffsetsDumper.cs

index efcac3b6b5dce2fb2edcafdff2afba76ba48d6a3..0f9a984833d766fdc48ceba51617882d361f3237 100644 (file)
@@ -641,8 +641,8 @@ namespace CppSharp
         {
             var targetFile = target.Triple;
 
-                       if (!string.IsNullOrEmpty (OutputDir))
-                               targetFile = Path.Combine (OutputDir, targetFile);
+            if (!string.IsNullOrEmpty (OutputDir))
+                targetFile = Path.Combine (OutputDir, targetFile);
 
             targetFile += ".h";
 
@@ -757,7 +757,7 @@ namespace CppSharp
             var types = new List<string>
             {
                 "MonoObject",
-               "MonoObjectHandlePayload",
+                "MonoObjectHandlePayload",
                 "MonoClass",
                 "MonoVTable",
                 "MonoDelegate",
@@ -806,7 +806,7 @@ namespace CppSharp
                 "SeqPointInfo",
                 "DynCallArgs", 
                 "MonoLMFTramp",
-            };            
+            };
 
             DumpClasses(writer, ctx, optionalTypes, optional: true);
 
@@ -816,8 +816,8 @@ namespace CppSharp
         static void DumpStruct(TextWriter writer, Class @class)
         {
             var name = @class.Name;
-                       if (name.StartsWith ("_", StringComparison.Ordinal))
-                               name = name.Substring (1);
+            if (name.StartsWith ("_", StringComparison.Ordinal))
+                name = name.Substring (1);
 
             foreach (var field in @class.Fields)
             {