Пример #1
0
            private static ImmutableArray <TExtension> CreateExtensionsForAllLanguages(Extensions <TExtension> extensions)
            {
                // Get all analyzers in the assembly.
                var builder = ImmutableArray.CreateBuilder <TExtension>();

                extensions.AddExtensions(builder);
                return(builder.ToImmutable());
            }