private void AnalyzeErrorItems(CompilerErrors errors) { ErrorList list = MasterObjekt.ToolWindows.ErrorList; for (long index = 1; index <= list.ErrorItems.Count; index++) { AddUpErrors(errors, list.ErrorItems.Item(index)); } }
private void AnalyzeErrorItems(CompilerErrors errors) { ErrorList list = MasterObjekt.ToolWindows.ErrorList; for (long index = 1; index <= list.ErrorItems.Count; index++) { AddUpErrors(errors, list.ErrorItems.Item(index)); } }
protected CompilerErrors GetErrors() { CompilerErrors errors = new CompilerErrors(); if (MasterObjekt != null) { AnalyzeErrorItems(errors); } return(errors); }
private void AddUpErrors(CompilerErrors errors, ErrorItem item) { switch (item.ErrorLevel) { case vsBuildErrorLevel.vsBuildErrorLevelHigh: errors.ErrorCount++; break; case vsBuildErrorLevel.vsBuildErrorLevelMedium: case vsBuildErrorLevel.vsBuildErrorLevelLow: errors.WarningCount++; break; default: break; } }
private void AddUpErrors(CompilerErrors errors, ErrorItem item) { switch (item.ErrorLevel) { case vsBuildErrorLevel.vsBuildErrorLevelHigh: errors.ErrorCount++; break; case vsBuildErrorLevel.vsBuildErrorLevelMedium: case vsBuildErrorLevel.vsBuildErrorLevelLow: errors.WarningCount++; break; default: break; } }
protected CompilerErrors GetErrors() { CompilerErrors errors = new CompilerErrors(); if (MasterObjekt != null) AnalyzeErrorItems(errors); return errors; }