Skip to content

* fix all violations of Roslyn analyzer rule `AV1130: Return type in … #48

* fix all violations of Roslyn analyzer rule `AV1130: Return type in …

* fix all violations of Roslyn analyzer rule `AV1130: Return type in … #48

Triggered via push March 27, 2024 15:16
Status Failure
Total duration 1m 33s
Artifacts

c#.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

21 errors
build (imagePipeline): c#/imagePipeline/src/Ocr/PaddleOcrRecognizerAndDetector.cs#L7
Type 'PaddleOcrRecognizerAndDetector' contains the word 'and', which suggests it has multiple purposes (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1000.md)
build (imagePipeline): c#/imagePipeline/src/Ocr/PaddleOcrRecognizerAndDetector.cs#L50
Type 'PaddleOcrRecognizerAndDetector' contains the word 'and', which suggests it has multiple purposes (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1000.md)
build (imagePipeline): c#/imagePipeline/src/Ocr/JointRecognizer.cs#L13
Field '_paddleOcrRecognizerAndDetector' contains the word 'and', which suggests doing multiple things (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1115.md)
build (imagePipeline): c#/imagePipeline/src/ImageBatchConsumingWorker.cs#L254
Local function 'ConsumeByFidAndScript' contains the word 'and', which suggests doing multiple things (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1115.md)
build (imagePipeline): c#/imagePipeline/src/Consumer/MetadataConsumer.cs#L379
Type 'DateTimeAndOffset' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (imagePipeline): c#/imagePipeline/src/Ocr/PaddleOcrRecognizerAndDetector.cs#L7
Type 'PaddleOcrRecognizerAndDetector' contains the word 'and', which suggests it has multiple purposes (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1000.md)
build (imagePipeline): c#/imagePipeline/src/Ocr/PaddleOcrRecognizerAndDetector.cs#L50
Type 'PaddleOcrRecognizerAndDetector' contains the word 'and', which suggests it has multiple purposes (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1000.md)
build (imagePipeline): c#/imagePipeline/src/Ocr/JointRecognizer.cs#L13
Field '_paddleOcrRecognizerAndDetector' contains the word 'and', which suggests doing multiple things (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1115.md)
build (imagePipeline): c#/imagePipeline/src/ImageBatchConsumingWorker.cs#L254
Local function 'ConsumeByFidAndScript' contains the word 'and', which suggests doing multiple things (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1115.md)
build (imagePipeline): c#/imagePipeline/src/Consumer/MetadataConsumer.cs#L379
Type 'DateTimeAndOffset' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (crawler): c#/crawler/src/Tieba/Crawl/UserParserAndSaver.cs#L5
Type 'UserParserAndSaver' contains the word 'and', which suggests it has multiple purposes (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1000.md)
build (crawler): c#/crawler/src/Tieba/Crawl/UserParserAndSaver.cs#L36
Type 'UserParserAndSaver' contains the word 'and', which suggests it has multiple purposes (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1000.md)
build (crawler): c#/crawler/src/Tieba/Crawl/ThreadLateCrawlerAndSaver.cs#L3
Type 'ThreadLateCrawlerAndSaver' contains the word 'and', which suggests it has multiple purposes (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1000.md)
build (crawler): c#/crawler/src/Db/Revision/RevisionWithSplitting.cs#L35
Method 'SplittingHasKeyAndName' contains the word 'and', which suggests doing multiple things (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1115.md)
build (crawler): c#/crawler/src/Tieba/Crawl/Saver/BaseSaver.cs#L24
Method 'OnPostSaveEvent' raises event 'PostSaveEvent', so it should be protected and virtual (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1225.md)
build (crawler): c#/crawler/src/Tieba/Crawl/UserParserAndSaver.cs#L5
Type 'UserParserAndSaver' contains the word 'and', which suggests it has multiple purposes (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1000.md)
build (crawler): c#/crawler/src/Tieba/Crawl/UserParserAndSaver.cs#L36
Type 'UserParserAndSaver' contains the word 'and', which suggests it has multiple purposes (https://github.com/dennisdoomen/CSharpGuidelines/blob/5.6.0/_rules/1000.md)
ReSharper
The process '/home/runner/.dotnet/tools/jb' failed with exit code 1