public async Task EditorConfigConfiguration_ExcludedSymbolNamesOption(string editorConfigText)
        {
            var expected = Array.Empty <DiagnosticResult>();

            if (editorConfigText.Length == 0)
            {
                expected = new DiagnosticResult[]
                {
                    GetCSharpResultAt(8, 9, 8, 39, "void ZipFileExtensions.ExtractToFile(ZipArchiveEntry source, string destinationFileName)", "void TestClass.TestMethod(ZipArchiveEntry zipArchiveEntry)", "string ZipArchiveEntry.FullName", "void TestClass.TestMethod(ZipArchiveEntry zipArchiveEntry)")
                };
            }

            await VerifyCSharpWithDependenciesAsync(@"
using System.IO.Compression;

class TestClass
{
    public void TestMethod(ZipArchiveEntry zipArchiveEntry)
    {
        zipArchiveEntry.ExtractToFile(zipArchiveEntry.FullName);
    }
}", DiagnosticAnalyzerTestBase.GetEditorConfigAdditionalFile(editorConfigText), expected);
        }
        private static new DiagnosticResult GetBasicResultAt(int line, int column, string attributeName, string typeName)
        {
            var message = string.Format(MicrosoftCompositionAnalyzersResources.DoNotMixAttributesFromDifferentVersionsOfMEFMessage, attributeName, typeName);

            return(DiagnosticAnalyzerTestBase.GetBasicResultAt(line, column, DoNotMixAttributesFromDifferentVersionsOfMEFAnalyzer.RuleId, message));
        }
        private static new DiagnosticResult GetBasicResultAt(int line, int column, string attributeName, string typeName)
        {
            var message = string.Format(RoslynDiagnosticsAnalyzersResources.DoNotMixAttributesFromDifferentVersionsOfMEFMessage, attributeName, typeName);

            return(DiagnosticAnalyzerTestBase.GetBasicResultAt(line, column, RoslynDiagnosticIds.MixedVersionsOfMefAttributesRuleId, message));
        }