Skip to content

Commit 573b29f

Browse files
committed
Merge pull request #1828 from sharwell/update-beta17
Update to StyleCop.Analyzers 1.0.0-beta017
2 parents ee6c0ad + 1cb0018 commit 573b29f

13 files changed

Lines changed: 26 additions & 21 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/StyleCop.Analyzers.CodeFixes.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,9 @@
213213
<Analyzer Include="..\..\packages\AsyncUsageAnalyzers.1.0.0-alpha003\analyzers\dotnet\AsyncUsageAnalyzers.dll" />
214214
<Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" />
215215
<Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" />
216-
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta016\analyzers\dotnet\cs\Newtonsoft.Json.dll" />
217-
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta016\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />
218-
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta016\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
216+
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta017\analyzers\dotnet\cs\Newtonsoft.Json.dll" />
217+
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta017\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />
218+
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta017\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
219219
</ItemGroup>
220220
<ItemGroup>
221221
<ProjectReference Include="..\StyleCop.Analyzers\StyleCop.Analyzers.csproj">

StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<package id="Microsoft.Composition" version="1.0.27" targetFramework="portable-net45+win8" />
1010
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="portable45-net45+win8" />
1111
<package id="NuGet.CommandLine" version="2.8.3" targetFramework="portable45-net45+win8" />
12-
<package id="StyleCop.Analyzers" version="1.0.0-beta016" targetFramework="portable45-net45+win8" developmentDependency="true" />
12+
<package id="StyleCop.Analyzers" version="1.0.0-beta017" targetFramework="portable45-net45+win8" developmentDependency="true" />
1313
<package id="System.Collections.Immutable" version="1.1.36" targetFramework="portable45-net45+win8" />
1414
<package id="System.Reflection.Metadata" version="1.0.21" targetFramework="portable45-net45+win8" />
1515
<package id="Tvl.NuGet.BuildTasks" version="1.0.0-alpha002" targetFramework="portable45-net45+win8" />

StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1019UnitTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace StyleCop.Analyzers.Test.SpacingRules
2020
public class SA1019UnitTests : CodeFixVerifier
2121
{
2222
/// <summary>
23-
/// The members access operators to test.
23+
/// Gets the members access operators to test.
2424
/// </summary>
2525
/// <value>The members access operators to test.</value>
2626
public static IEnumerable<object[]> Operators

StyleCop.Analyzers/StyleCop.Analyzers.Test/StyleCop.Analyzers.Test.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,9 +391,9 @@
391391
<Analyzer Include="..\..\packages\AsyncUsageAnalyzers.1.0.0-alpha003\analyzers\dotnet\AsyncUsageAnalyzers.dll" />
392392
<Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" />
393393
<Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" />
394-
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta016\analyzers\dotnet\cs\Newtonsoft.Json.dll" />
395-
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta016\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />
396-
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta016\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
394+
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta017\analyzers\dotnet\cs\Newtonsoft.Json.dll" />
395+
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta017\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />
396+
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta017\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
397397
</ItemGroup>
398398
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
399399
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">

StyleCop.Analyzers/StyleCop.Analyzers.Test/Verifiers/CodeFixVerifier.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ public int IndentationSize
4747
}
4848

4949
/// <summary>
50-
/// Gets or sets the value of the <see cref="FormattingOptions.UseTabs"/> to apply to the test workspace.
50+
/// Gets or sets a value indicating whether the <see cref="FormattingOptions.UseTabs"/> option is applied to the
51+
/// test workspace.
5152
/// </summary>
5253
/// <value>
5354
/// The value of the <see cref="FormattingOptions.UseTabs"/> to apply to the test workspace.

StyleCop.Analyzers/StyleCop.Analyzers.Test/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<package id="Microsoft.CodeAnalysis.Workspaces.Common" version="1.0.0" targetFramework="net452" />
99
<package id="Microsoft.Composition" version="1.0.27" targetFramework="net452" />
1010
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net45" />
11-
<package id="StyleCop.Analyzers" version="1.0.0-beta016" targetFramework="net452" developmentDependency="true" />
11+
<package id="StyleCop.Analyzers" version="1.0.0-beta017" targetFramework="net452" developmentDependency="true" />
1212
<package id="System.Collections.Immutable" version="1.1.36" targetFramework="net452" />
1313
<package id="System.Reflection.Metadata" version="1.0.21" targetFramework="net452" />
1414
<package id="xunit" version="2.1.0-beta4-build3109" targetFramework="net452" />

StyleCop.Analyzers/StyleCop.Analyzers/AnalyzerConstants.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ static AnalyzerConstants()
2929
/// to disable a diagnostic which is currently untested.
3030
/// </value>
3131
[ExcludeFromCodeCoverage]
32+
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1623:Property summary documentation must match accessors.", Justification = "This property behaves more like an opaque value than a Boolean.")]
3233
internal static bool DisabledNoTests { get; }
3334

3435
/// <summary>
@@ -43,6 +44,7 @@ static AnalyzerConstants()
4344
/// to indicate that the diagnostic is disabled by default because it is an alternative to a reference StyleCop
4445
/// rule.
4546
/// </value>
47+
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1623:Property summary documentation must match accessors.", Justification = "This property behaves more like an opaque value than a Boolean.")]
4648
internal static bool DisabledAlternative => false;
4749

4850
/// <summary>
@@ -55,6 +57,7 @@ static AnalyzerConstants()
5557
/// <see cref="DiagnosticDescriptor(string, string, string, string, DiagnosticSeverity, bool, string, string, string[])"/>
5658
/// to indicate that the diagnostic should be enabled by default.
5759
/// </value>
60+
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1623:Property summary documentation must match accessors.", Justification = "This property behaves more like an opaque value than a Boolean.")]
5861
internal static bool EnabledByDefault => true;
5962

6063
/// <summary>
@@ -67,6 +70,7 @@ static AnalyzerConstants()
6770
/// <see cref="DiagnosticDescriptor(string, string, string, string, DiagnosticSeverity, bool, string, string, string[])"/>
6871
/// to indicate that the diagnostic should be disabled by default.
6972
/// </value>
73+
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1623:Property summary documentation must match accessors.", Justification = "This property behaves more like an opaque value than a Boolean.")]
7074
internal static bool DisabledByDefault => false;
7175
}
7276
}

StyleCop.Analyzers/StyleCop.Analyzers/Helpers/FileHeader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ internal static FileHeader MissingFileHeader
4949
}
5050

5151
/// <summary>
52-
/// Gets or sets a value indicating whether the file header is missing.
52+
/// Gets a value indicating whether the file header is missing.
5353
/// </summary>
5454
/// <value>
5555
/// True if the file header is missing.

StyleCop.Analyzers/StyleCop.Analyzers/Helpers/XmlFileHeader.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ internal static XmlFileHeader MalformedFileHeader
6767
}
6868

6969
/// <summary>
70-
/// Gets or sets a value indicating whether the file header is missing.
70+
/// Gets a value indicating whether the file header is missing.
7171
/// </summary>
7272
/// <value>
7373
/// True if the file header is missing.
7474
/// </value>
7575
internal bool IsMissing { get; private set; }
7676

7777
/// <summary>
78-
/// Gets or sets a value indicating whether the file header contains a properly formatted XML structure.
78+
/// Gets a value indicating whether the file header contains a properly formatted XML structure.
7979
/// </summary>
8080
/// <value>
8181
/// True if the file header is not properly formatted XML.

StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,9 @@
381381
<Analyzer Include="..\..\packages\AsyncUsageAnalyzers.1.0.0-alpha003\analyzers\dotnet\AsyncUsageAnalyzers.dll" />
382382
<Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" />
383383
<Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" />
384-
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta016\analyzers\dotnet\cs\Newtonsoft.Json.dll" />
385-
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta016\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />
386-
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta016\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
384+
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta017\analyzers\dotnet\cs\Newtonsoft.Json.dll" />
385+
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta017\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />
386+
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-beta017\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
387387
</ItemGroup>
388388
<ItemGroup>
389389
<EmbeddedResource Include="DocumentationRules\DocumentationResources.resx">

0 commit comments

Comments
 (0)