Skip to content

Fix SubstringBetween length calculation (#29) #123

Fix SubstringBetween length calculation (#29)

Fix SubstringBetween length calculation (#29) #123

Triggered via push June 5, 2025 09:35
Status Success
Total duration 1m 34s
Artifacts 1

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
test-build-pack: src/DotnetDocument/Extensions/StringExtensions.cs#L29
Add braces to 'if' statement. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0011)
test-build-pack: src/DotnetDocument/Configuration/DocumentationOptions.cs#L527
Change 'List<MemberDocumentationOptionsBase>' in 'DocumentationOptions.ToList()' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
test-build-pack: src/DotnetDocument/Strategies/Abstractions/StrategyAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
test-build-pack: src/DotnetDocument/Configuration/TemplateKeys.cs#L26
Identifier 'Object' contains type name (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1720)
test-build-pack: src/DotnetDocument/Configuration/DocumentationOptions.cs#L454
Change 'List<string>' in 'DocumentationOptions.PrefixesToRemove' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
test-build-pack: src/DotnetDocument/Configuration/DocumentationOptions.cs#L471
Change 'List<string>' in 'DocumentationOptions.TestAttributes' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
test-build-pack: src/DotnetDocument/Configuration/DocumentationOptions.cs#L462
Change 'List<string>' in 'DocumentationOptions.SuffixesToRemove' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
test-build-pack: src/DotnetDocument/Configuration/DocumentationOptions.cs#L350
Member 'IncludeComments' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
test-build-pack: src/DotnetDocument/Configuration/DocumentationOptions.cs#L285
Member 'IncludeComments' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
test-build-pack: src/DotnetDocument/Configuration/DocumentationOptions.cs#L237
Member 'IncludeComments' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)

Artifacts

Produced during runtime
Name Size Digest
dotnet-document Expired
12.2 MB
sha256:abe7db460256a455c8cf5caca32f9fe424c0776aff79fd0810094c0db4c228d5