Skip to content

Commit

Permalink
Merge pull request #88 from Concurrency-Lab/ph-b008-remove-dictionary…
Browse files Browse the repository at this point in the history
…-and-hashset

PH_B008: Remove obsolete methods
  • Loading branch information
camrein authored Nov 17, 2021
2 parents 3aac6d9 + 54fbd0f commit 62e0499
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/ParallelHelper.Plugin/ReleaseNotes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Improved Analyzer: PH_B009 - Now ignores readonly fields by default
- Improved Analyzer: PH_S032 - Now supports exception type exclusions (ArgumentException and NotImplementedException by default)
- Improved Analyzer: PH_P007 - Now excludes private members from base types
- Improved Analyzer: PH_B008 - No longer reports ToImmutableDictionary and ToImmutableHashSet


------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ public class LinqToCollectionOnConcurrentDictionaryAnalyzer : DiagnosticAnalyzer
private static readonly ClassMemberDescriptor[] LinqDescriptors = {
new ClassMemberDescriptor("System.Linq.Enumerable", "ToArray", "ToList"),
new ClassMemberDescriptor("System.Collections.Immutable.ImmutableArray", "ToImmutableArray"),
new ClassMemberDescriptor("System.Collections.Immutable.ImmutableDictionary", "ToImmutableDictionary"),
new ClassMemberDescriptor("System.Collections.Immutable.ImmutableHashSet", "ToImmutableHashSet"),
new ClassMemberDescriptor("System.Collections.Immutable.ImmutableList", "ToImmutableList"),
};

Expand Down
3 changes: 2 additions & 1 deletion src/ParallelHelper/ParallelHelper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
- Improved Analyzer: PH_B004 - Now only respects the while-loop's condition
- Improved Analyzer: PH_B009 - Now ignores readonly fields by default
- Improved Analyzer: PH_S032 - Now supports exception type exclusions (ArgumentException and NotImplementedException by default)
- Improved Analyzer: PH_P007 - Now excludes private members from base types</PackageReleaseNotes>
- Improved Analyzer: PH_P007 - Now excludes private members from base types
- Improved Analyzer: PH_B008 - No longer reports ToImmutableDictionary and ToImmutableHashSet</PackageReleaseNotes>
<Copyright>Copyright (C) 2019 - 2021 Christoph Amrein, Concurrency Lab, Eastern Switzerland University of Applied Sciences, Switzerland</Copyright>
<PackageTags>C#, Parallel, Asynchronous, Concurrency, Bugs, Best Practices, TPL, Task, QC, Static Analysis, async, await</PackageTags>
<NoPackageAnalysis>true</NoPackageAnalysis>
Expand Down

0 comments on commit 62e0499

Please sign in to comment.