public bool Equals(BundledScript other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other._relativePath, _relativePath); }
bool IsExcluded(BundledScript script) { return _exclusions.Any(exclusion => exclusion.Match(script.Script).Success); }