|
|
|
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// NamingConventionService.cs
|
|
|
|
|
//
|
|
|
|
|
// Author:
|
|
|
|
@ -48,7 +48,7 @@ namespace ICSharpCode.NRefactory.CSharp.Refactoring
@@ -48,7 +48,7 @@ namespace ICSharpCode.NRefactory.CSharp.Refactoring
|
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
if (!rule.IsValid(name)) { |
|
|
|
|
IList<string> suggestedNames; |
|
|
|
|
IList<string> suggestedNames; |
|
|
|
|
var msg = rule.GetErrorMessage(ctx, name, out suggestedNames); |
|
|
|
|
if (suggestedNames.Any ()) |
|
|
|
|
return suggestedNames [0]; |
|
|
|
|