Strings.cs 1013 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. namespace System.Linq
  3. {
  4. static class Strings
  5. {
  6. public static string EmptyEnumerable
  7. {
  8. get { return "EmptyEnumerable"; }
  9. }
  10. public static string NoElements
  11. {
  12. get { return Locale.GetText ("Sequence contains no elements"); }
  13. }
  14. public static string NoMatch
  15. {
  16. get { return Locale.GetText ("Sequence contains no matching element"); }
  17. }
  18. public static string MoreThanOneElement
  19. {
  20. get { return Locale.GetText ("Sequence contains more than one element"); }
  21. }
  22. public static string MoreThanOneMatch
  23. {
  24. get { return Locale.GetText ("Sequence contains more than one matching element"); }
  25. }
  26. public static string NoMethodOnTypeMatchingArguments (object p0, object p1)
  27. {
  28. return String.Format (Locale.GetText ("No method '{0}' on type '{1}' is compatible with the supplied arguments"), p0, p1);
  29. }
  30. public static string NoMethodOnType (object p0, object p1)
  31. {
  32. return String.Format (Locale.GetText ("No method '{0}' on type '{1}'"), p0, p1);;
  33. }
  34. }
  35. }