Add guard clauses for SmartEnum #207
Annotations
10 errors and 13 warnings
src/SmartEnum.GuardClauses/GuardAgainstSmartEnumOutOfRange.cs#L6
Missing XML comment for publicly visible type or member 'GuardAgainstSmartEnumOutOfRange'
|
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)
|
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)
|
src/SmartEnum.GuardClauses/GuardAgainstSmartEnumOutOfRange.cs#L6
Missing XML comment for publicly visible type or member 'GuardAgainstSmartEnumOutOfRange'
|
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)
|
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)
|
src/SmartEnum.GuardClauses/GuardAgainstSmartEnumOutOfRange.cs#L6
Missing XML comment for publicly visible type or member 'GuardAgainstSmartEnumOutOfRange'
|
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)
|
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)
|
src/SmartEnum.GuardClauses/GuardAgainstSmartEnumOutOfRange.cs#L6
Missing XML comment for publicly visible type or member 'GuardAgainstSmartEnumOutOfRange'
|
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/
|
|
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)
|
test/SmartEnum.UnitTests/SmartEnumNameAttributeTests.cs#L172
This class can't be instantiated; make its constructor 'public'. (https://rules.sonarsource.com/csharp/RSPEC-3453)
|
test/SmartEnum.UnitTests/TestEnum.cs#L21
Change the visibility of this constructor to 'private protected'. (https://rules.sonarsource.com/csharp/RSPEC-3442)
|
test/SmartEnum.UnitTests/SmartEnumComparerAttribute.cs#L41
Remove the unused local variable 'actual'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
|
test/SmartEnum.UnitTests/SmartEnumComparerAttribute.cs#L61
Remove the unused local variable 'actual'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
|
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)
|
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)
|
test/SmartFlagEnum.UnitTests/SmartFlagGetFlagEnumTests.cs#L15
Add at least one assertion to this test case. (https://rules.sonarsource.com/csharp/RSPEC-2699)
|
test/SmartFlagEnum.UnitTests/SmartFlagGetFlagEnumTests.cs#L71
Add at least one assertion to this test case. (https://rules.sonarsource.com/csharp/RSPEC-2699)
|
test/SmartFlagEnum.UnitTests/AllowNegativeInputAttributeTests.cs#L40
Add at least one assertion to this test case. (https://rules.sonarsource.com/csharp/RSPEC-2699)
|
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/
|
This job failed
Loading