private ImmutableDictionary <string, ImmutableArray <string> > LoadFixableDiagnosticIdsByPrefix() { return(FixableDiagnosticIds .GroupBy(f => f, DiagnosticIdComparer.Prefix) .ToImmutableDictionary(f => DiagnosticIdPrefix.GetPrefix(f.Key), f => f.ToImmutableArray())); }
private ImmutableDictionary <string, ImmutableArray <DiagnosticDescriptor> > LoadSupportedDiagnosticsByPrefix() { return(SupportedDiagnostics .GroupBy(f => f, DiagnosticDescriptorComparer.IdPrefix) .ToImmutableDictionary(f => DiagnosticIdPrefix.GetPrefix(f.Key.Id), f => f.ToImmutableArray())); }