Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to .NET 5 #53

Closed
26 tasks done
SunnieShine opened this issue Oct 25, 2020 · 0 comments
Closed
26 tasks done

Upgrade to .NET 5 #53

SunnieShine opened this issue Oct 25, 2020 · 0 comments
Labels
Kind-feature The new feature to support it!

Comments

@SunnieShine
Copy link
Owner

SunnieShine commented Oct 25, 2020

This issue lists all operations that should finish.

  • Apply C# 9 features:
    • Records:
      • Change into records syntax.
      • init setters on class properties and read-only structs.
      • C# 9 Preview: Add class IsExternalInit manually.
      • Apply in modifier on some structs.
    • Top-level Main method.
    • Pattern matching Version 3 (and, or and not patterns).
    • Native integers (nint and nuint).
    • Function pointers.
    • SkipLocalsInitAttribute: Ignores initializations on locals.
    • Target-typed new.
    • static anonymous functions (lambdas).
    • Target-typed condition expressions.
    • Co-variant returns.
    • Extension GetEnumerator.
    • Lambda discards.
    • Attributes on local functions.
    • ModuleInitializerAttribute.
    • Extending partial methods to all valid methods if need.
  • Apply C# 8+ features:
    • Unconstrainted nullable generic type: T?.
  • Apply project file:
    • <TargetFramework>net5.0</Targetframework>.
    • WPF project: <TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>.
  • Fix bugs raised after upgrading to .NET 5.
@SunnieShine SunnieShine added author TODOs Kind-feature The new feature to support it! labels Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Kind-feature The new feature to support it!
Projects
None yet
Development

No branches or pull requests

1 participant