Skip to content

Commit

Permalink
Manually fix punning.cs (depended on simple wrapper using "class Prog…
Browse files Browse the repository at this point in the history
…ram")
  • Loading branch information
BrianBohe authored and markples committed Mar 10, 2023
1 parent bef45f9 commit e9f2c99
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/tests/Loader/classloader/Casting/punning.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

using Xunit;

partial class Program
public class punning
{
[Fact]
static void Via_GetFunctionPointer()
public static void Via_GetFunctionPointer()
{
Console.WriteLine($"Running {nameof(Via_GetFunctionPointer)}...");

Expand All @@ -24,7 +24,7 @@ static void Via_GetFunctionPointer()
}

[Fact]
static void Via_GetFunctionPointer_Generics()
public static void Via_GetFunctionPointer_Generics()
{
Console.WriteLine($"Running {nameof(Via_GetFunctionPointer_Generics)}...");

Expand All @@ -39,7 +39,7 @@ static void Via_GetFunctionPointer_Generics()
}

[Fact]
static void Via_Ldftn()
public static void Via_Ldftn()
{
Console.WriteLine($"Running {nameof(Via_Ldftn)}...");

Expand All @@ -54,7 +54,7 @@ static void Via_Ldftn()
}

[Fact]
static void Via_Ldftn_Generics()
public static void Via_Ldftn_Generics()
{
Console.WriteLine($"Running {nameof(Via_Ldftn_Generics)}...");

Expand All @@ -69,7 +69,7 @@ static void Via_Ldftn_Generics()
}

[Fact]
static void Via_Ldftn_Generics_Virtual()
public static void Via_Ldftn_Generics_Virtual()
{
Console.WriteLine($"Running {nameof(Via_Ldftn_Generics_Virtual)}...");

Expand All @@ -85,7 +85,7 @@ static void Via_Ldftn_Generics_Virtual()
}

[Fact]
static void Via_Ldftn_Generics_EarlyLoad()
public static void Via_Ldftn_Generics_EarlyLoad()
{
Console.WriteLine($"Running {nameof(Via_Ldftn_Generics_EarlyLoad)}...");

Expand All @@ -100,7 +100,7 @@ static void Via_Ldftn_Generics_EarlyLoad()
}

[Fact]
static void Via_Ldftn_Generics_Virtual_EarlyLoad()
public static void Via_Ldftn_Generics_Virtual_EarlyLoad()
{
Console.WriteLine($"Running {nameof(Via_Ldftn_Generics_Virtual_EarlyLoad)}...");

Expand All @@ -116,7 +116,7 @@ static void Via_Ldftn_Generics_Virtual_EarlyLoad()
}

[Fact]
static void Via_Ldvirtftn()
public static void Via_Ldvirtftn()
{
Console.WriteLine($"Running {nameof(Via_Ldvirtftn)}...");

Expand All @@ -132,7 +132,7 @@ static void Via_Ldvirtftn()
}

[Fact]
static void Via_Ldvirtftn_Generics()
public static void Via_Ldvirtftn_Generics()
{
Console.WriteLine($"Running {nameof(Via_Ldvirtftn_Generics)}...");

Expand All @@ -148,7 +148,7 @@ static void Via_Ldvirtftn_Generics()
}

[Fact]
static void Via_Ldvirtftn_Generics_EarlyLoad()
public static void Via_Ldvirtftn_Generics_EarlyLoad()
{
Console.WriteLine($"Running {nameof(Via_Ldvirtftn_Generics_EarlyLoad)}...");

Expand All @@ -162,4 +162,4 @@ static void Via_Ldvirtftn_Generics_EarlyLoad()
int fieldValue = Caller.Class.CallGetField(b, fptr, inst);
Assert.Equal(b.Field, fieldValue);
}
}
}

0 comments on commit e9f2c99

Please sign in to comment.