CustomAttributeFormatException.cs 820 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // System.Reflection.CustomAttributeFormatException.cs
  3. //
  4. // Author: Duncan Mak ([email protected])
  5. //
  6. // (C) 2001 Ximian, Inc. http://www.ximian.com
  7. //
  8. using System.Globalization;
  9. using System.Runtime.Serialization;
  10. namespace System.Reflection
  11. {
  12. [Serializable]
  13. public class CustomAttributeFormatException : FormatException
  14. {
  15. // Constructors
  16. public CustomAttributeFormatException ()
  17. : base (Locale.GetText ("The Binary format of the custom attribute is invalid."))
  18. {
  19. }
  20. public CustomAttributeFormatException (string message)
  21. : base (message)
  22. {
  23. }
  24. public CustomAttributeFormatException (string message, Exception inner)
  25. : base (message, inner)
  26. {
  27. }
  28. protected CustomAttributeFormatException (SerializationInfo info,
  29. StreamingContext context)
  30. {
  31. }
  32. }
  33. }