V9.0.0/cpm #200
Annotations
10 warnings
Build:
src/Cuemon.Core/Extensions/DateTimeDecoratorExtensions.cs#L15
Use "DateTime.UnixEpoch" instead of creating DateTime instances that point to the unix epoch time (https://rules.sonarsource.com/csharp/RSPEC-6588)
|
Build:
src/Cuemon.Core/Calculator.cs#L300
Define a constant instead of using this literal 'Cannot apply assignment operator '{0}' (x << y) to operands of type '{1}'.' 6 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build:
src/Cuemon.Core/Calculator.cs#L308
Define a constant instead of using this literal 'Cannot apply assignment operator '{0}' (x >> y) to operands of type '{1}'.' 6 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build:
src/Cuemon.Core/Extensions/HierarchyDecoratorExtensions.cs#L18
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
|
Build:
src/Cuemon.Core/Validator.cs#L237
Define a constant instead of using this literal 'Value is not in a valid state.' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build:
src/Cuemon.Core/Generate.cs#L31
Make sure that using this pseudorandom number generator is safe here. (https://rules.sonarsource.com/csharp/RSPEC-2245)
|
Build:
src/Cuemon.Core/Extensions/Collections/Generic/DictionaryDecoratorExtensions.cs#L107
Use a comparison to 'default(TKey)' instead or add a constraint to 'TKey' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
Build:
src/Cuemon.Core/Extensions/Collections/Generic/DictionaryDecoratorExtensions.cs#L112
Use a comparison to 'default(TKey)' instead or add a constraint to 'TKey' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
Build:
src/Cuemon.Core/Validator.cs#L689
The collection-specific "TrueForAll" method should be used instead of the "All" extension (https://rules.sonarsource.com/csharp/RSPEC-6603)
|
Build:
src/Cuemon.Core/Validator.cs#L714
The collection-specific "TrueForAll" method should be used instead of the "All" extension (https://rules.sonarsource.com/csharp/RSPEC-6603)
|
Loading