-
-
Notifications
You must be signed in to change notification settings - Fork 7k
[csharp][netcore] Update type "String" to "string" for consistent type #9713
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
[csharp][netcore] Update type "String" to "string" for consistent type #9713
Conversation
@prajon84 thanks for the PR. What about following the advise in this SO: https://stackoverflow.com/a/7077/677735 ?
|
Good PR, I also wanted to start removing coding style warnings and hints. Visual Studio changes everything like in your PR. Resharper has two different hints:
The default setup is the VS one, so it shows the hints also on the static cases like String.Format(). But if you setup on Resharper the second hint as CLR preference, then the fix applied on the entire project will exclude the static cases. But we need to apply that code syntax on the project itself. We can add an The .editorconfig content for that change will be this hint:
Without the shared project setting, I will choose the vanilla version moving everything to |
Seems like that was old guidance.
|
Seems like it requires other file updates too to add |
|
Can you please follow the instructions in the PR checklist item 3 to update the samples? |
@wing328: I have updated the samples for |
Appveyor tests passed via https://ci.appveyor.com/project/WilliamCheng/openapi-generator/builds/39666876 |
This PR is for removing inconsistent use of type "String" and "string" by updating "String" to "string"
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*
.For Windows users, please run the script in Git BASH.
master
,5.1.x
,6.0.x
@Blackclaws @lucamazzanti @wing328 @shibayan @jfeltesse-mdsol