12 references to ScriptOptions
Microsoft.CodeAnalysis.Scripting (12)
ScriptOptions.cs (12)
202
=> (FilePath == filePath) ? this : new
ScriptOptions
(this) { FilePath = filePath ?? "" };
212
=> MetadataReferences.Equals(references) ? this : new
ScriptOptions
(this) { MetadataReferences = CheckImmutableArray(references, nameof(references)) };
309
=> MetadataResolver == resolver ? this : new
ScriptOptions
(this) { MetadataResolver = resolver };
315
=> SourceResolver == resolver ? this : new
ScriptOptions
(this) { SourceResolver = resolver };
322
=> Imports.Equals(imports) ? this : new
ScriptOptions
(this) { Imports = CheckImmutableArray(imports, nameof(imports)) };
356
=> emitDebugInformation == EmitDebugInformation ? this : new
ScriptOptions
(this) { EmitDebugInformation = emitDebugInformation };
362
=> encoding == FileEncoding ? this : new
ScriptOptions
(this) { FileEncoding = encoding };
369
=> optimizationLevel == OptimizationLevel ? this : new
ScriptOptions
(this) { OptimizationLevel = optimizationLevel };
375
=> allowUnsafe == AllowUnsafe ? this : new
ScriptOptions
(this) { AllowUnsafe = allowUnsafe };
381
=> checkOverflow == CheckOverflow ? this : new
ScriptOptions
(this) { CheckOverflow = checkOverflow };
387
=> warningLevel == WarningLevel ? this : new
ScriptOptions
(this) { WarningLevel = warningLevel };
390
=> parseOptions == ParseOptions ? this : new
ScriptOptions
(this) { ParseOptions = parseOptions };