Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 83cf604

Browse files
author
Mukul Sabharwal
committed
Upgrade packages
1 parent 6376205 commit 83cf604

File tree

4 files changed

+14
-16
lines changed

4 files changed

+14
-16
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,3 +192,5 @@ ModelManifest.xml
192192
*.ide
193193
*.ide-shm
194194
*.dtbcache
195+
196+
.vs/

ClrHeapAllocationsAnalyzer.Test/ClrHeapAllocationsAnalyzer.Test.csproj

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,15 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.CodeAnalysis" Version="2.10.0" />
11-
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="2.10.0" />
12-
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="2.10.0" />
13-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.10.0" />
14-
15-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
16-
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
17-
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
18-
<PackageReference Include="SmartAnalyzers.RoslynTestKit" Version="2.4.52" />
10+
<PackageReference Include="Microsoft.CodeAnalysis" Version="3.4.0" />
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
12+
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0" />
13+
<PackageReference Include="MSTest.TestFramework" Version="2.0.0" />
14+
<PackageReference Include="SmartAnalyzers.RoslynTestKit" Version="3.0.61" />
1915
</ItemGroup>
2016

2117
<ItemGroup>
2218
<ProjectReference Include="..\ClrHeapAllocationsAnalyzer\ClrHeapAllocationAnalyzer.csproj" />
2319
</ItemGroup>
2420

25-
</Project>
21+
</Project>

ClrHeapAllocationsAnalyzer/AllocationAnalyzer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ public abstract class AllocationAnalyzer : DiagnosticAnalyzer
1212

1313
public override void Initialize(AnalysisContext context)
1414
{
15+
context.EnableConcurrentExecution();
16+
context.ConfigureGeneratedCodeAnalysis(GeneratedCodeAnalysisFlags.Analyze | GeneratedCodeAnalysisFlags.ReportDiagnostics);
1517
context.RegisterSyntaxNodeAction(Analyze, Expressions);
1618
}
1719

ClrHeapAllocationsAnalyzer/ClrHeapAllocationAnalyzer.csproj

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<PropertyGroup>
1010
<PackageId>ClrHeapAllocationAnalyzer</PackageId>
11-
<PackageVersion>2.0.0.0</PackageVersion>
11+
<PackageVersion>3.0.0.0</PackageVersion>
1212
<Authors>mjsabby</Authors>
1313
<PackageLicenseUrl>https://github.com/Microsoft/RoslynClrHeapAllocationAnalyzer/blob/master/LICENSE</PackageLicenseUrl>
1414
<PackageProjectUrl>https://github.com/Microsoft/RoslynClrHeapAllocationAnalyzer</PackageProjectUrl>
@@ -17,10 +17,10 @@
1717
<Description>
1818
Roslyn based C# heap allocation diagnostic analyzer that can detect explicit and many implicit allocations like boxing, display classes a.k.a closures, implicit delegate creations, etc
1919

20-
The code-assist version that integrates with the Visual Studio 2017 IDE is here, https://marketplace.visualstudio.com/items?itemName=MukulSabharwal.ClrHeapAllocationAnalyzer
20+
The code-assist version that integrates with the Visual Studio 2019 IDE is here, https://marketplace.visualstudio.com/items?itemName=MukulSabharwal.ClrHeapAllocationAnalyzer
2121

2222
NOTE: This is the build analyzer.
23-
NOTE: You require ' ' ' ' Visual Studio 2017 ' ' ' ' for this to work.
23+
NOTE: You require ' ' ' ' Visual Studio 2019 ' ' ' ' for this to work.
2424
</Description>
2525
<PackageReleaseNotes>Summary of changes made in this release of the package.</PackageReleaseNotes>
2626
<Copyright>Copyright</Copyright>
@@ -29,9 +29,7 @@
2929
</PropertyGroup>
3030

3131
<ItemGroup>
32-
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="2.10.0" />
33-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.10.0" />
34-
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="2.10.0" />
32+
<PackageReference Include="Microsoft.CodeAnalysis" Version="3.4.0" />
3533
</ItemGroup>
3634

3735
<ItemGroup>

0 commit comments

Comments
 (0)