Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Perez Rodriguez <joperezr@microsoft.com>2017-01-06 01:03:56 +0300
committerJose Perez Rodriguez <joperezr@microsoft.com>2017-01-06 01:03:56 +0300
commit44b68e694948065c1b61457cec125d3d64c1fa22 (patch)
treefc7093fb753c57f29ce42de9dd64ecc435d2e95c /Documentation/coding-guidelines
parentd4d3bbdf7b8b35b5a330c94427051582470531d0 (diff)
parent05ae65fd6b51f865750e8d400c60511fcdbbbfb5 (diff)
Merge branch master into dev/eng
Diffstat (limited to 'Documentation/coding-guidelines')
-rw-r--r--Documentation/coding-guidelines/coding-style.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/coding-guidelines/coding-style.md b/Documentation/coding-guidelines/coding-style.md
index 8808a17d4b..e91ee3e367 100644
--- a/Documentation/coding-guidelines/coding-style.md
+++ b/Documentation/coding-guidelines/coding-style.md
@@ -28,6 +28,7 @@ The general rule we follow is "use Visual Studio defaults".
12. We use PascalCasing to name all our constant local variables and fields. The only exception is for interop code where the constant value should exactly match the name and value of the code you are calling via interop.
13. We use ```nameof(...)``` instead of ```"..."``` whenever possible and relevant.
14. Fields should be specified at the top within type declarations.
+15. When including non-ASCII characters in the source code use Unicode escape sequences (\uXXXX) instead of literal characters. Literal non-ASCII characters occasionally get garbled by a tool or editor.
We have provided a Visual Studio 2013 vssettings file (`corefx.vssettings`) at the root of the corefx repository, enabling C# auto-formatting conforming to the above guidelines. Note that rules 7 and 8 are not covered by the vssettings, since these are not rules currently supported by VS formatting.