private static bool InstantiateGenericMethod(Symbols.Method TargetProcedure, Type[] TypeArguments, List<string> Errors)
 {
     bool flag2 = Errors != null;
     int num2 = TypeArguments.Length - 1;
     for (int i = 0; i <= num2; i++)
     {
         if (TypeArguments[i] == null)
         {
             if (!flag2)
             {
                 return false;
             }
             ReportError(Errors, "UnboundTypeParam1", TargetProcedure.TypeParameters[i].Name);
         }
     }
     if (((Errors == null) || (Errors.Count == 0)) && !TargetProcedure.BindGenericArguments())
     {
         if (!flag2)
         {
             return false;
         }
         ReportError(Errors, "FailedTypeArgumentBinding");
     }
     if ((Errors != null) && (Errors.Count > 0))
     {
         return false;
     }
     return true;
 }