Open allisonchou opened 3 years ago
I believe ICodeActionHandler and ICompletionHandler also have nullability issues
I noticed a lot of warnings about nullability when I enabled the .NET Analyzer warnings. We could mark CS8764, CS8644, CS8619, and I'm sure others as errors and get them fixed.
Adding IDefinitionHandler
to the list of interfaces needing nullability fixes
The LSP spec indicates LinkedEditingRange can return either return
LinkedEditingRanges
ornull
. However, it seems like the O# ILinkedEditingRangeHandler expects a non-nullable response type: https://github.com/OmniSharp/csharp-language-server-protocol/blob/de1591e91a176fb88442ecf7e2e30f7a2174e6c0/src/Protocol/Features/Document/LinkedEditingRangeFeature.cs#L23