File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff line change 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 & 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.
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments