Skip to content

Namespace being the same as the class name seems to be causing imports to not work as expected #3

Description

@eloisetaylor5693

After downloading the package I was forced to use the package like this:
var filter = new ProfanityFilter.ProfanityFilter();

Expected syntax didn't compile:

using NUnit.Framework;
using ProfanityFilter;

namespace ProfanityPoc
{
    public class ProfanityDetectorTests
    {
        [Test]
        public void Test1()
        {
            var filter = new ProfanityFilter();
            Assert.That();
        }
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions