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

Method NullFailureMessage

Source/Engine/Debug/Assert.cs:387–390  ·  view source on GitHub ↗
(object value, bool expectNull)

Source from the content-addressed store, hash-verified

385 }
386
387 public static string NullFailureMessage(object value, bool expectNull)
388 {
389 return GetMessage(string.Format("Value was {0}Null", new object[] { !expectNull ? string.Empty : "not " }), string.Format("Value was {0}Null", new object[] { !expectNull ? "not " : string.Empty }));
390 }
391 }
392}

Callers

nothing calls this directly

Calls 2

GetMessageFunction · 0.85
FormatMethod · 0.80

Tested by

no test coverage detected