Skip to content

use ConcurrentDictionary to replace lock in expression cache #9

use ConcurrentDictionary to replace lock in expression cache

use ConcurrentDictionary to replace lock in expression cache #9

Re-run triggered July 7, 2024 13:00
Status Success
Total duration 32s
Artifacts

dotnet-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
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@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: src/NReco.LambdaParser.Tests/ValueComparerTests.cs#L50
The literal or constant value false should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'SuppressErrorsBehaviour' on type 'ValueComparerTests'. Swap the parameter values.
build: src/NReco.LambdaParser.Tests/ValueComparerTests.cs#L31
The literal or constant value false should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'DefaultBehaviour' on type 'ValueComparerTests'. Swap the parameter values.
build: src/NReco.LambdaParser.Tests/ValueComparerTests.cs#L58
The literal or constant value false should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'SqlNullComparisonBehaviour' on type 'ValueComparerTests'. Swap the parameter values.
build: src/NReco.LambdaParser.Tests/ValueComparerTests.cs#L59
The literal or constant value false should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'SqlNullComparisonBehaviour' on type 'ValueComparerTests'. Swap the parameter values.
build: src/NReco.LambdaParser.Tests/ValueComparerTests.cs#L60
The literal or constant value false should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'SqlNullComparisonBehaviour' on type 'ValueComparerTests'. Swap the parameter values.
build: src/NReco.LambdaParser.Tests/LambdaParserTests.cs#L193
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead.
build: src/NReco.LambdaParser.Tests/ValueComparerTests.cs#L50
The literal or constant value false should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'SuppressErrorsBehaviour' on type 'ValueComparerTests'. Swap the parameter values.
build: src/NReco.LambdaParser.Tests/ValueComparerTests.cs#L31
The literal or constant value false should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'DefaultBehaviour' on type 'ValueComparerTests'. Swap the parameter values.
build: src/NReco.LambdaParser.Tests/ValueComparerTests.cs#L58
The literal or constant value false should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'SqlNullComparisonBehaviour' on type 'ValueComparerTests'. Swap the parameter values.
build: src/NReco.LambdaParser.Tests/ValueComparerTests.cs#L59
The literal or constant value false should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'SqlNullComparisonBehaviour' on type 'ValueComparerTests'. Swap the parameter values.
build: src/NReco.LambdaParser/Linq/LambdaParameterWrapper.cs#L28
'LambdaParameterWrapper' defines operator == or operator != but does not override Object.Equals(object o)
build: src/NReco.LambdaParser/Linq/LambdaParameterWrapper.cs#L28
'LambdaParameterWrapper' defines operator == or operator != but does not override Object.GetHashCode()
build: src/NReco.LambdaParser/Linq/ValueComparer.cs#L78
The variable 'ex' is declared but never used
build: src/NReco.LambdaParser/InvokeMethod.cs#L30
Missing XML comment for publicly visible type or member 'InvokeMethod.Instance'
build: src/NReco.LambdaParser/InvokeMethod.cs#L32
Missing XML comment for publicly visible type or member 'InvokeMethod.FindMethod(object, string, Type[])'
build: src/NReco.LambdaParser/InvokeMethod.cs#L40
Missing XML comment for publicly visible type or member 'InvokeMethod.GetAllMethods(object)'
build: src/NReco.LambdaParser/InvokeMethod.cs#L47
Missing XML comment for publicly visible type or member 'InvokeMethod.Invoke(object, string, object[])'
build: src/NReco.LambdaParser/InvokeMethod.cs#L92
Missing XML comment for publicly visible type or member 'InvokeMethod.CheckParamsCompatibility(ParameterInfo[], Type[], object[])'
build: src/NReco.LambdaParser/InvokeMethod.cs#L115
Missing XML comment for publicly visible type or member 'InvokeMethod.PrepareActualValues(string, ParameterInfo[], object[])'
build: src/NReco.LambdaParser/Linq/ILambdaValue.cs#L27
Missing XML comment for publicly visible type or member 'ILambdaValue.Value'