17 references to WithEmitDebugInformation
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (13)
ScriptTests.cs (13)
86var script = CSharpScript.Create("1 + 2", options: ScriptOptions.WithEmitDebugInformation(true)); 851var opts = ScriptOptions.WithEmitDebugInformation(true).WithFilePath("debug.csx").WithFileEncoding(null); 865var opts = ScriptOptions.WithEmitDebugInformation(true).WithFilePath("debug.csx").WithFileEncoding(Encoding.UTF8); 872var opts = ScriptOptions.WithEmitDebugInformation(false).WithFilePath(null).WithFileEncoding(null); 879var opts = ScriptOptions.WithEmitDebugInformation(false).WithFilePath("debug.csx").WithFileEncoding(Encoding.UTF8); 887var opts = ScriptOptions.WithEmitDebugInformation(true).WithFilePath("debug.csx"); 894var opts = ScriptOptions.WithEmitDebugInformation(false).WithFilePath("debug.csx"); 902var opts = ScriptOptions.WithEmitDebugInformation(true).WithFileEncoding(null); 910var opts = ScriptOptions.WithEmitDebugInformation(true).WithFileEncoding(Encoding.UTF8); 917var opts = ScriptOptions.WithEmitDebugInformation(false).WithFileEncoding(null); 924var opts = ScriptOptions.WithEmitDebugInformation(false).WithFileEncoding(Encoding.UTF8); 932var opts = ScriptOptions.WithEmitDebugInformation(true); 939var opts = ScriptOptions.WithEmitDebugInformation(false);
Microsoft.CodeAnalysis.Scripting.UnitTests (4)
ScriptOptionsTests.cs (4)
170Assert.True(ScriptOptions.Default.WithEmitDebugInformation(true).EmitDebugInformation); 171Assert.False(ScriptOptions.Default.WithEmitDebugInformation(false).EmitDebugInformation); 178var options = ScriptOptions.Default.WithEmitDebugInformation(true); 179Assert.Same(options, options.WithEmitDebugInformation(true));