Fix some warnings #1203
ci.yml
on: push
Windows: Build and Tests
2m 36s
Linux: Build and Tests
4m 26s
Annotations
70 warnings
|
Windows: Build and Tests:
src/Microsoft.EntityFrameworkCore.DynamicLinq.EFCore3/EFDynamicQueryableExtensions.cs#L1005
Dereference of a possibly null reference.
|
|
Windows: Build and Tests:
src/Microsoft.EntityFrameworkCore.DynamicLinq.EFCore3/EFDynamicQueryableExtensions.cs#L1005
Dereference of a possibly null reference.
|
|
Windows: Build and Tests:
src/Microsoft.EntityFrameworkCore.DynamicLinq.EFCore3/EFDynamicQueryableExtensions.cs#L1004
Converting null literal or possible null value to non-nullable type.
|
|
Windows: Build and Tests:
src/Microsoft.EntityFrameworkCore.DynamicLinq.EFCore3/EFDynamicQueryableExtensions.cs#L956
Nullability of reference types in value of type 'Task<dynamic?>' doesn't match target type 'Task<dynamic>'.
|
|
Windows: Build and Tests:
src/Microsoft.EntityFrameworkCore.DynamicLinq.EFCore3/EFDynamicQueryableExtensions.cs#L954
Converting null literal or possible null value to non-nullable type.
|
|
Windows: Build and Tests:
src/Microsoft.EntityFrameworkCore.DynamicLinq.EFCore3/EFDynamicQueryableExtensions.cs#L954
Dereference of a possibly null reference.
|
|
Windows: Build and Tests:
src/Microsoft.EntityFrameworkCore.DynamicLinq.EFCore3/EFDynamicQueryableExtensions.cs#L954
Dereference of a possibly null reference.
|
|
Windows: Build and Tests:
src/Microsoft.EntityFrameworkCore.DynamicLinq.EFCore3/EFDynamicQueryableExtensions.cs#L953
Converting null literal or possible null value to non-nullable type.
|
|
Windows: Build and Tests:
src/Microsoft.EntityFrameworkCore.DynamicLinq.EFCore3/EFDynamicQueryableWithFormattableStringExtensions.cs#L34
Nullability of reference types in value of type 'object?[]' doesn't match target type 'object[]'.
|
|
Windows: Build and Tests
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
|
|
Windows: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/WrappedValue.cs#L56
Possible null reference argument for parameter 'x' in 'bool EqualityComparer<TValue>.Equals(TValue x, TValue y)'.
|
|
Windows: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/WrappedValue.cs#L41
Possible null reference argument for parameter 'y' in 'bool EqualityComparer<TValue>.Equals(TValue x, TValue y)'.
|
|
Windows: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/WrappedValue.cs#L56
Possible null reference argument for parameter 'x' in 'bool EqualityComparer<TValue>.Equals(TValue x, TValue y)'.
|
|
Windows: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/WrappedValue.cs#L56
Possible null reference argument for parameter 'x' in 'bool EqualityComparer<TValue>.Equals(TValue x, TValue y)'.
|
|
Windows: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/WrappedValue.cs#L56
Possible null reference argument for parameter 'x' in 'bool EqualityComparer<TValue>.Equals(TValue x, TValue y)'.
|
|
Windows: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/WrappedValue.cs#L41
Possible null reference argument for parameter 'y' in 'bool EqualityComparer<TValue>.Equals(TValue x, TValue y)'.
|
|
Windows: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/WrappedValue.cs#L41
Possible null reference argument for parameter 'y' in 'bool EqualityComparer<TValue>.Equals(TValue x, TValue y)'.
|
|
Windows: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/WrappedValue.cs#L41
Possible null reference argument for parameter 'y' in 'bool EqualityComparer<TValue>.Equals(TValue x, TValue y)'.
|
|
Windows: Build and Tests
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
|
|
Windows: Build and Tests
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs#L1959
Possible null reference argument for parameter 'property' in 'MemberExpression Expression.Property(Expression? expression, PropertyInfo property)'.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs#L1958
Dereference of a possibly null reference.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs#L1958
Dereference of a possibly null reference.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Exceptions/ParseException.cs#L83
'Exception.GetObjectData(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Exceptions/ParseException.cs#L67
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicExpressionParser.cs#L134
Possible null reference argument for parameter 'parameters' in 'LambdaExpression Expression.Lambda(Type delegateType, Expression body, params ParameterExpression[]? parameters)'.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicExpressionParser.cs#L133
Possible null reference argument for parameter 'parameters' in 'LambdaExpression Expression.Lambda(Expression body, params ParameterExpression[]? parameters)'.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Util/QueryableMethodFinder.cs#L16
Dereference of a possibly null reference.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Exceptions/ParseException.cs#L81
Member 'ParseException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'ParseException.GetObjectData(SerializationInfo, StreamingContext)'.
|
|
Linux: Build and Tests
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicExpressionParser.cs#L133
Possible null reference argument for parameter 'parameters' in 'LambdaExpression Expression.Lambda(Expression body, params ParameterExpression[]? parameters)'.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Exceptions/ParseException.cs#L83
'Exception.GetObjectData(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Exceptions/ParseException.cs#L67
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs#L1959
Possible null reference argument for parameter 'property' in 'MemberExpression Expression.Property(Expression? expression, PropertyInfo property)'.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs#L1959
Possible null reference argument for parameter 'property' in 'MemberExpression Expression.Property(Expression? expression, PropertyInfo property)'.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs#L1958
Dereference of a possibly null reference.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs#L1958
Dereference of a possibly null reference.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Util/QueryableMethodFinder.cs#L16
Dereference of a possibly null reference.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Exceptions/ParseException.cs#L81
Member 'ParseException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'ParseException.GetObjectData(SerializationInfo, StreamingContext)'.
|
|
Linux: Build and Tests
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicClassFactory.cs#L320
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicClassFactory.cs#L308
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs#L1959
Possible null reference argument for parameter 'property' in 'MemberExpression Expression.Property(Expression? expression, PropertyInfo property)'.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs#L1959
Possible null reference argument for parameter 'property' in 'MemberExpression Expression.Property(Expression? expression, PropertyInfo property)'.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs#L1958
Dereference of a possibly null reference.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs#L1958
Dereference of a possibly null reference.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Util/QueryableMethodFinder.cs#L16
Dereference of a possibly null reference.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicExpressionParser.cs#L134
Possible null reference argument for parameter 'parameters' in 'LambdaExpression Expression.Lambda(Type delegateType, Expression body, params ParameterExpression[]? parameters)'.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicExpressionParser.cs#L133
Possible null reference argument for parameter 'parameters' in 'LambdaExpression Expression.Lambda(Expression body, params ParameterExpression[]? parameters)'.
|
|
Linux: Build and Tests
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs#L1959
Possible null reference argument for parameter 'property' in 'MemberExpression Expression.Property(Expression? expression, PropertyInfo property)'.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs#L1958
Dereference of a possibly null reference.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/ExpressionParser.cs#L1958
Dereference of a possibly null reference.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Exceptions/ParseException.cs#L83
'Exception.GetObjectData(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Exceptions/ParseException.cs#L67
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicExpressionParser.cs#L134
Possible null reference argument for parameter 'parameters' in 'LambdaExpression Expression.Lambda(Type delegateType, Expression body, params ParameterExpression[]? parameters)'.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicExpressionParser.cs#L133
Possible null reference argument for parameter 'parameters' in 'LambdaExpression Expression.Lambda(Expression body, params ParameterExpression[]? parameters)'.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Util/QueryableMethodFinder.cs#L16
Dereference of a possibly null reference.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Exceptions/ParseException.cs#L81
Member 'ParseException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'ParseException.GetObjectData(SerializationInfo, StreamingContext)'.
|
|
Linux: Build and Tests
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicQueryableWithFormattableStringExtensions.cs#L7
Remove this empty namespace. (https://rules.sonarsource.com/csharp/RSPEC-3261)
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicClassFactory.cs#L465
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicClassFactory.cs#L443
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicClassFactory.cs#L436
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicClassFactory.cs#L320
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/DynamicClassFactory.cs#L308
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/WrappedValue.cs#L56
Possible null reference argument for parameter 'x' in 'bool EqualityComparer<TValue>.Equals(TValue x, TValue y)'.
|
|
Linux: Build and Tests:
src/System.Linq.Dynamic.Core/Parser/WrappedValue.cs#L41
Possible null reference argument for parameter 'y' in 'bool EqualityComparer<TValue>.Equals(TValue x, TValue y)'.
|
|
Linux: Build and Tests
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
|
|
Linux: Build and Tests
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
|