5 references to Code
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (3)
ScriptTests.cs (3)
40
Assert.Equal("1 + 2", script.
Code
);
53
Assert.Equal("1 + 2", script.
Code
);
67
Assert.Equal(state.Script.
Code
, compilation.SyntaxTrees.First().GetText().ToString());
Microsoft.CodeAnalysis.VisualBasic.Scripting.UnitTests (2)
ScriptTests.vb (2)
31
Assert.Equal("? 1 + 2", script.
Code
)
64
Assert.Equal(script.
Code
, compilation.SyntaxTrees.First().GetText().ToString())