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