//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Runtime Version:2.0.50727.5420
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
namespace CSharpTest.Net
{
using System;
///
/// A strongly-typed resource class, for looking up localized strings, etc.
///
// This partial class was auto-generated by the StronglyTypedResourceBuilder
// partial class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal partial class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
///
/// Returns the cached ResourceManager instance used by this class.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if (object.ReferenceEquals(resourceMan, null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CSharpTest.Net.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
///
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
///
/// Returns the raw exception strings.
///
[global::System.Diagnostics.DebuggerStepThroughAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("CSharpTest.Net.Generators", "1.11.225.410")]
public static partial class ExceptionStrings
{
///
/// Formats a message for an exception
///
internal static string SafeFormat(string message, params object[] args)
{
try
{
return string.Format(resourceCulture, message, args);
}
catch
{
return message ?? string.Empty;
}
}
///
///
internal static string HelpLinkFormat(int hResult, string typeName)
{
return SafeFormat("", hResult, typeName);
}
///
/// A runtime assertion failed while performing the operation.
///
public static string AssertionFailedException { get { return ResourceManager.GetString("AssertionFailedException", resourceCulture); } }
///
/// A runtime assertion failed: {0}
///
public static string AssertionFailedException_string_message_ { get { return ResourceManager.GetString("AssertionFailedException(string message)", resourceCulture); } }
///
/// A lock timeout has expired due to a possible deadlock.
///
public static string DeadlockException { get { return ResourceManager.GetString("DeadlockException", resourceCulture); } }
///
/// The specified key already exists in the collection.
///
public static string DuplicateKeyException { get { return ResourceManager.GetString("DuplicateKeyException", resourceCulture); } }
///
/// The configuration value '{0}' is invalid.
///
public static string InvalidConfigurationValueException_string_property_ { get { return ResourceManager.GetString("InvalidConfigurationValueException(string property)", resourceCulture); } }
///
/// The configuration value '{0}' is invalid.
/// {1}
///
public static string InvalidConfigurationValueException_string_property__string_message_ { get { return ResourceManager.GetString("InvalidConfigurationValueException(string property, string message)", resourceCulture); } }
///
/// A storage handle was invalid or has been corrupted.
///
public static string InvalidNodeHandleException { get { return ResourceManager.GetString("InvalidNodeHandleException", resourceCulture); } }
}
}
///
/// Exception class: AssertionFailedException
/// A runtime assertion failed while performing the operation.
///
[System.SerializableAttribute()]
[global::System.Diagnostics.DebuggerStepThroughAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("CSharpTest.Net.Generators", "1.11.225.410")]
public partial class AssertionFailedException : BaseAssertionException
{
///
/// Serialization constructor
///
protected AssertionFailedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context)
{
}
///
/// Used to create this exception from an hresult and message bypassing the message formatting
///
internal static System.Exception Create(int hResult, string message)
{
return new AssertionFailedException((System.Exception)null, hResult, message);
}
///
/// Constructs the exception from an hresult and message bypassing the message formatting
///
protected AssertionFailedException(System.Exception innerException, int hResult, string message) : base(message, innerException)
{
base.HResult = hResult;
base.HelpLink = CSharpTest.Net.Resources.ExceptionStrings.HelpLinkFormat(HResult, GetType().FullName);
}
///
/// A runtime assertion failed while performing the operation.
///
public AssertionFailedException()
: this((System.Exception)null, -1, CSharpTest.Net.Resources.ExceptionStrings.AssertionFailedException)
{
}
///
/// A runtime assertion failed while performing the operation.
///
public AssertionFailedException(System.Exception innerException)
: this(innerException, -1, CSharpTest.Net.Resources.ExceptionStrings.AssertionFailedException)
{
}
///
/// if(condition == false) throws A runtime assertion failed while performing the operation.
///
public static void Assert(bool condition)
{
if (!condition) throw new AssertionFailedException();
}
///
/// A runtime assertion failed: {0}
///
public AssertionFailedException(string message)
: this((System.Exception)null, -1, CSharpTest.Net.Resources.ExceptionStrings.SafeFormat(CSharpTest.Net.Resources.ExceptionStrings.AssertionFailedException_string_message_, message))
{
}
///
/// A runtime assertion failed: {0}
///
public AssertionFailedException(string message, System.Exception innerException)
: this(innerException, -1, CSharpTest.Net.Resources.ExceptionStrings.SafeFormat(CSharpTest.Net.Resources.ExceptionStrings.AssertionFailedException_string_message_, message))
{
}
///
/// if(condition == false) throws A runtime assertion failed: {0}
///
public static void Assert(bool condition, string message)
{
if (!condition) throw new AssertionFailedException(message);
}
}
///
/// Exception class: DeadlockException
/// A lock timeout has expired due to a possible deadlock.
///
[System.SerializableAttribute()]
[global::System.Diagnostics.DebuggerStepThroughAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("CSharpTest.Net.Generators", "1.11.225.410")]
public partial class DeadlockException : BaseAssertionException
{
///
/// Serialization constructor
///
protected DeadlockException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context)
{
}
///
/// Used to create this exception from an hresult and message bypassing the message formatting
///
internal static System.Exception Create(int hResult, string message)
{
return new DeadlockException((System.Exception)null, hResult, message);
}
///
/// Constructs the exception from an hresult and message bypassing the message formatting
///
protected DeadlockException(System.Exception innerException, int hResult, string message) : base(message, innerException)
{
base.HResult = hResult;
base.HelpLink = CSharpTest.Net.Resources.ExceptionStrings.HelpLinkFormat(HResult, GetType().FullName);
}
///
/// A lock timeout has expired due to a possible deadlock.
///
public DeadlockException()
: this((System.Exception)null, -1, CSharpTest.Net.Resources.ExceptionStrings.DeadlockException)
{
}
///
/// A lock timeout has expired due to a possible deadlock.
///
public DeadlockException(System.Exception innerException)
: this(innerException, -1, CSharpTest.Net.Resources.ExceptionStrings.DeadlockException)
{
}
///
/// if(condition == false) throws A lock timeout has expired due to a possible deadlock.
///
public static void Assert(bool condition)
{
if (!condition) throw new DeadlockException();
}
}
///
/// Exception class: DuplicateKeyException
/// The specified key already exists in the collection.
///
[System.SerializableAttribute()]
[global::System.Diagnostics.DebuggerStepThroughAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("CSharpTest.Net.Generators", "1.11.225.410")]
public partial class DuplicateKeyException : System.ApplicationException
{
///
/// Serialization constructor
///
protected DuplicateKeyException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context)
{
}
///
/// Used to create this exception from an hresult and message bypassing the message formatting
///
internal static System.Exception Create(int hResult, string message)
{
return new DuplicateKeyException((System.Exception)null, hResult, message);
}
///
/// Constructs the exception from an hresult and message bypassing the message formatting
///
protected DuplicateKeyException(System.Exception innerException, int hResult, string message) : base(message, innerException)
{
base.HResult = hResult;
base.HelpLink = CSharpTest.Net.Resources.ExceptionStrings.HelpLinkFormat(HResult, GetType().FullName);
}
///
/// The specified key already exists in the collection.
///
public DuplicateKeyException()
: this((System.Exception)null, -1, CSharpTest.Net.Resources.ExceptionStrings.DuplicateKeyException)
{
}
///
/// The specified key already exists in the collection.
///
public DuplicateKeyException(System.Exception innerException)
: this(innerException, -1, CSharpTest.Net.Resources.ExceptionStrings.DuplicateKeyException)
{
}
///
/// if(condition == false) throws The specified key already exists in the collection.
///
public static void Assert(bool condition)
{
if (!condition) throw new DuplicateKeyException();
}
}
///
/// Exception class: InvalidConfigurationValueException
/// The configuration value '{0}' is invalid.
///
[System.SerializableAttribute()]
[global::System.Diagnostics.DebuggerStepThroughAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("CSharpTest.Net.Generators", "1.11.225.410")]
public partial class InvalidConfigurationValueException : ArgumentException
{
///
/// Serialization constructor
///
protected InvalidConfigurationValueException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context)
{
}
///
/// Used to create this exception from an hresult and message bypassing the message formatting
///
internal static System.Exception Create(int hResult, string message)
{
return new InvalidConfigurationValueException((System.Exception)null, hResult, message);
}
///
/// Constructs the exception from an hresult and message bypassing the message formatting
///
protected InvalidConfigurationValueException(System.Exception innerException, int hResult, string message) : base(message, innerException)
{
base.HResult = hResult;
base.HelpLink = CSharpTest.Net.Resources.ExceptionStrings.HelpLinkFormat(HResult, GetType().FullName);
}
///
/// The configuration value '{0}' is invalid.
///
public InvalidConfigurationValueException(string property)
: this((System.Exception)null, -1, CSharpTest.Net.Resources.ExceptionStrings.SafeFormat(CSharpTest.Net.Resources.ExceptionStrings.InvalidConfigurationValueException_string_property_, property))
{
}
///
/// The configuration value '{0}' is invalid.
///
public InvalidConfigurationValueException(string property, System.Exception innerException)
: this(innerException, -1, CSharpTest.Net.Resources.ExceptionStrings.SafeFormat(CSharpTest.Net.Resources.ExceptionStrings.InvalidConfigurationValueException_string_property_, property))
{
}
///
/// if(condition == false) throws The configuration value '{0}' is invalid.
///
public static void Assert(bool condition, string property)
{
if (!condition) throw new InvalidConfigurationValueException(property);
}
///
/// The configuration value '{0}' is invalid.
/// {1}
///
public InvalidConfigurationValueException(string property, string message)
: this((System.Exception)null, -1, CSharpTest.Net.Resources.ExceptionStrings.SafeFormat(CSharpTest.Net.Resources.ExceptionStrings.InvalidConfigurationValueException_string_property__string_message_, property, message))
{
}
///
/// The configuration value '{0}' is invalid.
/// {1}
///
public InvalidConfigurationValueException(string property, string message, System.Exception innerException)
: this(innerException, -1, CSharpTest.Net.Resources.ExceptionStrings.SafeFormat(CSharpTest.Net.Resources.ExceptionStrings.InvalidConfigurationValueException_string_property__string_message_, property, message))
{
}
///
/// if(condition == false) throws The configuration value '{0}' is invalid.
/// {1}
///
public static void Assert(bool condition, string property, string message)
{
if (!condition) throw new InvalidConfigurationValueException(property, message);
}
}
///
/// Exception class: InvalidNodeHandleException
/// A storage handle was invalid or has been corrupted.
///
[System.SerializableAttribute()]
[global::System.Diagnostics.DebuggerStepThroughAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("CSharpTest.Net.Generators", "1.11.225.410")]
public partial class InvalidNodeHandleException : BaseAssertionException
{
///
/// Serialization constructor
///
protected InvalidNodeHandleException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context)
{
}
///
/// Used to create this exception from an hresult and message bypassing the message formatting
///
internal static System.Exception Create(int hResult, string message)
{
return new InvalidNodeHandleException((System.Exception)null, hResult, message);
}
///
/// Constructs the exception from an hresult and message bypassing the message formatting
///
protected InvalidNodeHandleException(System.Exception innerException, int hResult, string message) : base(message, innerException)
{
base.HResult = hResult;
base.HelpLink = CSharpTest.Net.Resources.ExceptionStrings.HelpLinkFormat(HResult, GetType().FullName);
}
///
/// A storage handle was invalid or has been corrupted.
///
public InvalidNodeHandleException()
: this((System.Exception)null, -1, CSharpTest.Net.Resources.ExceptionStrings.InvalidNodeHandleException)
{
}
///
/// A storage handle was invalid or has been corrupted.
///
public InvalidNodeHandleException(System.Exception innerException)
: this(innerException, -1, CSharpTest.Net.Resources.ExceptionStrings.InvalidNodeHandleException)
{
}
///
/// if(condition == false) throws A storage handle was invalid or has been corrupted.
///
public static void Assert(bool condition)
{
if (!condition) throw new InvalidNodeHandleException();
}
}
}