Skip to content

Commit bc29920

Browse files
author
GitHub Actions Autoformatter
committed
Auto-format source code
1 parent 978a485 commit bc29920

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/rgen/Microsoft.Macios.Generator/Emitters/BindingSyntaxFactory.Runtime.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ internal static InvocationExpressionSyntax StringCreateNative (ImmutableArray<Ar
206206
IdentifierName ("CreateNative").WithTrailingTrivia (Space))
207207
).WithArgumentList (argumentList);
208208
}
209-
209+
210210
/// <summary>
211211
/// Generates the expression to call the CFString.CreateNative method.
212212
/// </summary>

tests/rgen/Microsoft.Macios.Generator.Tests/Emitters/BindingSyntaxFactoryTrampolineTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
namespace Microsoft.Macios.Generator.Tests.Emitters;
1515

1616
public class BindingSyntaxFactoryTrampolineTests : BaseGeneratorTestClass {
17-
17+
1818
class TestDataGetTrampolineInvokeReturnType : IEnumerable<object []> {
1919
public IEnumerator<object []> GetEnumerator ()
2020
{
@@ -53,7 +53,7 @@ public void MyMethod (Callback cb) {}
5353
nsObjectResult,
5454
"auxVariable.GetHandle ()"
5555
];
56-
56+
5757
const string systemStringResult = @"
5858
using System;
5959
@@ -104,7 +104,7 @@ public void MyMethod (Callback cb) {}
104104
boolReturnType,
105105
"auxVariable ? (byte) 1 : (byte) 0"
106106
];
107-
107+
108108
const string nativeEnum = @"
109109
using System;
110110
using ObjCBindings;
@@ -130,7 +130,7 @@ public void MyMethod (Callback cb) {}
130130
nativeEnum,
131131
"(IntPtr) (long) auxVariable",
132132
];
133-
133+
134134
const string unsignedNativeEnum = @"
135135
using System;
136136
using ObjCBindings;
@@ -176,7 +176,7 @@ public void MyMethod (Callback cb) {}
176176

177177
IEnumerator IEnumerable.GetEnumerator () => GetEnumerator ();
178178
}
179-
179+
180180
[Theory]
181181
[AllSupportedPlatformsClassData<TestDataGetTrampolineInvokeReturnType>]
182182
void GetTrampolineInvokeReturnTypeTests (ApplePlatform platform, string inputText, string? expectedExpression)

0 commit comments

Comments
 (0)