Skip to content

Commit

Permalink
Remove system.threading dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Atlinx committed Mar 10, 2023
1 parent 8d742f7 commit 76663b3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
4 changes: 0 additions & 4 deletions GDTask.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
<TargetFramework>net472</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
</ItemGroup>
<ItemGroup>
<Folder Include="addons\GDTask\CompilerServices\" />
<Folder Include="tests\manual\" />
</ItemGroup>
</Project>
15 changes: 15 additions & 0 deletions addons/GDTask/CompilerServices/AsyncMethodBuilderAttribute.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
#pragma warning disable CS0436

namespace System.Runtime.CompilerServices
{
internal sealed class AsyncMethodBuilderAttribute : Attribute
{
public Type BuilderType { get; }

public AsyncMethodBuilderAttribute(Type builderType)
{
BuilderType = builderType;
}
}
}
7 changes: 7 additions & 0 deletions results.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" ?>
<testsuites failures="0" name="TestXML" tests="1" time="3.519">
<testsuite name="GDTaskTests" failures="0" tests="1" time="0">
<testcase name="TODO Make Tests" time="0"></testcase>
</testsuite>

</testsuites>

0 comments on commit 76663b3

Please sign in to comment.