14 instantiations of WorkflowCompilerError
System.Workflow.ComponentModel (14)
AuthoringOM\Compiler\XomlCompiler.cs (9)
632
Results.Errors.Add(new
WorkflowCompilerError
(this.Filename, -1, -1, ErrorNumbers.Error_TypeNotAuthorized.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_TypeNotAuthorized, SR.GetString(SR.NullConditionExpression))));
652
Results.Errors.Add(new
WorkflowCompilerError
(this.Filename, -1, -1, ErrorNumbers.Error_TypeNotAuthorized.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_TypeNotAuthorized, typeToAuthorize)));
772
results.Errors.Add(new
WorkflowCompilerError
(String.Empty, -1, -1, ErrorNumbers.Error_UnknownCompilerException.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CompilationFailed, e.Message)));
1058
results.Errors.Add(new
WorkflowCompilerError
(fileName, (WorkflowMarkupSerializationException)error));
1062
results.Errors.Add(new
WorkflowCompilerError
(fileName, -1, -1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), error.ToString()));
1071
results.Errors.Add(new
WorkflowCompilerError
(fileName, xomlSerializationException));
1076
results.Errors.Add(new
WorkflowCompilerError
(fileName, -1, -1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CompilationFailed, e.Message)));
1082
results.Errors.Add(new
WorkflowCompilerError
(fileName, 1, 1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_RootActivityTypeInvalid)));
1089
results.Errors.Add(new
WorkflowCompilerError
(fileName, 1, 1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CannotCompile_No_XClass)));
AuthoringOM\Compiler\XomlCompilerHelpers.cs (4)
52
new
WorkflowCompilerError
(string.Empty, 0, 0, ErrorNumbers.Error_LibraryPath.ToString(CultureInfo.InvariantCulture), string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.LibraryPathIsInvalid), libraryPath));
198
WorkflowCompilerError compilerError = new
WorkflowCompilerError
(string.Empty, 0, 0, ErrorNumbers.Error_TypeLoad.ToString(CultureInfo.InvariantCulture), entry.Value.Message);
483
WorkflowCompilerError compilerError = new
WorkflowCompilerError
(string.Empty, 0, 0, ErrorNumbers.Error_InvalidReferencedAssembly.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_ReferencedAssemblyIsInvalid, reference));
546
compilerError = new
WorkflowCompilerError
(GetFileName(error), (int)GetValue(error, XomlCompilerHelper.LineNumber), (int)GetValue(error, XomlCompilerHelper.ColumnNumber), string.Empty, GetPrettifiedErrorText(error));
AuthoringOM\Compiler\XomlCompilerResults.cs (1)
34
base.Errors.Add(new
WorkflowCompilerError
(error));
6 references to WorkflowCompilerError
System.Workflow.ComponentModel (6)
AuthoringOM\Compiler\CompileXomlTask.cs (1)
593
foreach (
WorkflowCompilerError
error in compilerResults.Errors)
AuthoringOM\Compiler\XomlCompilerHelpers.cs (5)
51
WorkflowCompilerError
libPathError =
198
WorkflowCompilerError
compilerError = new WorkflowCompilerError(string.Empty, 0, 0, ErrorNumbers.Error_TypeLoad.ToString(CultureInfo.InvariantCulture), entry.Value.Message);
483
WorkflowCompilerError
compilerError = new WorkflowCompilerError(string.Empty, 0, 0, ErrorNumbers.Error_InvalidReferencedAssembly.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_ReferencedAssemblyIsInvalid, reference));
543
internal static
WorkflowCompilerError
CreateXomlCompilerError(ValidationError error, WorkflowCompilerParameters parameters)
545
WorkflowCompilerError
compilerError;