diff --git a/src/Generator.Bind/CSharpSpecWriter.cs b/src/Generator.Bind/CSharpSpecWriter.cs index 4e4958ff..f9c00c7f 100644 --- a/src/Generator.Bind/CSharpSpecWriter.cs +++ b/src/Generator.Bind/CSharpSpecWriter.cs @@ -709,13 +709,13 @@ namespace Bind if (!String.IsNullOrEmpty(p.ComputeSize)) { int count; - if(Int32.TryParse(p.ComputeSize, out count)) + if (Int32.TryParse(p.ComputeSize, out count)) { attributes.Add(String.Format("CountAttribute(Count = {0})", count)); } else { - if(p.ComputeSize.StartsWith("COMPSIZE")) + if (p.ComputeSize.StartsWith("COMPSIZE")) { //remove the compsize hint, just keep comma delimited param names var len = "COMPSIZE(".Length; @@ -729,7 +729,7 @@ namespace Bind } } - if(attributes.Count != 0) + if (attributes.Count != 0) { sb.Append("["); sb.Append(string.Join(", ", attributes)); diff --git a/stylecop.ruleset b/stylecop.ruleset index 218f7bb6..b26ed9d4 100644 --- a/stylecop.ruleset +++ b/stylecop.ruleset @@ -6,7 +6,7 @@ - +