Skip to content

Commit 72e945d

Browse files
committed
chore: suppress warnings
1 parent d7fbe1e commit 72e945d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/M31.FluentApi.Generator/SourceAnalyzers/FluentApiAnalyzer.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010

1111
namespace M31.FluentApi.Generator.SourceAnalyzers;
1212

13-
// todo: https://github.com/dotnet/roslyn-analyzers/issues/7438
13+
#pragma warning disable RS1038
1414
[DiagnosticAnalyzer(LanguageNames.CSharp)]
15+
#pragma warning restore RS1038
1516
internal class FluentApiAnalyzer : DiagnosticAnalyzer
1617
{
1718
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } =

src/M31.FluentApi.Generator/SourceGenerators/SourceGenerator.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
namespace M31.FluentApi.Generator.SourceGenerators;
88

9+
#pragma warning disable RS1038
910
[Generator(LanguageNames.CSharp)]
11+
#pragma warning restore RS1038
1012
internal class SourceGenerator : IIncrementalGenerator
1113
{
1214
internal static readonly SourceGeneratorConfig GeneratorConfig = new SourceGeneratorConfig();

0 commit comments

Comments
 (0)