Skip to content

Commit

Permalink
Merge pull request #193 from nenoNaninu/suppress_cs8613
Browse files Browse the repository at this point in the history
disable CS8613 in generated code
  • Loading branch information
nenoNaninu authored Mar 31, 2024
2 parents 5ec5ab6 + 46a734a commit 0bd7fa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public string TransformText()
#nullable enable
#pragma warning disable CS1591
#pragma warning disable CS8767
#pragma warning disable CS8613
namespace TypedSignalR.Client
{
internal static partial class HubConnectionExtensions
Expand Down Expand Up @@ -67,6 +68,7 @@ private sealed class BinderFor_{{receiverType.CollisionFreeName}} : IReceiverBin
}
}
}
#pragma warning restore CS8613
#pragma warning restore CS8767
#pragma warning restore CS1591
""");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public string TransformText()
#nullable enable
#pragma warning disable CS1591
#pragma warning disable CS8767
#pragma warning disable CS8613
namespace TypedSignalR.Client
{
internal static partial class HubConnectionExtensions
Expand Down Expand Up @@ -81,6 +82,7 @@ private sealed class HubInvokerFactoryFor_{{hubType.CollisionFreeName}} : IHubIn
}
}
}
#pragma warning restore CS8613
#pragma warning restore CS8767
#pragma warning restore CS1591
""");
Expand Down

0 comments on commit 0bd7fa8

Please sign in to comment.