Skip to content

Publish the remaining language spec proposals for features released in C# 8.0 #12772

Closed

Description

@jcouv

This is a follow-up on #10725

A few more features have been implemented and shipped in the C# 8.0 preview:

  • default interface members (DIM)
  • readonly members
  • stackalloc in nested contexts
  • unmanaged generic structs
  • static local functions (with new shadowing rules)

Tagging @BillWagner

Looking at the side-bar for the C# doc pages (such as https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/), I see a list of C# 8.0 proposals. We could add DIM and readonly members.

Those two proposals are now part of the csharp-8.0 folder (ie. their stable/final address): dotnet/csharplang#2592

image

Activity

  1. self-assigned this
    on Jun 12, 2019
  2. added this to the July 2019 milestone on Jun 12, 2019
  3. BillWagner commented on Jun 12, 2019

    @BillWagner
    Member

    Thanks @jcouv I've added this to my task list.

    What should we do with the spec-let for the index and range changes? Those are approved for C# 8, correct?

    It would read better if those changes were merged into the original spec, but I wouldn't want to do that until having two different docs isn't useful for the development efforts.

    What are your thoughts?

  4. jcouv commented on Jun 12, 2019

    @jcouv
    ContributorAuthor

    Thanks for calling out the Ranges doc. I'll move it to csharp-8.0 folder too.

  5. added 2 commits that reference this issue on Sep 10, 2019
    611f3e7
    a6d87c0
  6. added a commit that references this issue on Sep 11, 2019
    de7d82d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions