Skip to content

Commit 8879e03

Browse files
committed
fix warning CA2263
1 parent 9ac8fbb commit 8879e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Smdn.Net.MuninNode/Smdn.Net.MuninNode/IAccessRuleServiceCollectionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ IAccessRule accessRule
6767
#pragma warning restore CA1510
6868

6969
services.TryAdd(
70-
ServiceDescriptor.Singleton(typeof(IAccessRule), accessRule)
70+
ServiceDescriptor.Singleton<IAccessRule>(accessRule)
7171
);
7272

7373
return services;

0 commit comments

Comments
 (0)