Skip to content

Only consider public constructors in FactoryAttribute.cs #144

Only consider public constructors in FactoryAttribute.cs

Only consider public constructors in FactoryAttribute.cs #144

Triggered via push November 24, 2024 03:43
Status Success
Total duration 4m 20s
Artifacts
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
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/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/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.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.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/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.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/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 ubuntu-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 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/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/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.