NAnt.DotNet.Tasks.CscTask.NeedsCompiling C# (CSharp) Method

NeedsCompiling() protected method

Determines whether compilation is needed.
protected NeedsCompiling ( ) : bool
return bool
        protected override bool NeedsCompiling()
        {
            if (base.NeedsCompiling()) {
                return true;
            }

            if (DocFile != null && SupportsDocGeneration) {
                if (!DocFile.Exists) {
                    Log(Level.Verbose, ResourceUtils.GetString("String_DocFileDoesNotExist"),
                        DocFile.FullName);
                    return true;
                }
            }

            return false;
        }