chore: Fix nullable warnings, add XML docs, suppress vendored warnings #46
dotnet.yml
on: push
Publish
56s
Trimming Check
40s
Release
Annotations
1 error and 10 warnings
|
Publish
Process completed with exit code 1.
|
|
Publish:
src/libs/CSharpToJsonSchema.Generators/JsonGen/JsonSourceGenerator.Parser.cs#L111
Dereference of a possibly null reference.
|
|
Publish:
src/libs/CSharpToJsonSchema.Generators/JsonGen/Base/SyntaxValueProviderExtensions.cs#L113
Argument of type 'Span<AttributeData>' cannot be used for parameter 'scratchBuffer' of type 'Span<AttributeData?>' in 'ValueListBuilder<AttributeData>.ValueListBuilder(Span<AttributeData?> scratchBuffer)' due to differences in the nullability of reference types.
|
|
Publish:
src/libs/CSharpToJsonSchema.Generators/JsonGen/Base/SyntaxValueProviderExtensions.cs#L76
Argument of type 'Span<T>' cannot be used for parameter 'scratchBuffer' of type 'Span<T?>' in 'ValueListBuilder<T>.ValueListBuilder(Span<T?> scratchBuffer)' due to differences in the nullability of reference types.
|
|
Publish:
src/libs/CSharpToJsonSchema.Generators/JsonGen/JsonSourceGenerator.Roslyn4.0.cs#L99
Possible null reference argument for parameter 'knownSymbols' in 'Parser.Parser(KnownTypeSymbols knownSymbols)'.
|
|
Publish:
src/libs/CSharpToJsonSchema.Generators/JsonGen/Base/ValueEqualityImmutableDictionary.cs#L52
Possible null reference assignment.
|
|
Publish:
src/libs/CSharpToJsonSchema.Generators/JsonGen/Base/ValueEqualityImmutableDictionary.cs#L20
Dereference of a possibly null reference.
|
|
Publish:
src/libs/CSharpToJsonSchema.Generators/JsonGen/Base/ValueEqualityImmutableDictionaryHelperExtensions.cs#L12
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'ImmutableDictionary.ToImmutableDictionary<TSource, TKey, TValue>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TValue>)'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
|
|
Publish:
src/libs/CSharpToJsonSchema.Generators/JsonGen/Base/ValueEqualityImmutableDictionaryHelperExtensions.cs#L14
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'ImmutableDictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
|
|
Publish:
src/libs/CSharpToJsonSchema.Generators/JsonGen/Base/ValueEqualityImmutableDictionary.cs#L6
The type 'T' cannot be used as type parameter 'TKey' in the generic type or method 'ImmutableDictionary<TKey, TValue>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
|
|
Publish:
src/libs/CSharpToJsonSchema.Generators/JsonGen/Base/ValueEqualityImmutableDictionary.cs#L6
The type 'T' cannot be used as type parameter 'TKey' in the generic type or method 'ImmutableDictionary<TKey, TValue>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
|