Skip to content

Commit 689cb2d

Browse files
committed
Add asmdef
Some classes made public See #3
1 parent 3ffe933 commit 689cb2d

File tree

12 files changed

+21
-18
lines changed

12 files changed

+21
-18
lines changed

UnityAsync/Assets/Plugins/Editor/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

UnityAsync/Assets/Plugins/Editor/JetBrains.meta

Lines changed: 0 additions & 8 deletions
This file was deleted.

UnityAsync/Assets/UnityAsync/Awaiters/IEnumeratorAwaiter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace UnityAsync.Awaiters
77
{
8-
struct IEnumeratorAwaiter : INotifyCompletion
8+
public struct IEnumeratorAwaiter : INotifyCompletion
99
{
1010
static readonly SendOrPostCallback postCallback = state => ((Action)state)();
1111

UnityAsync/Assets/UnityAsync/Awaiters/SynchronizationContextAwaiter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace UnityAsync.Awaiters
66
{
7-
struct SynchronizationContextAwaiter : INotifyCompletion
7+
public struct SynchronizationContextAwaiter : INotifyCompletion
88
{
99
static readonly SendOrPostCallback postCallback = state => ((Action)state)();
1010

UnityAsync/Assets/UnityAsync/Awaiters/YieldInstructionAwaiter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
namespace UnityAsync.Awaiters
88
{
9-
struct YieldInstructionAwaiter : INotifyCompletion
9+
public struct YieldInstructionAwaiter : INotifyCompletion
1010
{
1111
static readonly SendOrPostCallback postCallback = state => ((Action)state)();
1212

UnityAsync/Assets/UnityAsync/Extensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
namespace UnityAsync
1111
{
12-
static class Extensions
12+
public static class Extensions
1313
{
1414
static readonly Func<Object, IntPtr> ObjectPtrGetter;
1515

@@ -19,7 +19,7 @@ static Extensions()
1919
}
2020

2121
[MethodImpl(MethodImplOptions.AggressiveInlining)]
22-
public static bool IsAlive(this Object o) => ObjectPtrGetter(o) != IntPtr.Zero;
22+
internal static bool IsAlive(this Object o) => ObjectPtrGetter(o) != IntPtr.Zero;
2323

2424
/// <summary>
2525
/// Link the <see cref="UnityAsync.IAwaitInstruction"/>'s lifespan to a <see cref="UnityEngine.Object"/> and
File renamed without changes.

UnityAsync/Assets/Plugins/System.Runtime.dll.meta renamed to UnityAsync/Assets/UnityAsync/Plugins/System.Runtime.dll.meta

File renamed without changes.

UnityAsync/Assets/UnityAsync/ReflectionUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace UnityAsync
77
{
8-
public static class ReflectionUtility
8+
internal static class ReflectionUtility
99
{
1010
public static void GenerateFieldGetter<TTarget, TField>(string field, out Func<TTarget, TField> getter)
1111
{

0 commit comments

Comments
 (0)