5 references to AssertNamesEqual
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (5)
CodeGeneration\SyntaxGeneratorTests.cs (5)
2617=> AssertNamesEqual(expectedNames, Generator.GetMembers(declaration)); 2620=> AssertNamesEqual(new[] { expectedName }, Generator.GetMembers(declaration)); 2626AssertNamesEqual(new[] { "x.y", "z" }, Generator.GetNamespaceImports(Generator.AddNamespaceImports(Generator.CompilationUnit(), Generator.NamespaceImportDeclaration("x.y"), Generator.IdentifierName("z")))); 2628AssertNamesEqual(new[] { "x", "y.z" }, Generator.GetNamespaceImports(Generator.AddNamespaceImports(Generator.CompilationUnit(Generator.IdentifierName("x")), Generator.DottedName("y.z")))); 2648AssertNamesEqual(remainingNames, Generator.GetNamespaceImports(newDecl));