Skip to content

Releases: Sergio0694/PolySharp

1.3.0

23 Oct 12:14
6a2efbb
Compare
Choose a tag to compare

This PolySharp release includes minor tweaks and one missing polyfill.

🪄 Polyfills

1.2.0

22 Oct 22:46
5578d33
Compare
Choose a tag to compare

This PolySharp release includes additional options and performance optimizations to the generator.

⚙️ Options

  • "PolySharpExcludeGeneratedTypes": excludes specific types from generation (';' or ',' separated type names).

1.1.0

22 Oct 20:00
018c289
Compare
Choose a tag to compare

This PolySharp release includes additional polyfills to help in multi-targeting scenarios.

🪄 Polyfills

  • Reflection annotation attributes (see docs):
    • [DynamicallyAccessedMembers]
    • [DynamicDependency]
    • [RequiresUnreferencedCode]
    • [UnconditionalSuppressMessage]
  • [StackTraceHidden] (see here)
  • [UnmanagedCallersOnly] (see docs))
  • Platform support annotation attributes (see docs):
    • [ObsoletedOSPlatform]
    • [SupportedOSPlatform]
    • [SupportedOSPlatformGuard]
    • [TargetPlatform]
    • [UnsupportedOSPlatform]
    • [UnsupportedOSPlatformGuard]

⚙️ Options

  • "PolySharpIncludeRuntimeSupportedAttributes": enables polyfills for (dummy) runtime-supported attributes too.

1.0.1

22 Oct 16:47
a60a03a
Compare
Choose a tag to compare

First stable release of PolySharp.

🪄 Polyfills

  • Nullability attributes (for nullable reference types):
    • [AllowNull]
    • [DisallowNull]
    • [DoesNotReturn]
    • [DoesNotReturnIf]
    • [MaybeNull]
    • [MaybeNullWhen]
    • [MemberNotNull]
    • [MemberNotNullWhen]
    • [NotNull]
    • [NotNullIfNotNull]
    • [NotNullWhen]
  • Index and Range (see indices and ranges)
  • [UnscopedRef] (see low-level struct improvements)
  • Required members (see required modifier)
    • [RequiredMember]
    • [SetsRequiredMembers]
  • [CompilerFeatureRequired] (needed to support several features)
  • [IsExternalInit] (needed for init-only properties)
  • [SkipLocalsInit] (see docs)
  • Interpolated string handlers (see docs)
    • [InterpolatedStringHandler]
    • [InterpolatedStringHandlerArgument]
  • [CallerArgumentExpression] (see docs)

⚙️ Options

  • "PolySharpUsePublicAccessibilityForGeneratedTypes": changes the accessibility of generated types from internal to public.