Skip to content

Commit a7009c2

Browse files
committed
V 1.1
1 parent 52bc001 commit a7009c2

File tree

5 files changed

+11
-168
lines changed

5 files changed

+11
-168
lines changed

GLGPL.txt

-165
This file was deleted.

RelaseNotes.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#### 1.1
2+
- Fix #3: False negative when null forgiving operator is preceded by whitespace.
3+
- Fix #2: Duplicate entries when project targets multiple frameworks
4+
- Fix threading issues
5+
6+
#### 1.0
7+
- Initial release

src/Nullable.Extended.Extension/Nullable.Extended.Extension/Analyzer/NullForgivingDetectionPostProcessor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public async Task<IReadOnlyCollection<AnalysisResult>> PostProcessAsync(Project
6969
continue;
7070

7171
var affectedResult = results.FirstOrDefault(result =>
72-
diagnostic.Location == result.Node.Operand.GetLocation());
72+
diagnostic.Location.SourceSpan == result.Node.Operand.GetLocation().SourceSpan);
7373

7474
if (affectedResult != null)
7575
{

src/Nullable.Extended.sln

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
4747
directory.build.props = directory.build.props
4848
..\LICENSE.txt = ..\LICENSE.txt
4949
..\README.md = ..\README.md
50+
..\RelaseNotes.md = ..\RelaseNotes.md
5051
EndProjectSection
5152
EndProject
5253
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nullable.Extended.Extension", "Nullable.Extended.Extension\Nullable.Extended.Extension\Nullable.Extended.Extension.csproj", "{46A78692-0A62-4894-BD3F-84D8493C4093}"
@@ -148,7 +149,7 @@ Global
148149
{AAB9260C-5214-406E-BD92-7D744CE9C9E8} = {BC37F1F9-7176-4104-A858-6A6BF9DE6A33}
149150
EndGlobalSection
150151
GlobalSection(ExtensibilityGlobals) = postSolution
151-
SolutionGuid = {7D3F265F-3672-482A-9F3F-6CE8488584C6}
152152
RESX_ShowErrorsInErrorList = False
153+
SolutionGuid = {7D3F265F-3672-482A-9F3F-6CE8488584C6}
153154
EndGlobalSection
154155
EndGlobal

src/directory.build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>1.0.0</Version>
3+
<Version>1.1.0</Version>
44
</PropertyGroup>
55
</Project>

0 commit comments

Comments
 (0)