Skip to content

Commit

Permalink
Copy to MagicOnion.Client.Unity
Browse files Browse the repository at this point in the history
  • Loading branch information
mayuki committed Jan 20, 2022
1 parent 8e68dc2 commit e846a40
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/MagicOnion.Abstractions/MagicOnion.Abstractions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ MagicOnion.IgnoreAttribute</Description>
<TargetFiles Include="$(ProjectDir)\**\*.cs" Exclude="**\bin\**\*.*;**\obj\**\*.*;InternalsVisibleTo.cs" />
</ItemGroup>
<ItemGroup>
<TargetFiles Remove="GenerateIfDirectiveAttribute.cs" />
<TargetFiles Remove="InternalsVisibleTo.cs" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
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)]
public class GenerateIfDirectiveAttribute : Attribute
{
public GenerateIfDirectiveAttribute(string condition)
{
}
}
}

0 comments on commit e846a40

Please sign in to comment.