private void checkParameters()

in src/main/org/apache/ant/dotnet/compile/DotnetResource.java [142:155]


    private void checkParameters() {
        if (hasFilesets()) {
            if (getName() != null)
                throw new BuildException(
                        "Cannot use <resource name=\"...\"> attribute with filesets");
            if (getFile() != null)
                throw new BuildException(
                        "Cannot use <resource file=\"...\"> attribute with filesets");
        } else {
            if (getNamespace() != null)
                throw new BuildException(
                        "Cannot use <resource namespace=\"...\"> attribute without filesets");
        }
    }