github Sergio0694/PolySharp 1.0.1

latest releases: 1.16.0, 1.15.0, 1.14.1...
3 years ago

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.

Don't miss a new PolySharp release

NewReleases is sending notifications on new releases.