private HxlCompiler(HxlCompilerSettings settings) { settings = settings ?? HxlCompilerSettings.Default; if (settings.IsReadOnly) { this.settings = settings; } else { this.settings = settings.Clone(); this.settings.MakeReadOnly(); } }
private HxlCompiler(HxlCompilerSettings settings) { settings = settings ?? HxlCompilerSettings.Default; if (settings.IsReadOnly) { this.settings = settings; } else { this.settings = settings.Clone(); this.settings.MakeReadOnly(); } }