private ISourceFile AddSourceFile(Uri fileUri, string fileContents, ModuleReference?moduleReference)
        {
            var sourceFile = SourceFileFactory.CreateSourceFile(fileUri, fileContents, moduleReference);

            sourceFilesByUri[fileUri] = sourceFile;

            return(sourceFile);
        }
        private ISourceFile AddSourceFile(Uri fileUri, string fileContents, bool isEntryFile)
        {
            var sourceFile = SourceFileFactory.CreateSourceFile(fileUri, fileContents, isEntryFile);

            sourceFilesByUri[fileUri] = sourceFile;

            return(sourceFile);
        }