Replaced built-in valuetypes with language keywords.

This commit is contained in:
Taloth Saldono
2015-10-03 19:45:26 +02:00
parent d6a135857d
commit ccfa13e383
454 changed files with 2042 additions and 2042 deletions

View File

@@ -9,7 +9,7 @@ namespace NzbDrone.Common.Instrumentation
public static string GetHash(this LogEventInfo logEvent)
{
var stackString = logEvent.StackTrace.ToJson();
var hashSeed = String.Concat(logEvent.LoggerName, logEvent.Exception.GetType().ToString(), stackString, logEvent.Level);
var hashSeed = string.Concat(logEvent.LoggerName, logEvent.Exception.GetType().ToString(), stackString, logEvent.Level);
return HashUtil.CalculateCrc(hashSeed);
}
@@ -21,7 +21,7 @@ namespace NzbDrone.Common.Instrumentation
{
if (logEvent.Exception != null)
{
if (String.IsNullOrWhiteSpace(message))
if (string.IsNullOrWhiteSpace(message))
{
message = logEvent.Exception.Message;
}