Fix unit tests #117
Annotations
10 warnings
build:
ide/src/Fiona.IDE.ProjectManager/ProjectManager.cs#L42
Possible null reference argument for parameter 'source' in 'ProjectFile? Enumerable.FirstOrDefault<ProjectFile>(IEnumerable<ProjectFile> source, Func<ProjectFile, bool> predicate)'.
|
build:
ide/src/Fiona.IDE.ProjectManager/Models/Endpoint.cs#L6
Non-nullable field '_methods' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build:
ide/src/Fiona.IDE.ProjectManager/Models/Endpoint.cs#L7
Non-nullable field '_returnType' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build:
ide/src/Fiona.IDE.ProjectManager/Models/Endpoint.cs#L5
The field 'Endpoint._route' is never used
|
build:
ide/src/Fiona.IDE.ProjectManager/Models/Endpoint.cs#L6
The field 'Endpoint._methods' is never used
|
build:
ide/src/Fiona.IDE.ProjectManager/Models/Endpoint.cs#L7
The field 'Endpoint._returnType' is never used
|
build:
ide/src/Fiona.IDE.Compiler/Parser/Validator.cs#L88
Possible null reference argument for parameter 'endpointName' in 'int Validator.ValidateEndpoint(IReadOnlyCollection<IToken> tokens, int startIndex, string endpointName)'.
|
build:
server/src/Fiona.Hosting/Routing/CallEndpointMiddleware.cs#L57
Possible null reference argument for parameter 's' in 'byte[] Encoding.GetBytes(string s)'.
|
build:
ide/src/Fiona.IDE/Components/Pages/Project/Menu/CreateFileModal.razor#L74
The variable 'ex' is declared but never used
|
build:
ide/src/Fiona.IDE/Platforms/MacCatalyst/FolderPicker.cs#L43
This call site is reachable on: 'MacCatalyst' 14.0 and later. 'UIDocumentPickerMode.Open' is obsoleted on: 'maccatalyst' 14.0 and later (Use the designated constructors instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
|