6 references to new
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Handler\CodeActions\CodeActionResolveHelper.cs (1)
289var edits = textChanges.Select(tc => new LSP.SumType<LSP.TextEdit, LSP.AnnotatedTextEdit>(ProtocolConversions.TextChangeToTextEdit(tc, oldText))).ToArray();
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticsHandler.cs (2)
40=> new(new WorkspaceDiagnosticReport 56=> new(new WorkspaceDiagnosticReport
Handler\Symbols\WorkspaceSymbolsHandler.cs (1)
58(SymbolInformation[] t) => new SumType<SymbolInformation[], WorkspaceSymbol[]>(t));
Protocol\SumType.cs (2)
65public static implicit operator SumType<T1, T2>(T1 val) => new SumType<T1, T2>(val); 71public static implicit operator SumType<T1, T2>?(T1? val) => val is null ? null : new SumType<T1, T2>(val);