17 references to WithEmitDebugInformation
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (13)
ScriptTests.cs (13)
86
var script = CSharpScript.Create("1 + 2", options: ScriptOptions.
WithEmitDebugInformation
(true));
851
var opts = ScriptOptions.
WithEmitDebugInformation
(true).WithFilePath("debug.csx").WithFileEncoding(null);
865
var opts = ScriptOptions.
WithEmitDebugInformation
(true).WithFilePath("debug.csx").WithFileEncoding(Encoding.UTF8);
872
var opts = ScriptOptions.
WithEmitDebugInformation
(false).WithFilePath(null).WithFileEncoding(null);
879
var opts = ScriptOptions.
WithEmitDebugInformation
(false).WithFilePath("debug.csx").WithFileEncoding(Encoding.UTF8);
887
var opts = ScriptOptions.
WithEmitDebugInformation
(true).WithFilePath("debug.csx");
894
var opts = ScriptOptions.
WithEmitDebugInformation
(false).WithFilePath("debug.csx");
902
var opts = ScriptOptions.
WithEmitDebugInformation
(true).WithFileEncoding(null);
910
var opts = ScriptOptions.
WithEmitDebugInformation
(true).WithFileEncoding(Encoding.UTF8);
917
var opts = ScriptOptions.
WithEmitDebugInformation
(false).WithFileEncoding(null);
924
var opts = ScriptOptions.
WithEmitDebugInformation
(false).WithFileEncoding(Encoding.UTF8);
932
var opts = ScriptOptions.
WithEmitDebugInformation
(true);
939
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));