36 references to Add
System (4)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
555
results.Errors.
Add
(ce);
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
530
results.Errors.
Add
(ce);
compmod\system\codedom\compiler\CompilerErrorCollection.cs (2)
78
this.
Add
(value[i]);
93
this.
Add
(value[i]);
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
665
Errors.
Add
(error);
System.Data.SqlXml (5)
System\Xml\Xsl\Xslt\Compiler.cs (3)
290
CompilerResults.Errors.
Add
(error);
302
CompilerResults.Errors.
Add
(error);
305
CompilerResults.Errors.
Add
(error);
System\Xml\Xsl\Xslt\Scripts.cs (2)
207
allErrors.
Add
(compiler.CreateError(lastScript.EndLineInfo, /*[XT_041]*/Res.Xslt_ScriptCompileException, e.Message));
318
results.Errors.
Add
(compiler.CreateError(lastScript.EndLineInfo, /*[XT_041]*/Res.Xslt_ScriptCompileException, e.Message));
System.Web (1)
Compilation\BuildProvidersCompiler.cs (1)
465
newResults.Errors.
Add
(error);
System.Workflow.ComponentModel (25)
AuthoringOM\Compiler\XomlCompiler.cs (11)
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)));
1099
results.Errors.
Add
(XomlCompilerHelper.CreateXomlCompilerError(error, parameters));
1106
results.Errors.
Add
(XomlCompilerHelper.CreateXomlCompilerError(error, parameters));
AuthoringOM\Compiler\XomlCompilerHelpers.cs (13)
54
results.Errors.
Add
(libPathError);
66
results.Errors.
Add
(CreateXomlCompilerError(error, parameters));
151
results.Errors.
Add
(CreateXomlCompilerError(new ValidationError(SR.GetString(SR.Error_Missing_CanModifyProperties_False, activity.GetType().FullName), ErrorNumbers.Error_CustomActivityCantCreate), parameters));
172
results.Errors.
Add
(CreateXomlCompilerError(new ValidationError(SR.GetString(SR.Error_CustomActivityCantCreate, type.FullName, tie.InnerException.InnerException.ToString()), ErrorNumbers.Error_CustomActivityCantCreate), parameters));
174
results.Errors.
Add
(CreateXomlCompilerError(new ValidationError(tie.InnerException.InnerException.ToString(), ErrorNumbers.Error_CustomActivityCantCreate), parameters));
176
results.Errors.
Add
(CreateXomlCompilerError(new ValidationError(SR.GetString(SR.Error_CustomActivityCantCreate, type.FullName, tie.InnerException.ToString()), ErrorNumbers.Error_CustomActivityCantCreate), parameters));
181
results.Errors.
Add
(CreateXomlCompilerError(new ValidationError(SR.GetString(SR.Error_CustomActivityCantCreate, type.FullName, e.ToString()), ErrorNumbers.Error_CustomActivityCantCreate), parameters));
200
results.Errors.
Add
(compilerError);
263
results.Errors.
Add
(CreateXomlCompilerError(error, parameters));
484
results.Errors.
Add
(compilerError);
678
results.Errors.
Add
(CreateXomlCompilerError(error, parameters));
685
results.Errors.
Add
(CreateXomlCompilerError(error, parameters));
690
results.Errors.
Add
(CreateXomlCompilerError(error, parameters));
AuthoringOM\Compiler\XomlCompilerResults.cs (1)
34
base.Errors.
Add
(new WorkflowCompilerError(error));