Skip to content
This repository was archived by the owner on Nov 8, 2018. It is now read-only.

Commit d9c39ce

Browse files
committed
Update to StyleCop Analyzers 1.1.0-beta004
1 parent 7f08040 commit d9c39ce

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

AsyncUsageAnalyzers/AsyncUsageAnalyzers.Test/Naming/AvoidAsyncSuffixUnitTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ void InterfaceName.Method() { }
127127
DiagnosticResult[] expected =
128128
{
129129
this.CSharpDiagnostic().WithArguments("MethodAsync").WithLocation(4, 10),
130-
this.CSharpDiagnostic().WithArguments("MethodAsync").WithLocation(8, 10)
130+
this.CSharpDiagnostic().WithArguments("MethodAsync").WithLocation(8, 10),
131131
};
132132

133133
await this.VerifyCSharpDiagnosticAsync(testCode, expected, CancellationToken.None).ConfigureAwait(false);

AsyncUsageAnalyzers/AsyncUsageAnalyzers.Test/Naming/UseAsyncSuffixUnitTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ class ClassName : InterfaceName
216216
DiagnosticResult[] expected =
217217
{
218218
this.CSharpDiagnostic().WithArguments("Method").WithLocation(5, 10),
219-
this.CSharpDiagnostic().WithArguments("Method").WithLocation(9, 10)
219+
this.CSharpDiagnostic().WithArguments("Method").WithLocation(9, 10),
220220
};
221221

222222
await this.VerifyCSharpDiagnosticAsync(testCode, expected, CancellationToken.None).ConfigureAwait(false);

AsyncUsageAnalyzers/AsyncUsageAnalyzers.Test/Usage/IncludeCancellationParameterUnitTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ class ClassName : InterfaceName
386386
DiagnosticResult[] expected =
387387
{
388388
this.CSharpDiagnostic().WithArguments("MethodAsync").WithLocation(5, 10),
389-
this.CSharpDiagnostic().WithArguments("MethodAsync").WithLocation(9, 17)
389+
this.CSharpDiagnostic().WithArguments("MethodAsync").WithLocation(9, 17),
390390
};
391391

392392
await this.VerifyCSharpDiagnosticAsync(testCode, expected, CancellationToken.None).ConfigureAwait(false);

AsyncUsageAnalyzers/AsyncUsageAnalyzers.Test/Usage/UseConfigureAwaitUnitTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async Task MethodNameAsync()
9898
DiagnosticResult[] expected =
9999
{
100100
this.CSharpDiagnostic().WithLocation(12, 15),
101-
this.CSharpDiagnostic().WithLocation(12, 22)
101+
this.CSharpDiagnostic().WithLocation(12, 22),
102102
};
103103
await this.VerifyCSharpDiagnosticAsync(testCode, expected, CancellationToken.None).ConfigureAwait(false);
104104
await this.VerifyCSharpDiagnosticAsync(fixedCode, EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);

AsyncUsageAnalyzers/Directory.build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
<ItemGroup>
5252
<PackageReference Include="AsyncUsageAnalyzers" Version="1.0.0-alpha003" PrivateAssets="all" />
53-
<PackageReference Include="StyleCop.Analyzers" Version="1.0.0-rc3" PrivateAssets="all" />
53+
<PackageReference Include="StyleCop.Analyzers" Version="1.1.0-beta004" PrivateAssets="all" />
5454
</ItemGroup>
5555

5656
<ItemGroup>

0 commit comments

Comments
 (0)