ReversePInvokeWrapperGenerationAttribute.cs 500 B

12345678910111213141516171819
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace HybridCLR
  7. {
  8. [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
  9. public class ReversePInvokeWrapperGenerationAttribute : Attribute
  10. {
  11. public int ReserveWrapperCount { get; }
  12. public ReversePInvokeWrapperGenerationAttribute(int reserveWrapperCount)
  13. {
  14. ReserveWrapperCount = reserveWrapperCount;
  15. }
  16. }
  17. }