Remove the dependency on Python.NET #121
Annotations
2 errors and 10 warnings
|
|
src/CSnakes/Parser/PythonParser.Function.cs#L15
Possible null reference return.
|
src/CSnakes/Parser/PythonParser.Function.cs#L16
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?>(TokenListParser<PythonToken, PythonTypeSpec?> parser, PythonTypeSpec? defaultValue = null)'.
|
src/CSnakes/Parser/PythonParser.Parameters.cs#L11
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?>(TokenListParser<PythonToken, PythonTypeSpec?> parser, PythonTypeSpec? defaultValue = null)'.
|
src/CSnakes/Parser/PythonParser.TypeDef.cs#L11
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?[]> Combinators.ManyDelimitedBy<PythonToken, PythonTypeSpec?, Token<PythonToken>>(TokenListParser<PythonToken, PythonTypeSpec?> parser, TokenListParser<PythonToken, Token<PythonToken>> delimiter, TokenListParser<PythonToken, Token<PythonToken>>? end = null)'.
|
src/CSnakes/Parser/PythonParser.TypeDef.cs#L10
Argument of type 'TokenListParser<PythonToken, PythonTypeSpec?[]>' cannot be used for parameter 'parser' of type 'TokenListParser<PythonToken, PythonTypeSpec?[]?>' in 'TokenListParser<PythonToken, PythonTypeSpec?[]?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?[]?>(TokenListParser<PythonToken, PythonTypeSpec?[]?> parser, PythonTypeSpec?[]? defaultValue = null)' due to differences in the nullability of reference types.
|
src/CSnakes.Runtime/Locators/SourceLocator.cs#L5
Parameter 'string version' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
|
src/CSnakes.Runtime/Python/PyObject.cs#L177
Converting null literal or possible null value to non-nullable type.
|
src/CSnakes.Runtime/Python/PyObject.cs#L177
Possible null reference return.
|
src/CSnakes.Runtime/PyObjectTypeConverter.cs#L208
Possible null reference argument for parameter 'o' in 'PyObject PyObjectTypeConverter.ToPython(object o, ITypeDescriptorContext? context, CultureInfo? culture)'.
|
src/CSnakes.Runtime/PyObjectTypeConverter.cs#L246
Possible null reference argument for parameter 'o' in 'PyObject PyObjectTypeConverter.ToPython(object o, ITypeDescriptorContext? context, CultureInfo? culture)'.
|
This job failed
Loading