36 references to Add
System (4)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
555results.Errors.Add(ce);
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
530results.Errors.Add(ce);
compmod\system\codedom\compiler\CompilerErrorCollection.cs (2)
78this.Add(value[i]); 93this.Add(value[i]);
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
665Errors.Add(error);
System.Data.SqlXml (5)
System\Xml\Xsl\Xslt\Compiler.cs (3)
290CompilerResults.Errors.Add(error); 302CompilerResults.Errors.Add(error); 305CompilerResults.Errors.Add(error);
System\Xml\Xsl\Xslt\Scripts.cs (2)
207allErrors.Add(compiler.CreateError(lastScript.EndLineInfo, /*[XT_041]*/Res.Xslt_ScriptCompileException, e.Message)); 318results.Errors.Add(compiler.CreateError(lastScript.EndLineInfo, /*[XT_041]*/Res.Xslt_ScriptCompileException, e.Message));
System.Web (1)
Compilation\BuildProvidersCompiler.cs (1)
465newResults.Errors.Add(error);
System.Workflow.ComponentModel (25)
AuthoringOM\Compiler\XomlCompiler.cs (11)
632Results.Errors.Add(new WorkflowCompilerError(this.Filename, -1, -1, ErrorNumbers.Error_TypeNotAuthorized.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_TypeNotAuthorized, SR.GetString(SR.NullConditionExpression)))); 652Results.Errors.Add(new WorkflowCompilerError(this.Filename, -1, -1, ErrorNumbers.Error_TypeNotAuthorized.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_TypeNotAuthorized, typeToAuthorize))); 772results.Errors.Add(new WorkflowCompilerError(String.Empty, -1, -1, ErrorNumbers.Error_UnknownCompilerException.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CompilationFailed, e.Message))); 1058results.Errors.Add(new WorkflowCompilerError(fileName, (WorkflowMarkupSerializationException)error)); 1062results.Errors.Add(new WorkflowCompilerError(fileName, -1, -1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), error.ToString())); 1071results.Errors.Add(new WorkflowCompilerError(fileName, xomlSerializationException)); 1076results.Errors.Add(new WorkflowCompilerError(fileName, -1, -1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CompilationFailed, e.Message))); 1082results.Errors.Add(new WorkflowCompilerError(fileName, 1, 1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_RootActivityTypeInvalid))); 1089results.Errors.Add(new WorkflowCompilerError(fileName, 1, 1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CannotCompile_No_XClass))); 1099results.Errors.Add(XomlCompilerHelper.CreateXomlCompilerError(error, parameters)); 1106results.Errors.Add(XomlCompilerHelper.CreateXomlCompilerError(error, parameters));
AuthoringOM\Compiler\XomlCompilerHelpers.cs (13)
54results.Errors.Add(libPathError); 66results.Errors.Add(CreateXomlCompilerError(error, parameters)); 151results.Errors.Add(CreateXomlCompilerError(new ValidationError(SR.GetString(SR.Error_Missing_CanModifyProperties_False, activity.GetType().FullName), ErrorNumbers.Error_CustomActivityCantCreate), parameters)); 172results.Errors.Add(CreateXomlCompilerError(new ValidationError(SR.GetString(SR.Error_CustomActivityCantCreate, type.FullName, tie.InnerException.InnerException.ToString()), ErrorNumbers.Error_CustomActivityCantCreate), parameters)); 174results.Errors.Add(CreateXomlCompilerError(new ValidationError(tie.InnerException.InnerException.ToString(), ErrorNumbers.Error_CustomActivityCantCreate), parameters)); 176results.Errors.Add(CreateXomlCompilerError(new ValidationError(SR.GetString(SR.Error_CustomActivityCantCreate, type.FullName, tie.InnerException.ToString()), ErrorNumbers.Error_CustomActivityCantCreate), parameters)); 181results.Errors.Add(CreateXomlCompilerError(new ValidationError(SR.GetString(SR.Error_CustomActivityCantCreate, type.FullName, e.ToString()), ErrorNumbers.Error_CustomActivityCantCreate), parameters)); 200results.Errors.Add(compilerError); 263results.Errors.Add(CreateXomlCompilerError(error, parameters)); 484results.Errors.Add(compilerError); 678results.Errors.Add(CreateXomlCompilerError(error, parameters)); 685results.Errors.Add(CreateXomlCompilerError(error, parameters)); 690results.Errors.Add(CreateXomlCompilerError(error, parameters));
AuthoringOM\Compiler\XomlCompilerResults.cs (1)
34base.Errors.Add(new WorkflowCompilerError(error));