internal static SourceUnit Make(ScriptEngine engine, NormalizedSnapshotSpanCollection spans, string path)
        {
            var textContent     = new SnapshotMultipleSpanTextContentProvider(spans);
            var languageContext = HostingHelpers.GetLanguageContext(engine);

            return(new SourceUnit(languageContext, textContent, path, SourceCodeKind.File));
        }
 internal static SourceUnit Make(ScriptEngine engine, NormalizedSnapshotSpanCollection spans, string path)
 {
     var textContent = new SnapshotMultipleSpanTextContentProvider(spans);
     var languageContext = HostingHelpers.GetLanguageContext(engine);
     return new SourceUnit(languageContext, textContent, path, SourceCodeKind.File);
 }