Enable nullable reference types in Oakton project #104
Annotations
12 warnings
build
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/
|
build
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:
src/Oakton/Help/UsageGraph.cs#L24
Possible null reference argument for parameter 'type' in 'TypeInfo IntrospectionExtensions.GetTypeInfo(Type type)'.
|
build:
src/Oakton/Commands/RunCommand.cs#L35
Dereference of a possibly null reference.
|
build:
src/Oakton/Argument.cs#L24
Possible null reference argument for parameter 'type' in 'Func<string, object?>? Conversions.FindConverter(Type type)'.
|
build:
src/Oakton/Argument.cs#L60
Possible null reference argument for parameter 'type' in 'TypeInfo IntrospectionExtensions.GetTypeInfo(Type type)'.
|
build:
src/Oakton/Parsing/Flag.cs#L60
Possible null reference argument for parameter 'type' in 'TypeInfo IntrospectionExtensions.GetTypeInfo(Type type)'.
|
build:
src/Oakton/Parsing/Flag.cs#L62
Possible null reference argument for parameter 'enumType' in 'string[] Enum.GetNames(Type enumType)'.
|
build:
src/Oakton/Parsing/EnumerableFlag.cs#L16
Possible null reference argument for parameter 'serviceType' in 'Type? EnumerableTypeExtensions.DetermineElementType(Type serviceType)'.
|
build:
src/Oakton/Parsing/EnumerableFlag.cs#L23
Possible null reference argument for parameter 'serviceType' in 'Type? EnumerableTypeExtensions.DetermineElementType(Type serviceType)'.
|
build:
src/Oakton/Parsing/EnumerableFlag.cs#L24
Possible null reference argument for parameter 'parameterTypes' in 'IList TypeExtensions.CloseAndBuildAs<IList>(Type openType, params Type[] parameterTypes)'.
|
build:
src/Oakton/CommandFactory.cs#L134
Dereference of a possibly null reference.
|