コード例 #1
0
 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);
 }
コード例 #2
0
        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);
        }