internal CompilerOptions Copy()
{
CompilerOptions copy = (CompilerOptions)MemberwiseClone();
if (classes != null)
{
copy.classes = new Dictionary<string, byte[]>(classes);
}
if (resources != null)
{
copy.resources = Copy(resources);
}
if (props != null)
{
copy.props = new Dictionary<string, string>(props);
}
if (externalResources != null)
{
copy.externalResources = new Dictionary<string, string>(externalResources);
}
copy.suppressWarnings = new Dictionary<string, string>(suppressWarnings);
copy.errorWarnings = new Dictionary<string, string>(errorWarnings);
return copy;
}