You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TensionDev.ULID.Serialization.JsonNet is a .NET library for serializing and deserializing with Universally Unique Lexicographically Sortable Identifiers (ULIDs) using Json.NET.
// This can happen if the type is a non-instantiable class (abstract) or Activator returns null.
63
+
Assert.Fail("Could not create an instance of TensionDev.ULID.Ulid (Activator.CreateInstance returned null). Provide a parameterless constructor or update the test environment.");
64
+
return;
65
+
}
66
+
67
+
value=(TensionDev.ULID.Ulid)instance;
68
+
}
69
+
catch(Exceptionex)
70
+
{
71
+
// xUnit does not provide Assert.Inconclusive; use Assert.Fail to report the diagnostic and stop the test.
72
+
Assert.Fail("Could not create an instance of TensionDev.ULID.Ulid: "+ex.Message);
0 commit comments