src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/Utilities/ProjectErrorUtilities.cs
/// <summary>
/// Throws an ProjectException with the specified message string if some condition is false.
/// </summary>
/// <param name="condition">The condition to evaluate.</param>
/// <param name="message">The text message to display.</param>
/// <param name="arg0">The first string formatting argument.</param>
Throws an ProjectException with the specified message string if some condition is false.
Throws an ProjectException with the specified message string if some condition is false .
internal static void VerifyThrowProjectException(bool condition, string message, object arg0)
        {
            if (!condition)
            {
                TraceUtilities.TraceError(message, arg0);
                ThrowProjectException(message, arg0);
            }
        }
internal static void VerifyThrowProjectException ( bool condition , string message , object arg0 ) { if ( ! condition ) { TraceUtilities . TraceError ( message , arg0 ) ; ThrowProjectException ( message , arg0 ) ; } }
Throws an ProjectException with the specified message string if some condition is false.
Throws an ProjectException with the specified message string if some condition is false .
condition
bool
The condition to evaluate.
The condition to evaluate .
message
string
The text message to display.
The text message to display .
arg0
object
The first string formatting argument.
The first string formatting argument .