public void AddTempWarning(var_definition_node vdn, CompilerWarningWithLocation cw) { List<CompilerWarningWithLocation> lst = (List<CompilerWarningWithLocation>)warns[vdn]; if (lst == null) { lst = new List<CompilerWarningWithLocation>(); warns[vdn] = lst; } lst.Add(cw); }
public void AddTempWarning(var_definition_node vdn, CompilerWarningWithLocation cw) { List <CompilerWarningWithLocation> lst = (List <CompilerWarningWithLocation>)warns[vdn]; if (lst == null) { lst = new List <CompilerWarningWithLocation>(); warns[vdn] = lst; } lst.Add(cw); }