17 references to WithEmitDebugInformation
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (13)
ScriptTests.cs (13)
82
var script = CSharpScript.Create("1 + 2", options: ScriptOptions.
WithEmitDebugInformation
(true));
847
var opts = ScriptOptions.
WithEmitDebugInformation
(true).WithFilePath("debug.csx").WithFileEncoding(null);
861
var opts = ScriptOptions.
WithEmitDebugInformation
(true).WithFilePath("debug.csx").WithFileEncoding(Encoding.UTF8);
868
var opts = ScriptOptions.
WithEmitDebugInformation
(false).WithFilePath(null).WithFileEncoding(null);
875
var opts = ScriptOptions.
WithEmitDebugInformation
(false).WithFilePath("debug.csx").WithFileEncoding(Encoding.UTF8);
883
var opts = ScriptOptions.
WithEmitDebugInformation
(true).WithFilePath("debug.csx");
890
var opts = ScriptOptions.
WithEmitDebugInformation
(false).WithFilePath("debug.csx");
898
var opts = ScriptOptions.
WithEmitDebugInformation
(true).WithFileEncoding(null);
906
var opts = ScriptOptions.
WithEmitDebugInformation
(true).WithFileEncoding(Encoding.UTF8);
913
var opts = ScriptOptions.
WithEmitDebugInformation
(false).WithFileEncoding(null);
920
var opts = ScriptOptions.
WithEmitDebugInformation
(false).WithFileEncoding(Encoding.UTF8);
928
var opts = ScriptOptions.
WithEmitDebugInformation
(true);
935
var opts = ScriptOptions.
WithEmitDebugInformation
(false);
Microsoft.CodeAnalysis.Scripting.UnitTests (4)
ScriptOptionsTests.cs (4)
170
Assert.True(ScriptOptions.Default.
WithEmitDebugInformation
(true).EmitDebugInformation);
171
Assert.False(ScriptOptions.Default.
WithEmitDebugInformation
(false).EmitDebugInformation);
178
var options = ScriptOptions.Default.
WithEmitDebugInformation
(true);
179
Assert.Same(options, options.
WithEmitDebugInformation
(true));