From 83cf6041f24fb4130e245b19212ef5e07075f1bd Mon Sep 17 00:00:00 2001 From: Mukul Sabharwal Date: Sun, 2 Feb 2020 20:40:01 -0800 Subject: [PATCH] Upgrade packages --- .gitignore | 2 ++ .../ClrHeapAllocationsAnalyzer.Test.csproj | 16 ++++++---------- ClrHeapAllocationsAnalyzer/AllocationAnalyzer.cs | 2 ++ .../ClrHeapAllocationAnalyzer.csproj | 10 ++++------ 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 134990b..e522b67 100644 --- a/.gitignore +++ b/.gitignore @@ -192,3 +192,5 @@ ModelManifest.xml *.ide *.ide-shm *.dtbcache + +.vs/ \ No newline at end of file diff --git a/ClrHeapAllocationsAnalyzer.Test/ClrHeapAllocationsAnalyzer.Test.csproj b/ClrHeapAllocationsAnalyzer.Test/ClrHeapAllocationsAnalyzer.Test.csproj index 68dad89..48b83ea 100644 --- a/ClrHeapAllocationsAnalyzer.Test/ClrHeapAllocationsAnalyzer.Test.csproj +++ b/ClrHeapAllocationsAnalyzer.Test/ClrHeapAllocationsAnalyzer.Test.csproj @@ -7,19 +7,15 @@ - - - - - - - - - + + + + + - + \ No newline at end of file diff --git a/ClrHeapAllocationsAnalyzer/AllocationAnalyzer.cs b/ClrHeapAllocationsAnalyzer/AllocationAnalyzer.cs index 56f38f2..6ba1461 100644 --- a/ClrHeapAllocationsAnalyzer/AllocationAnalyzer.cs +++ b/ClrHeapAllocationsAnalyzer/AllocationAnalyzer.cs @@ -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); } diff --git a/ClrHeapAllocationsAnalyzer/ClrHeapAllocationAnalyzer.csproj b/ClrHeapAllocationsAnalyzer/ClrHeapAllocationAnalyzer.csproj index cc6fcc2..532c594 100644 --- a/ClrHeapAllocationsAnalyzer/ClrHeapAllocationAnalyzer.csproj +++ b/ClrHeapAllocationsAnalyzer/ClrHeapAllocationAnalyzer.csproj @@ -8,7 +8,7 @@ ClrHeapAllocationAnalyzer - 2.0.0.0 + 3.0.0.0 mjsabby https://github.com/Microsoft/RoslynClrHeapAllocationAnalyzer/blob/master/LICENSE https://github.com/Microsoft/RoslynClrHeapAllocationAnalyzer @@ -17,10 +17,10 @@ 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. Summary of changes made in this release of the package. Copyright @@ -29,9 +29,7 @@ - - - +