-Formatting

-Build
This commit is contained in:
James Newton-King
2015-12-04 23:54:38 +13:00
parent c96779dc10
commit eb0cbd6a75
334 changed files with 3952 additions and 514 deletions
+16 -4
View File
@@ -77,10 +77,16 @@ namespace Newtonsoft.Json.Tests.TestObjects
_summary = summary;
_time = DateTime.Now;
if (_userId == 0) _userId = GetCurrentUserId();
if (_userId == 0)
{
_userId = GetCurrentUserId();
}
//This call only works at top level for now.
//If _stackTrace = Nothing Then _stackTrace = Environment.StackTrace
if (_sublocation == null) _sublocation = GetCurrentSubLocation();
if (_sublocation == null)
{
_sublocation = GetCurrentSubLocation();
}
}
public Event(string sublocation, int userId, EventType type, string summary, string details, string stackTrace, string tag)
@@ -94,9 +100,15 @@ namespace Newtonsoft.Json.Tests.TestObjects
_tag = tag;
_time = DateTime.Now;
if (_userId == 0) _userId = GetCurrentUserId();
if (_userId == 0)
{
_userId = GetCurrentUserId();
}
//If _stackTrace = Nothing Then _stackTrace = Environment.StackTrace
if (_sublocation == null) _sublocation = GetCurrentSubLocation();
if (_sublocation == null)
{
_sublocation = GetCurrentSubLocation();
}
}
public override string ToString()