We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d46482 commit 26582e7Copy full SHA for 26582e7
src/Contrib/Service/Tests/Masa.Contrib.Service.MinimalAPIs.Tests/Services/OrderService.cs
@@ -3,6 +3,7 @@
3
4
namespace Masa.Contrib.Service.MinimalAPIs.Tests.Services;
5
6
+#pragma warning disable CA1822
7
public class OrderService : ServiceBase
8
{
9
public string ConnectionString => GetConnectionString;
@@ -34,7 +35,7 @@ public static void SetName()
34
35
36
public override string ToString()
37
- return base.ToString();
38
+ return nameof(OrderService);
39
}
40
41
[IgnoreRoute]
@@ -43,3 +44,4 @@ public List<MethodInfo> TestGetMethodsByAutoMapRoute(ServiceGlobalRouteOptions g
43
44
return base.GetMethodsByAutoMapRoute(typeof(OrderService), globalOptions);
45
46
47
+#pragma warning restore CA1822
0 commit comments