public bool IsEqual(CompilerSettings other)
{
if (other == null)
return false;
if (codeSource != other.codeSource)
return false;
if (additionalSource != other.additionalSource)
return false;
if (unsafeCode != other.unsafeCode)
return false;
if (language != other.language)
return false;
if (doNotReferenceMscorlib != other.doNotReferenceMscorlib)
return false;
if (references.Count != other.references.Count)
return false;
foreach (string file in references)
if (!other.references.Contains(file))
return false;
return true;
}