aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Services/ServiceExec.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2019-01-27 12:03:43 +0100
committerBond_009 <bond.009@outlook.com>2019-01-27 12:12:44 +0100
commita709cbdc64de36a1ce989636a19344af61d9026d (patch)
tree869d2659559a2b92f51dfad064446a9093297c82 /Emby.Server.Implementations/Services/ServiceExec.cs
parentee89236fe8e8fbb94969e228df98b9fc6f3ecd77 (diff)
Fix more analyzer warnings
Diffstat (limited to 'Emby.Server.Implementations/Services/ServiceExec.cs')
-rw-r--r--Emby.Server.Implementations/Services/ServiceExec.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Services/ServiceExec.cs b/Emby.Server.Implementations/Services/ServiceExec.cs
index 45c918fa1..aa67a3601 100644
--- a/Emby.Server.Implementations/Services/ServiceExec.cs
+++ b/Emby.Server.Implementations/Services/ServiceExec.cs
@@ -98,7 +98,7 @@ namespace Emby.Server.Implementations.Services
return Task.FromResult(response);
}
- var expectedMethodName = actionName.Substring(0, 1) + actionName.Substring(1).ToLower();
+ var expectedMethodName = actionName.Substring(0, 1) + actionName.Substring(1).ToLowerInvariant();
throw new NotImplementedException(string.Format("Could not find method named {1}({0}) or Any({0}) on Service {2}", requestDto.GetType().GetMethodName(), expectedMethodName, serviceType.GetMethodName()));
}