System.Yaml.YamlTagPrefixes.Debug.Assert C# (CSharp) Method

Assert() public static method

public static Assert ( bool condition, string message ) : void
condition bool
message string
return void
            public static void Assert(bool condition, string message)
            {
                if ( !condition )
                    throw new Exception("assertion failed: " + message);
            }

Same methods

YamlTagPrefixes.Debug::Assert ( bool condition ) : void
YamlTagPrefixes.Debug