Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Version 9.0] Feature support for top level statements#1454

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
BillWagner wants to merge1 commit intodraft-v9
base:draft-v9
Choose a base branch
Loading
fromv9-toplevel-statements

Conversation

@BillWagner
Copy link
Member

This PR contains the work for Top-level statements in C# 9.

The commits from#980 were squashed to the first commit on this branch.

The ANTLR grammar is failing. I admit I'm not sure why. There are no grammar changes in this PR.

Add support for top-level statementsAdd support for top-level statementsfix md formattingtweak generated entry-point signature tableUpdate basic-concepts.mdAdd mention of attribute System.Runtime.CompilerServices.CallerMemberNamemention invoking method in top-level statement situationfix link
@RexJaeschkeRexJaeschke added this to theC# 9.0 milestoneNov 7, 2025
@RexJaeschkeRexJaeschke added the Review: pendingProposal is available for review labelNov 7, 2025
@RexJaeschke
Copy link
Contributor

RexJaeschke commentedNov 7, 2025
edited
Loading

@BillWagner Thereis one grammar change: the extension ofcompilation_unit to allowstatement_list* beforenamespace_member_declaration*.

BillWagner reacted with thumbs up emoji

@BillWagnerBillWagner changed the titleFeature support for top level statements[Version 9.0] Feature support for top level statementsNov 7, 2025
@RexJaeschkeRexJaeschke added the type: featureThis issue describes a new feature labelNov 11, 2025
@Nigel-EcmaNigel-Ecma self-assigned thisNov 19, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

@Nigel-EcmaNigel-Ecma

Labels

Review: pendingProposal is available for reviewtype: featureThis issue describes a new feature

Projects

None yet

Milestone

C# 9.0

Development

Successfully merging this pull request may close these issues.

4 participants

@BillWagner@RexJaeschke@Nigel-Ecma

[8]ページ先頭

©2009-2025 Movatter.jp