Skip to content

Fix Attribute name usage - #1811

Open
RexJaeschke wants to merge 2 commits into
draft-v8from
RexJaeschke-patch-1
Open

RexJaeschke wants to merge 2 commits into
draft-v8from
RexJaeschke-patch-1

Conversation

@RexJaeschke

@RexJaeschke RexJaeschke commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

@jon, here's one more occurrence. Separately, I'll go through all the Draft PR's for V8 and later versions and apply your rules to all new relevant attribute-related text.

@jon, hold off approving this just yet as I may have more tweaks.

For example, 23.5.6.2 The CallerLineNumber attribute (among other specific attribute subclauses) uses a fully qualified name for the attribute type, as in

The attribute System.Runtime.CompilerServices.CallerLineNumberAttribute is ...

As we state the fully qualified name back in 23.5.1 General, I suggest we omit it from all other uses in narrative. Do you agree? If so, I'll fix those as part of this PR.

@RexJaeschke
RexJaeschke requested a review from jskeet September 14, 2026 15:19
@jskeet

jskeet commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

As we state the fully qualified name back in 23.5.1 General, I suggest we omit it from all other uses in narrative. Do you agree? If so, I'll fix those as part of this PR.

By "omit it" do you mean the namespace? If so, I agree. If it's the Attribute suffix, then no - but I'm hoping it's the former :)

@RexJaeschke

Copy link
Copy Markdown
Contributor Author

@jskeet Yes, I meant "omit the namespace." I did that for the Attribute types in attributes.md. However, I did not do that for such types mentioned in classes.md, a clause that uses the namespace prefix System. a lot. You can process this PR now.

@jskeet jskeet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, this looks fine to me, given that we've got the full namespace elsewhere (and it's a real mouthful).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants