-Formatting
-Build
This commit is contained in:
@@ -34,6 +34,7 @@ using Test = Xunit.FactAttribute;
|
||||
using Assert = Newtonsoft.Json.Tests.XUnitAssert;
|
||||
#else
|
||||
using NUnit.Framework;
|
||||
|
||||
#endif
|
||||
|
||||
namespace Newtonsoft.Json.Tests.Documentation.Samples.Serializer
|
||||
@@ -54,7 +55,9 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Serializer
|
||||
get
|
||||
{
|
||||
if (_roles == null)
|
||||
{
|
||||
throw new Exception("Roles not loaded!");
|
||||
}
|
||||
|
||||
return _roles;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user