6 references to Match
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticsHandler.cs (1)
81
? [.. progressValues.SelectMany(report => report.
Match
(r => r.Items, partial => partial.Items))]
Protocol\SumType.cs (4)
310
=> sum.
Match
(
622
=> sum.
Match
(
891
=> sumType.
Match
(common => common, derived => derived);
895
=> sumType.
Match
(common => common, derived => Array.ConvertAll(derived, d => (TCommon)d));
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Diagnostics\AbstractPullDiagnosticTestsBase.cs (1)
143
return [.. progressValues.SelectMany(value => value.
Match
(v => v.Items, v => v.Items)).Select(diagnostics => ConvertWorkspaceDiagnosticResult(diagnostics))];