ProtoConverterAttribute.cs 488 B

12345678910111213
  1. using System;
  2. namespace ProtoBuf
  3. {
  4. /// <summary>
  5. /// Indicates that a static member should be considered the same as though
  6. /// were an implicit / explicit conversion operator; in particular, this
  7. /// is useful for conversions that operator syntax does not allow, such as
  8. /// to/from interface types.
  9. /// </summary>
  10. [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
  11. public class ProtoConverterAttribute : Attribute {}
  12. }