Skip to content

Commit 9ad8a32

Browse files
committed
Workaround for Rider: CodeAnalysis 4.2.0 + SharedAttribute break the analyzer and the codefix
1 parent 7323ada commit 9ad8a32

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Copyright>(c) $([System.DateTime]::Now.Year), Pawel Gerr. All rights reserved.</Copyright>
5-
<VersionPrefix>4.3.2</VersionPrefix>
5+
<VersionPrefix>4.3.3</VersionPrefix>
66
<Authors>Pawel Gerr</Authors>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
88
<PackageProjectUrl>https://github.com/PawelGerr/Thinktecture.Runtime.Extensions</PackageProjectUrl>

src/Thinktecture.Runtime.Extensions.SourceGenerator/CodeAnalysis/CodeFixes/ThinktectureRuntimeExtensionsCodeFixProvider.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Collections.Immutable;
2-
using System.Composition;
32
using Microsoft.CodeAnalysis;
43
using Microsoft.CodeAnalysis.CodeActions;
54
using Microsoft.CodeAnalysis.CodeFixes;
@@ -8,7 +7,7 @@
87

98
namespace Thinktecture.CodeAnalysis.CodeFixes;
109

11-
[ExportCodeFixProvider(LanguageNames.CSharp, Name = nameof(ThinktectureRuntimeExtensionsCodeFixProvider)), Shared]
10+
[ExportCodeFixProvider(LanguageNames.CSharp, Name = nameof(ThinktectureRuntimeExtensionsCodeFixProvider))]
1211
public class ThinktectureRuntimeExtensionsCodeFixProvider : CodeFixProvider
1312
{
1413
private const string _MAKE_PARTIAL = "Make the type partial";

0 commit comments

Comments
 (0)