Enable nullable reference types in Oakton project #104
Annotations
12 warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-dotnet@v3, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build Script:
src/Oakton/Help/UsageGraph.cs#L24
Possible null reference argument for parameter 'type' in 'TypeInfo IntrospectionExtensions.GetTypeInfo(Type type)'.
|
Build Script:
src/Oakton/Commands/RunCommand.cs#L35
Dereference of a possibly null reference.
|
Build Script:
src/Oakton/Argument.cs#L24
Possible null reference argument for parameter 'type' in 'Func<string, object?>? Conversions.FindConverter(Type type)'.
|
Build Script:
src/Oakton/Argument.cs#L60
Possible null reference argument for parameter 'type' in 'TypeInfo IntrospectionExtensions.GetTypeInfo(Type type)'.
|
Build Script:
src/Oakton/Parsing/Flag.cs#L60
Possible null reference argument for parameter 'type' in 'TypeInfo IntrospectionExtensions.GetTypeInfo(Type type)'.
|
Build Script:
src/Oakton/Parsing/Flag.cs#L62
Possible null reference argument for parameter 'enumType' in 'string[] Enum.GetNames(Type enumType)'.
|
Build Script:
src/Oakton/Parsing/EnumerableFlag.cs#L16
Possible null reference argument for parameter 'serviceType' in 'Type? EnumerableTypeExtensions.DetermineElementType(Type serviceType)'.
|
Build Script:
src/Oakton/Parsing/EnumerableFlag.cs#L23
Possible null reference argument for parameter 'serviceType' in 'Type? EnumerableTypeExtensions.DetermineElementType(Type serviceType)'.
|
Build Script:
src/Oakton/Parsing/EnumerableFlag.cs#L24
Possible null reference argument for parameter 'parameterTypes' in 'IList TypeExtensions.CloseAndBuildAs<IList>(Type openType, params Type[] parameterTypes)'.
|
Build Script:
src/Oakton/CommandFactory.cs#L134
Dereference of a possibly null reference.
|
Loading