Skip to content

Commit d18d990

Browse files
committed
Bump version.
1 parent a9fdf9a commit d18d990

3 files changed

Lines changed: 11 additions & 9 deletions

File tree

IDisposableAnalyzers/Helpers/Walkers/FinalizerContextWalker.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,8 @@ public override void VisitIfStatement(IfStatementSyntax node)
4040
this.returned = true;
4141
return;
4242
}
43-
else
44-
{
45-
this.Visit(statement);
46-
}
43+
44+
this.Visit(statement);
4745
}
4846

4947
break;

IDisposableAnalyzers/IDisposableAnalyzers.csproj

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@
2727
</PropertyGroup>
2828

2929
<PropertyGroup>
30-
<Version>3.0.1</Version>
30+
<Version>3.1.0</Version>
3131
<DevelopmentDependency>true</DevelopmentDependency>
3232
<Authors>Johan Larsson, milleniumbug</Authors>
33-
<Description>BUGFIX IDISP011: when disposing before foreach.
34-
BUGFIX IDISP003 should not warn when reassigning after dispose.
35-
BUGFIX IDISP002 &amp; IDISP006 should not warn when assigned with created and injected.
36-
BUGFIX IDISP023: when disposing members.</Description>
33+
<Description>BUGFIX IDISP005 when local function.
34+
BUGFIX IDISP024 don't call SuppressFinalize if sealed and no finalizer.
35+
BUGFIX IDISP025 seal disposable.</Description>
3736
<PackageTags>IDisposable Roslyn Diagnostic Analyzer DotnetAnalyzers</PackageTags>
3837
<PackageReleaseNotes>
3938
BUGFIX: Handle extension methods in binary references better.

RELEASE_NOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
#### 3.1.0
2+
* BUGFIX IDISP005 when local function.
3+
* BUGFIX IDISP024 don't call SuppressFinalize if sealed and no finalizer.
4+
* BUGFIX IDISP025 seal disposable.
5+
16
#### 2.1.2
27
* BUGFIX IDISP011: when disposing before foreach.
38
* BUGFIX IDISP003 should not warn when reassigning after dispose.

0 commit comments

Comments
 (0)