11 references to WithFileEncoding
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (8)
ScriptTests.cs (8)
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); 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);
Microsoft.CodeAnalysis.Scripting.UnitTests (3)
ScriptOptionsTests.cs (3)
185var options = ScriptOptions.Default.WithFileEncoding(Encoding.ASCII); 192var options = ScriptOptions.Default.WithFileEncoding(Encoding.ASCII); 193Assert.Same(options, options.WithFileEncoding(Encoding.ASCII));