13 references to ScriptOptions
Microsoft.CodeAnalysis.Scripting (13)
ScriptOptions.cs (13)
206
=> (FilePath == filePath) ? this : new
ScriptOptions
(this) { FilePath = filePath ?? "" };
216
=> MetadataReferences.Equals(references) ? this : new
ScriptOptions
(this) { MetadataReferences = CheckImmutableArray(references, nameof(references)) };
311
=> MetadataResolver == resolver ? this : new
ScriptOptions
(this) { MetadataResolver = resolver };
317
=> SourceResolver == resolver ? this : new
ScriptOptions
(this) { SourceResolver = resolver };
324
=> Imports.Equals(imports) ? this : new
ScriptOptions
(this) { Imports = CheckImmutableArray(imports, nameof(imports)) };
358
=> emitDebugInformation == EmitDebugInformation ? this : new
ScriptOptions
(this) { EmitDebugInformation = emitDebugInformation };
364
=> encoding == FileEncoding ? this : new
ScriptOptions
(this) { FileEncoding = encoding };
370
=> optimizationLevel == OptimizationLevel ? this : new
ScriptOptions
(this) { OptimizationLevel = optimizationLevel };
376
=> allowUnsafe == AllowUnsafe ? this : new
ScriptOptions
(this) { AllowUnsafe = allowUnsafe };
382
=> checkOverflow == CheckOverflow ? this : new
ScriptOptions
(this) { CheckOverflow = checkOverflow };
388
=> warningLevel == WarningLevel ? this : new
ScriptOptions
(this) { WarningLevel = warningLevel };
391
=> parseOptions == ParseOptions ? this : new
ScriptOptions
(this) { ParseOptions = parseOptions };
394
=> new
ScriptOptions
(this) { CreateFromFileFunc = createFromFileFunc };