-
-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge pull request #701 from Cysharp/feature/RemoveGenerateAt…
- Loading branch information
Showing
6 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
src/MagicOnion.Abstractions/GenerateDefineDebugAttribute.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace MagicOnion | ||
{ | ||
/// <summary> | ||
/// instruction for moc.exe, surround #if symbol with output code. | ||
/// </summary> | ||
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)] | ||
[Obsolete("GenerateDefineDebug is no longer used from the generator. Use C# '#if' directive instead.")] | ||
public class GenerateDefineDebugAttribute : Attribute | ||
{ | ||
public GenerateDefineDebugAttribute() | ||
{ | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/MagicOnion.Abstractions/GenerateIfDirectiveAttribute.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
|
||
namespace MagicOnion | ||
{ | ||
/// <summary> | ||
/// instruction for moc.exe, surround #if symbol with output code. | ||
/// </summary> | ||
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)] | ||
[Obsolete("GenerateIfDirective is no longer used from the generator. Use C# '#if' directive instead.")] | ||
public class GenerateIfDirectiveAttribute : Attribute | ||
{ | ||
public GenerateIfDirectiveAttribute(string condition) | ||
{ | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...t.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/GenerateDefineDebugAttribute.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace MagicOnion | ||
{ | ||
/// <summary> | ||
/// instruction for moc.exe, surround #if symbol with output code. | ||
/// </summary> | ||
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)] | ||
[Obsolete("GenerateDefineDebug is no longer used from the generator. Use C# '#if' directive instead.")] | ||
public class GenerateDefineDebugAttribute : Attribute | ||
{ | ||
public GenerateDefineDebugAttribute() | ||
{ | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ty/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/GenerateDefineDebugAttribute.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
...t.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/GenerateIfDirectiveAttribute.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
|
||
namespace MagicOnion | ||
{ | ||
/// <summary> | ||
/// instruction for moc.exe, surround #if symbol with output code. | ||
/// </summary> | ||
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)] | ||
[Obsolete("GenerateIfDirective is no longer used from the generator. Use C# '#if' directive instead.")] | ||
public class GenerateIfDirectiveAttribute : Attribute | ||
{ | ||
public GenerateIfDirectiveAttribute(string condition) | ||
{ | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ty/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/GenerateIfDirectiveAttribute.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.