Skip to content

Fix Stream.ReadExactly CA2022 warning; optimize for stackalloc/arrayp… #1556

Fix Stream.ReadExactly CA2022 warning; optimize for stackalloc/arrayp…

Fix Stream.ReadExactly CA2022 warning; optimize for stackalloc/arrayp… #1556

Triggered via push April 16, 2026 14:58
Status Success
Total duration 22m 24s
Artifacts

sonar.yml

on: push
Build and analyze
22m 18s
Build and analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build and analyze: src/Lucene.Net/Analysis/TokenStreamToAutomaton.cs#L268
Remove this commented out code.
Build and analyze: src/Lucene.Net/Analysis/TokenStreamToAutomaton.cs#L219
Remove this commented out code.
Build and analyze: src/Lucene.Net/Analysis/Analyzer.cs#L491
Private classes which are not derived in the current assembly should be marked as 'sealed'.
Build and analyze: src/Lucene.Net/Analysis/Analyzer.cs#L473
Private classes which are not derived in the current assembly should be marked as 'sealed'.
Build and analyze: src/docs/LuceneDocsPlugins/EnvironmentVariableUtil.cs#L25
Add a 'protected' constructor or the 'static' keyword to the class declaration.