Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Merge pull request #139 from microsoft/feature/sonar-token #238

Merge pull request #139 from microsoft/feature/sonar-token

Merge pull request #139 from microsoft/feature/sonar-token #238

Triggered via push May 7, 2024 07:06
Status Success
Total duration 1m 52s
Artifacts

sonarcloud.yml

on: push
check if SONAR_TOKEN is set in github secrets
0s
check if SONAR_TOKEN is set in github secrets
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build: src/FormSerializationWriter.cs#L14
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
Build: src/FormSerializationWriter.cs#L113
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/FormSerializationWriter.cs#L165
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/FormSerializationWriter.cs#L166
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/FormSerializationWriter.cs#L178
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/FormSerializationWriter.cs#L165
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
Build: src/FormParseNode.cs#L73
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/FormParseNode.cs#L115
Use a format provider when parsing date and time. (https://rules.sonarsource.com/csharp/RSPEC-6580)
Build: src/FormParseNode.cs#L117
Use a format provider when parsing date and time. (https://rules.sonarsource.com/csharp/RSPEC-6580)
Build: src/FormParseNode.cs#L188
Use a format provider when parsing date and time. (https://rules.sonarsource.com/csharp/RSPEC-6580)