Feature Requests

I suggest you ...

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Support for Universal Windows Applications (Windows 10)

    Scenario: use PostSharp in an Windows Universal Application

    56 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)

      We’ll send you updates on this idea

    • Support for Xamarin

      Add support for Xamarin, the cross-platform mobile development platform.

      54 votes
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)

        We’ll send you updates on this idea

      • Support security attributes

        When we use method interceptor, original method is replaced with some new method, which doesn't preserve CustomAttributes of original methods. It become big problem, if original method was marked with SecuritySafeCritical/SecurityCritical attributes or some other security-specific attributes. Here is sample:

        using System;
        using System.Security;
        using PostSharp.Aspects;
        [assembly: AllowPartiallyTrustedCallers]
        internal class Program
        {
        private static void Main(string[] args)
        {
        SafeCritical();
        Console.ReadKey();
        }
        [TestMethodInterceptor]
        [SecuritySafeCritical]
        private static void SafeCritical()
        {
        Critical();
        }
        [SecurityCritical]
        private static void Critical()
        {
        Console.Write("Critical");
        }
        }
        [Serializable]
        [AttributeUsage(AttributeTargets.Method)]
        public sealed class TestMethodInterceptor : MethodInterceptionAspect
        {
        public override void OnInvoke(MethodInterceptionArgs arguments)
        {
        }
        }
        Expected result: See "Critical"…

        11 votes
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)

          We’ll send you updates on this idea

        • 4 votes
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)

            We’ll send you updates on this idea

          • 2 votes
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)

              We’ll send you updates on this idea

            • Support for C# 7.3

              A friendly warning appears in the output window after C# 7.3 project is built with PostSharp 6.0.18 - suggesting the latest PostSharp version (as of this post writing) only officially supports up to C# 7.2.

              I'd appreciate if we could have C# 7.3 support in PostSharp 6 (perhaps next update)?

              Here goes more details of mine development machine:

              Running on environment:
              Windows 10 (x64)
              .NET Framework 4.7.1
              Visual Studio Enterprise 2017 (version 15.7.5)
              PostSharp (version 6.0.18)

              Steps to reproduce:
              Create a new C# Console application (targetting .NET Framework 4.7.1), and enable PostSharp for the project.
              Go to project's properties. Select…

              1 vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)

                We’ll send you updates on this idea

              • Don't see your idea?

              Feedback and Knowledge Base