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

Use framework type, not C# keyword, for method names #10

Closed

Conversation

oliverbooth
Copy link

As per guidelines stated here: https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/naming-resources

❌ DO NOT use language-specific keywords of the main CLR languages

And here: https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/general-naming-conventions#avoiding-language-specific-names

✔️ DO use a generic CLR type name, rather than a language-specific name, in the rare cases when an identifier has no semantic meaning beyond its type.

As per guidelines stated here: https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/naming-resources

❌ DO NOT use language-specific keywords of the main CLR languages
@amytimed
Copy link
Member

Unfortunately, playerprefs.

@amytimed amytimed closed this May 29, 2022
@oliverbooth oliverbooth deleted the fix/framework-type-method-names branch May 29, 2022 20:05
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