MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / BooleanFailureMessage

Method BooleanFailureMessage

Source/Engine/Debug/Assert.cs:355–358  ·  view source on GitHub ↗
(bool expected)

Source from the content-addressed store, hash-verified

353 }
354
355 public static string BooleanFailureMessage(bool expected)
356 {
357 return GetMessage(string.Concat("Value was ", !expected), expected.ToString());
358 }
359
360 public static string GetEqualityMessage(object actual, object expected, bool expectEqual)
361 {

Callers

nothing calls this directly

Calls 2

GetMessageFunction · 0.85
ToStringMethod · 0.45

Tested by

no test coverage detected