Skip to content

Commit 137c2fd

Browse files
committed
Added ReSharper naming convention settings in team-shared file.
The .DotSettings file supersedes the .ReSharper file. Renamed a field since it was named after a keyword and needed the @ prefix.
1 parent b897ed9 commit 137c2fd

File tree

3 files changed

+6
-107
lines changed

3 files changed

+6
-107
lines changed

CommandLine.5.1.ReSharper

Lines changed: 0 additions & 105 deletions
This file was deleted.

CommandLine.sln.DotSettings

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2+
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=LocalConstants/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /&gt;</s:String>
3+
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateInstanceFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;</s:String>
4+
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateStaticReadonly/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /&gt;</s:String></wpf:ResourceDictionary>

src/CommandLine/Parser.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class Parser : IDisposable
1717
{
1818
private bool disposed;
1919
private readonly ParserSettings settings;
20-
private static readonly Lazy<Parser> @default = new Lazy<Parser>(
20+
private static readonly Lazy<Parser> DefaultParser = new Lazy<Parser>(
2121
() => new Parser(new ParserSettings{ HelpWriter = Console.Error }));
2222

2323
/// <summary>
@@ -62,7 +62,7 @@ internal Parser(ParserSettings settings)
6262
/// </summary>
6363
public static Parser Default
6464
{
65-
get { return @default.Value; }
65+
get { return DefaultParser.Value; }
6666
}
6767

6868
/// <summary>

0 commit comments

Comments
 (0)