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

Commit

Permalink
Upgrade packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Mukul Sabharwal committed Feb 3, 2020
1 parent 6376205 commit 83cf604
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -192,3 +192,5 @@ ModelManifest.xml
*.ide
*.ide-shm
*.dtbcache

.vs/
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,15 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis" Version="2.10.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="2.10.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="2.10.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.10.0" />

<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
<PackageReference Include="SmartAnalyzers.RoslynTestKit" Version="2.4.52" />
<PackageReference Include="Microsoft.CodeAnalysis" Version="3.4.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0" />
<PackageReference Include="MSTest.TestFramework" Version="2.0.0" />
<PackageReference Include="SmartAnalyzers.RoslynTestKit" Version="3.0.61" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\ClrHeapAllocationsAnalyzer\ClrHeapAllocationAnalyzer.csproj" />
</ItemGroup>

</Project>
</Project>
2 changes: 2 additions & 0 deletions ClrHeapAllocationsAnalyzer/AllocationAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ public abstract class AllocationAnalyzer : DiagnosticAnalyzer

public override void Initialize(AnalysisContext context)
{
context.EnableConcurrentExecution();
context.ConfigureGeneratedCodeAnalysis(GeneratedCodeAnalysisFlags.Analyze | GeneratedCodeAnalysisFlags.ReportDiagnostics);
context.RegisterSyntaxNodeAction(Analyze, Expressions);
}

Expand Down
10 changes: 4 additions & 6 deletions ClrHeapAllocationsAnalyzer/ClrHeapAllocationAnalyzer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<PropertyGroup>
<PackageId>ClrHeapAllocationAnalyzer</PackageId>
<PackageVersion>2.0.0.0</PackageVersion>
<PackageVersion>3.0.0.0</PackageVersion>
<Authors>mjsabby</Authors>
<PackageLicenseUrl>https://github.com/Microsoft/RoslynClrHeapAllocationAnalyzer/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/Microsoft/RoslynClrHeapAllocationAnalyzer</PackageProjectUrl>
Expand All @@ -17,10 +17,10 @@
<Description>
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

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

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

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="2.10.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.10.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="2.10.0" />
<PackageReference Include="Microsoft.CodeAnalysis" Version="3.4.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 83cf604

Please sign in to comment.