
import { startsWith } from "../../fable_modules/fable-library-js.5.0.0-rc.1/String.js";

export const coreAssemblies = ["Fable.Core", "FSharp.Core", "mscorlib", "netstandard", "System.Collections", "System.Collections.Concurrent", "System.ComponentModel", "System.ComponentModel.Primitives", "System.ComponentModel.TypeConverter", "System.Console", "System.Core", "System.Diagnostics.Debug", "System.Diagnostics.Tools", "System.Diagnostics.Tracing", "System.Globalization", "System", "System.IO", "System.Net.Requests", "System.Net.WebClient", "System.Numerics", "System.Reflection", "System.Reflection.Extensions", "System.Reflection.Metadata", "System.Reflection.Primitives", "System.Reflection.TypeExtensions", "System.Runtime", "System.Runtime.Extensions", "System.Runtime.InteropServices", "System.Runtime.Numerics", "System.Text.Encoding", "System.Text.Encoding.Extensions", "System.Text.RegularExpressions", "System.Threading", "System.Threading.Tasks", "System.Threading.Thread", "System.ValueTuple"];

export function isSystemPackage(pkgName) {
    if (((((startsWith(pkgName, "System.", 4) ? true : startsWith(pkgName, "Microsoft.", 4)) ? true : startsWith(pkgName, "runtime.", 4)) ? true : (pkgName === "NETStandard.Library")) ? true : (pkgName === "FSharp.Core")) ? true : (pkgName === "Fable.Core")) {
        return true;
    }
    else {
        return pkgName === "testhost";
    }
}

