public void GenericTypeArguments(Type type, params string[] expected) { var symbol = Compilation.GetTypeByMetadataName(type); var actual = SyntaxTools.GenericTypeArguments(symbol); actual.Select(SyntaxTools.GetFullName).ShouldBe(expected); }
public void GenericTypeArguments(Type type, params string[] expected) { var symbol = Compilation.GetTypeByMetadataName(type); var actual = SyntaxTools.GenericTypeArguments(symbol); actual.Select(SyntaxTools.GetFullName).ShouldBe(expected); }