Skip to content

Commit 7d11046

Browse files
authored
Merge pull request #34 from simdutf/enable_net_analyzer
fix: enable EnableNETAnalyzers
2 parents 6f34ead + eb00504 commit 7d11046

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

benchmark/benchmark.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
8+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
9+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
10+
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
911
</PropertyGroup>
1012

1113
<ItemGroup>

src/SimdUnicode.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
<Nullable>enable</Nullable>
77
<!-- This is required for SIMD, sse c# - How to run unsafe code in "visual studio code"? - Stack Overflow https://stackoverflow.com/questions/50636693/how-to-run-unsafe-code-in-visual-studio-code -->
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
9+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
10+
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
911
</PropertyGroup>
1012

1113
</Project>

test/tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7-
87
<IsPackable>false</IsPackable>
98
<IsTestProject>true</IsTestProject>
10-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
11-
9+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
10+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
11+
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
1212
</PropertyGroup>
1313

1414
<ItemGroup>

0 commit comments

Comments
 (0)