Bump metalama.tool from 2024.2.25 to 2024.2.30 #143
Annotations
30 warnings
Build and Test on macos-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryAttribute.cs#L80
The variable 'iox' is declared but never used
|
Build and Test on macos-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryAttribute.cs#L123
Possible null reference return.
|
Build and Test on macos-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryMemberAttribute.cs#L9
Non-nullable property 'TargetType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build and Test on macos-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryMemberFabric.cs#L134
Argument of type 'List<(INamedType, INamedType?)>' cannot be used for parameter 'targetTuples' of type 'List<(INamedType, INamedType)>' in 'FactoryMemberAspect.FactoryMemberAspect(List<(INamedType, INamedType)> targetTuples)' due to differences in the nullability of reference types.
|
Build and Test on macos-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryMemberFabric.cs#L144
Nullable value type may be null.
|
Build and Test on macos-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryMemberAttribute.cs#L9
Non-nullable property 'TargetType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build and Test on macos-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Memento/MementoAttribute.cs#L89
'INamedType.NestedTypes' is obsolete: 'Use the Types property.'
|
Build and Test on macos-latest with .NET Core 8.x:
Moyou.UnitTest/Memento/PartialClassWithoutNestedMementoClass.cs#L6
Class PartialClassWithoutNestedMementoClass does not have a nested class named Memento. One will be automatically generated. Please note that if you plan on using MementoCreateHook and MementoRestoreHook attributes, you need to either define the nested class yourself or use a fully qualified name (e.g. PartialClassWithoutNestedMementoClass.Memento) in the signature of your hook methods.
|
Build and Test on macos-latest with .NET Core 8.x:
Moyou.UnitTest/UnsavedChanges/A.cs#L8
Non-nullable property 'B' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build and Test on macos-latest with .NET Core 8.x:
Moyou.UnitTest/UnsavedChanges/A.cs#L9
Non-nullable property 'Bs' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build and Test on ubuntu-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryAttribute.cs#L80
The variable 'iox' is declared but never used
|
Build and Test on ubuntu-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryAttribute.cs#L123
Possible null reference return.
|
Build and Test on ubuntu-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryMemberAttribute.cs#L9
Non-nullable property 'TargetType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build and Test on ubuntu-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryMemberFabric.cs#L134
Argument of type 'List<(INamedType, INamedType?)>' cannot be used for parameter 'targetTuples' of type 'List<(INamedType, INamedType)>' in 'FactoryMemberAspect.FactoryMemberAspect(List<(INamedType, INamedType)> targetTuples)' due to differences in the nullability of reference types.
|
Build and Test on ubuntu-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryMemberFabric.cs#L144
Nullable value type may be null.
|
Build and Test on ubuntu-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryMemberAttribute.cs#L9
Non-nullable property 'TargetType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build and Test on ubuntu-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Memento/MementoAttribute.cs#L89
'INamedType.NestedTypes' is obsolete: 'Use the Types property.'
|
Build and Test on ubuntu-latest with .NET Core 8.x:
Moyou.UnitTest/Memento/PartialClassWithoutNestedMementoClass.cs#L6
Class PartialClassWithoutNestedMementoClass does not have a nested class named Memento. One will be automatically generated. Please note that if you plan on using MementoCreateHook and MementoRestoreHook attributes, you need to either define the nested class yourself or use a fully qualified name (e.g. PartialClassWithoutNestedMementoClass.Memento) in the signature of your hook methods.
|
Build and Test on ubuntu-latest with .NET Core 8.x:
Moyou.UnitTest/UnsavedChanges/B.cs#L8
Non-nullable property 'C' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build and Test on ubuntu-latest with .NET Core 8.x:
Moyou.UnitTest/UnsavedChanges/B.cs#L10
Non-nullable property 'Cs' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build and Test on windows-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryAttribute.cs#L80
The variable 'iox' is declared but never used
|
Build and Test on windows-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryAttribute.cs#L123
Possible null reference return.
|
Build and Test on windows-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryMemberAttribute.cs#L9
Non-nullable property 'TargetType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build and Test on windows-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryMemberFabric.cs#L134
Argument of type 'List<(INamedType, INamedType?)>' cannot be used for parameter 'targetTuples' of type 'List<(INamedType, INamedType)>' in 'FactoryMemberAspect.FactoryMemberAspect(List<(INamedType, INamedType)> targetTuples)' due to differences in the nullability of reference types.
|
Build and Test on windows-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryMemberFabric.cs#L144
Nullable value type may be null.
|
Build and Test on windows-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Factory/FactoryMemberAttribute.cs#L9
Non-nullable property 'TargetType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build and Test on windows-latest with .NET Core 8.x:
Moyou.Aspects/Moyou.Aspects.Memento/MementoAttribute.cs#L89
'INamedType.NestedTypes' is obsolete: 'Use the Types property.'
|
Build and Test on windows-latest with .NET Core 8.x:
Moyou.UnitTest/Memento/PartialClassWithoutNestedMementoClass.cs#L6
Class PartialClassWithoutNestedMementoClass does not have a nested class named Memento. One will be automatically generated. Please note that if you plan on using MementoCreateHook and MementoRestoreHook attributes, you need to either define the nested class yourself or use a fully qualified name (e.g. PartialClassWithoutNestedMementoClass.Memento) in the signature of your hook methods.
|
Build and Test on windows-latest with .NET Core 8.x:
Moyou.UnitTest/UnsavedChanges/ResetUnsavedChangesTest.cs#L62
Dereference of a possibly null reference.
|
Build and Test on windows-latest with .NET Core 8.x:
Moyou.UnitTest/UnsavedChanges/GetUnsavedChangesTest.cs#L54
Dereference of a possibly null reference.
|