Add guard clauses for SmartEnum #207
Annotations
10 errors and 13 warnings
build:
src/SmartEnum.GuardClauses/GuardAgainstSmartEnumOutOfRange.cs#L6
Missing XML comment for publicly visible type or member 'GuardAgainstSmartEnumOutOfRange'
|
build:
src/SmartEnum.GuardClauses/GuardAgainstSmartEnumOutOfRange.cs#L21
Parameter 'guardClause' has no matching param tag in the XML comment for 'GuardAgainstSmartEnumOutOfRange.SmartEnumOutOfRange<TEnum>(IGuardClause, int, string, Func<Exception>)' (but other parameters do)
|
build:
src/SmartEnum.GuardClauses/GuardAgainstSmartEnumOutOfRange.cs#L45
Parameter 'guardClause' has no matching param tag in the XML comment for 'GuardAgainstSmartEnumOutOfRange.SmartEnumOutOfRange<TEnum, TValue>(IGuardClause, TValue, string, Func<Exception>)' (but other parameters do)
|
build:
src/SmartEnum.GuardClauses/GuardAgainstSmartEnumOutOfRange.cs#L6
Missing XML comment for publicly visible type or member 'GuardAgainstSmartEnumOutOfRange'
|
build:
src/SmartEnum.GuardClauses/GuardAgainstSmartEnumOutOfRange.cs#L21
Parameter 'guardClause' has no matching param tag in the XML comment for 'GuardAgainstSmartEnumOutOfRange.SmartEnumOutOfRange<TEnum>(IGuardClause, int, string, Func<Exception>)' (but other parameters do)
|
build:
src/SmartEnum.GuardClauses/GuardAgainstSmartEnumOutOfRange.cs#L45
Parameter 'guardClause' has no matching param tag in the XML comment for 'GuardAgainstSmartEnumOutOfRange.SmartEnumOutOfRange<TEnum, TValue>(IGuardClause, TValue, string, Func<Exception>)' (but other parameters do)
|
build:
src/SmartEnum.GuardClauses/GuardAgainstSmartEnumOutOfRange.cs#L6
Missing XML comment for publicly visible type or member 'GuardAgainstSmartEnumOutOfRange'
|
build:
src/SmartEnum.GuardClauses/GuardAgainstSmartEnumOutOfRange.cs#L21
Parameter 'guardClause' has no matching param tag in the XML comment for 'GuardAgainstSmartEnumOutOfRange.SmartEnumOutOfRange<TEnum>(IGuardClause, int, string, Func<Exception>)' (but other parameters do)
|
build:
src/SmartEnum.GuardClauses/GuardAgainstSmartEnumOutOfRange.cs#L45
Parameter 'guardClause' has no matching param tag in the XML comment for 'GuardAgainstSmartEnumOutOfRange.SmartEnumOutOfRange<TEnum, TValue>(IGuardClause, TValue, string, Func<Exception>)' (but other parameters do)
|
build:
src/SmartEnum.GuardClauses/GuardAgainstSmartEnumOutOfRange.cs#L6
Missing XML comment for publicly visible type or member 'GuardAgainstSmartEnumOutOfRange'
|
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build
No files were found with the provided path: code-coverage-results.md. No artifacts will be uploaded.
|
build:
test/SmartEnum.UnitTests/SmartEnumEquals.cs#L44
Update this method so that its implementation is not identical to 'EqualsObjectReturnsExpected'. (https://rules.sonarsource.com/csharp/RSPEC-4144)
|
build:
test/SmartEnum.UnitTests/SmartEnumNameAttributeTests.cs#L172
This class can't be instantiated; make its constructor 'public'. (https://rules.sonarsource.com/csharp/RSPEC-3453)
|
build:
test/SmartEnum.UnitTests/TestEnum.cs#L21
Change the visibility of this constructor to 'private protected'. (https://rules.sonarsource.com/csharp/RSPEC-3442)
|
build:
test/SmartEnum.UnitTests/SmartEnumComparerAttribute.cs#L41
Remove the unused local variable 'actual'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
|
build:
test/SmartEnum.UnitTests/SmartEnumComparerAttribute.cs#L61
Remove the unused local variable 'actual'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
|
build:
test/SmartFlagEnum.UnitTests/SmartFlagEnumEquals.cs#L49
Update this method so that its implementation is not identical to 'EqualsObjectReturnsExpected'. (https://rules.sonarsource.com/csharp/RSPEC-4144)
|
build:
test/SmartFlagEnum.UnitTests/SmartFlagGetFlagEnumTests.cs#L112
Update this method so that its implementation is not identical to 'ReturnsAllEnumWhenNegativeOneValueInput'. (https://rules.sonarsource.com/csharp/RSPEC-4144)
|
build:
test/SmartFlagEnum.UnitTests/SmartFlagGetFlagEnumTests.cs#L15
Add at least one assertion to this test case. (https://rules.sonarsource.com/csharp/RSPEC-2699)
|
build:
test/SmartFlagEnum.UnitTests/SmartFlagGetFlagEnumTests.cs#L71
Add at least one assertion to this test case. (https://rules.sonarsource.com/csharp/RSPEC-2699)
|
build:
test/SmartFlagEnum.UnitTests/AllowNegativeInputAttributeTests.cs#L40
Add at least one assertion to this test case. (https://rules.sonarsource.com/csharp/RSPEC-2699)
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "pr-number".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
pr-number
Expired
|
4 Bytes |
|