Skip to content

Commit db70477

Browse files
committed
Merge pull request #499 from Vannevelj/issue85
Issue85
2 parents 0ab29a3 + ae80847 commit db70477

File tree

79 files changed

+442
-537
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+442
-537
lines changed

VSDiagnostics/VSDiagnostics/VSDiagnostics.Test/Tests/General/ConditionIsConstantTests.cs

Lines changed: 36 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace VSDiagnostics.Test.Tests.General
99
[TestClass]
1010
public class ConditionIsConstantTests : CSharpCodeFixVerifier
1111
{
12-
protected override DiagnosticAnalyzer DiagnosticAnalyzer => new ConditionIsConstant();
12+
protected override DiagnosticAnalyzer DiagnosticAnalyzer => new ConditionIsConstantAnalyzer();
1313

1414
protected override CodeFixProvider CodeFixProvider => new ConditionIsConstantCodeFix();
1515

@@ -45,7 +45,7 @@ void Method()
4545
}
4646
}";
4747

48-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
48+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
4949
VerifyFix(original, result);
5050
}
5151

@@ -80,7 +80,7 @@ void Method()
8080
}
8181
}";
8282

83-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
83+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
8484
VerifyFix(original, result);
8585
}
8686

@@ -141,7 +141,7 @@ void Method()
141141
}
142142
}";
143143

144-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
144+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
145145
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
146146
}
147147

@@ -178,7 +178,7 @@ void Method()
178178
}
179179
}";
180180

181-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
181+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
182182
VerifyFix(original, result);
183183
}
184184

@@ -221,7 +221,7 @@ void Method()
221221
}
222222
}";
223223

224-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
224+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
225225
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
226226
}
227227

@@ -275,11 +275,16 @@ void Method()
275275
}
276276
}";
277277

278-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
278+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
279279
VerifyFix(original, result);
280280
}
281281

282+
/// <summary>
283+
/// Currently ignored due to a minor bug in Microsoft.CodeAnalysis
284+
/// See https://github.com/dotnet/roslyn/issues/9878
285+
/// </summary>
282286
[TestMethod]
287+
[Ignore]
283288
public void ConditionIsAlwaysTrue_WithElseIf_ChildIfIsAlwaysTrue_IfIsInElseNode()
284289
{
285290
var original = @"
@@ -326,7 +331,7 @@ void Method()
326331
}
327332
}";
328333

329-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
334+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
330335
VerifyFix(original, result);
331336
}
332337

@@ -363,7 +368,7 @@ void Method()
363368
}
364369
}";
365370

366-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
371+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
367372
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
368373
}
369374

@@ -411,7 +416,7 @@ void Method()
411416
}
412417
}";
413418

414-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
419+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
415420
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
416421
}
417422

@@ -454,7 +459,7 @@ void Method()
454459
}
455460
}";
456461

457-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
462+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
458463
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
459464
}
460465

@@ -490,7 +495,7 @@ void Method()
490495
}
491496
}";
492497

493-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
498+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
494499
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
495500
}
496501

@@ -526,7 +531,7 @@ void Method()
526531
}
527532
}";
528533

529-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
534+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
530535
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
531536
}
532537

@@ -562,7 +567,7 @@ void Method()
562567
}
563568
}";
564569

565-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
570+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
566571
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
567572
}
568573

@@ -598,7 +603,7 @@ void Method()
598603
}
599604
}";
600605

601-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
606+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
602607
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
603608
}
604609

@@ -632,7 +637,7 @@ void Method()
632637
}
633638
}";
634639

635-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "true"));
640+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "true"));
636641
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
637642
}
638643

@@ -666,7 +671,7 @@ void Method()
666671
}
667672
}";
668673

669-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
674+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
670675
VerifyFix(original, result);
671676
}
672677

@@ -700,7 +705,7 @@ void Method()
700705
}
701706
}";
702707

703-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
708+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
704709
VerifyFix(original, result);
705710
}
706711

@@ -760,7 +765,7 @@ void Method()
760765
}
761766
}";
762767

763-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
768+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
764769
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
765770
}
766771

@@ -797,7 +802,7 @@ void Method()
797802
}
798803
}";
799804

800-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
805+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
801806
VerifyFix(original, result);
802807
}
803808

@@ -843,7 +848,7 @@ void Method()
843848
}
844849
}";
845850

846-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
851+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
847852
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
848853
}
849854

@@ -881,7 +886,7 @@ void Method()
881886
}
882887
}";
883888

884-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
889+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
885890
VerifyFix(original, result);
886891
}
887892

@@ -937,7 +942,7 @@ void Method()
937942
}
938943
}";
939944

940-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
945+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
941946
VerifyFix(original, result);
942947
}
943948

@@ -983,7 +988,7 @@ void Method()
983988
}
984989
}";
985990

986-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
991+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
987992
VerifyFix(original, result);
988993
}
989994

@@ -1018,7 +1023,7 @@ void Method()
10181023
}
10191024
}";
10201025

1021-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
1026+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
10221027
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
10231028
}
10241029

@@ -1053,7 +1058,7 @@ void Method()
10531058
}
10541059
}";
10551060

1056-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
1061+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
10571062
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
10581063
}
10591064

@@ -1088,7 +1093,7 @@ void Method()
10881093
}
10891094
}";
10901095

1091-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
1096+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
10921097
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
10931098
}
10941099

@@ -1123,7 +1128,7 @@ void Method()
11231128
}
11241129
}";
11251130

1126-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
1131+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
11271132
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
11281133
}
11291134

@@ -1156,7 +1161,7 @@ void Method()
11561161
}
11571162
}";
11581163

1159-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
1164+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
11601165
VerifyFix(original, result, allowedNewCompilerDiagnosticsId: "CS0219");
11611166
}
11621167

@@ -1208,7 +1213,7 @@ void Method()
12081213
}
12091214
}";
12101215

1211-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
1216+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
12121217
VerifyFix(original, result);
12131218
}
12141219

@@ -1254,7 +1259,7 @@ void Method()
12541259
}
12551260
}";
12561261

1257-
VerifyDiagnostic(original, string.Format(ConditionIsConstant.Rule.MessageFormat.ToString(), "false"));
1262+
VerifyDiagnostic(original, string.Format(ConditionIsConstantAnalyzer.Rule.MessageFormat.ToString(), "false"));
12581263
VerifyFix(original, result);
12591264
}
12601265
}

VSDiagnostics/VSDiagnostics/VSDiagnostics.Test/Tests/General/UseAliasesInsteadOfConcreteTypeTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ namespace ConsoleApplication1
940940
{
941941
class MyClass
942942
{
943-
public static explicit operator int (MyClass c)
943+
public static explicit operator int(MyClass c)
944944
{
945945
return 5;
946946
}

VSDiagnostics/VSDiagnostics/VSDiagnostics.Test/VSDiagnostics.Test.csproj

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>VSDiagnostics.Test</RootNamespace>
1212
<AssemblyName>VSDiagnostics.Test</AssemblyName>
13-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
<TargetFrameworkProfile />
1616
</PropertyGroup>
@@ -34,41 +34,41 @@
3434
<Prefer32Bit>false</Prefer32Bit>
3535
</PropertyGroup>
3636
<ItemGroup>
37-
<Reference Include="Microsoft.CodeAnalysis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
38-
<HintPath>..\..\packages\Microsoft.CodeAnalysis.Common.1.0.0\lib\net45\Microsoft.CodeAnalysis.dll</HintPath>
37+
<Reference Include="Microsoft.CodeAnalysis, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
38+
<HintPath>..\..\packages\Microsoft.CodeAnalysis.Common.1.1.1\lib\net45\Microsoft.CodeAnalysis.dll</HintPath>
3939
<Private>True</Private>
4040
</Reference>
41-
<Reference Include="Microsoft.CodeAnalysis.CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
42-
<HintPath>..\..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0\lib\net45\Microsoft.CodeAnalysis.CSharp.dll</HintPath>
41+
<Reference Include="Microsoft.CodeAnalysis.CSharp, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
42+
<HintPath>..\..\packages\Microsoft.CodeAnalysis.CSharp.1.1.1\lib\net45\Microsoft.CodeAnalysis.CSharp.dll</HintPath>
4343
<Private>True</Private>
4444
</Reference>
45-
<Reference Include="Microsoft.CodeAnalysis.CSharp.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
46-
<HintPath>..\..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.dll</HintPath>
45+
<Reference Include="Microsoft.CodeAnalysis.CSharp.Workspaces, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
46+
<HintPath>..\..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.1.1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.dll</HintPath>
4747
<Private>True</Private>
4848
</Reference>
49-
<Reference Include="Microsoft.CodeAnalysis.VisualBasic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
50-
<HintPath>..\..\packages\Microsoft.CodeAnalysis.VisualBasic.1.0.0\lib\net45\Microsoft.CodeAnalysis.VisualBasic.dll</HintPath>
49+
<Reference Include="Microsoft.CodeAnalysis.VisualBasic, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
50+
<HintPath>..\..\packages\Microsoft.CodeAnalysis.VisualBasic.1.1.1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.dll</HintPath>
5151
<Private>True</Private>
5252
</Reference>
53-
<Reference Include="Microsoft.CodeAnalysis.VisualBasic.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
54-
<HintPath>..\..\packages\Microsoft.CodeAnalysis.VisualBasic.Workspaces.1.0.0\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll</HintPath>
53+
<Reference Include="Microsoft.CodeAnalysis.VisualBasic.Workspaces, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
54+
<HintPath>..\..\packages\Microsoft.CodeAnalysis.VisualBasic.Workspaces.1.1.1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll</HintPath>
5555
<Private>True</Private>
5656
</Reference>
57-
<Reference Include="Microsoft.CodeAnalysis.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
58-
<HintPath>..\..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0\lib\net45\Microsoft.CodeAnalysis.Workspaces.dll</HintPath>
57+
<Reference Include="Microsoft.CodeAnalysis.Workspaces, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
58+
<HintPath>..\..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.1.1\lib\net45\Microsoft.CodeAnalysis.Workspaces.dll</HintPath>
5959
<Private>True</Private>
6060
</Reference>
61-
<Reference Include="Microsoft.CodeAnalysis.Workspaces.Desktop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
62-
<HintPath>..\..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0\lib\net45\Microsoft.CodeAnalysis.Workspaces.Desktop.dll</HintPath>
61+
<Reference Include="Microsoft.CodeAnalysis.Workspaces.Desktop, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
62+
<HintPath>..\..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.1.1\lib\net45\Microsoft.CodeAnalysis.Workspaces.Desktop.dll</HintPath>
6363
<Private>True</Private>
6464
</Reference>
6565
<Reference Include="RoslynTester, Version=1.6.2.0, Culture=neutral, processorArchitecture=MSIL">
6666
<HintPath>..\..\packages\RoslynTester.1.6.2\lib\RoslynTester.dll</HintPath>
6767
<Private>True</Private>
6868
</Reference>
6969
<Reference Include="System" />
70-
<Reference Include="System.Collections.Immutable, Version=1.1.36.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
71-
<HintPath>..\..\packages\System.Collections.Immutable.1.1.36\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath>
70+
<Reference Include="System.Collections.Immutable, Version=1.1.37.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
71+
<HintPath>..\..\packages\System.Collections.Immutable.1.1.37\lib\dotnet\System.Collections.Immutable.dll</HintPath>
7272
<Private>True</Private>
7373
</Reference>
7474
<Reference Include="System.Composition.AttributedModel, Version=1.0.30.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
@@ -92,8 +92,8 @@
9292
<Private>True</Private>
9393
</Reference>
9494
<Reference Include="System.Core" />
95-
<Reference Include="System.Reflection.Metadata, Version=1.0.21.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
96-
<HintPath>..\..\packages\System.Reflection.Metadata.1.0.21\lib\portable-net45+win8\System.Reflection.Metadata.dll</HintPath>
95+
<Reference Include="System.Reflection.Metadata, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
96+
<HintPath>..\..\packages\System.Reflection.Metadata.1.1.0\lib\dotnet5.2\System.Reflection.Metadata.dll</HintPath>
9797
<Private>True</Private>
9898
</Reference>
9999
<Reference Include="System.Xml.Linq" />
@@ -164,8 +164,8 @@
164164
</ProjectReference>
165165
</ItemGroup>
166166
<ItemGroup>
167-
<Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" />
168-
<Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" />
167+
<Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" />
168+
<Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" />
169169
</ItemGroup>
170170
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
171171
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

0 commit comments

Comments
 (0)