Skip to content

Instantly share code, notes, and snippets.

@kant2002
Created February 5, 2021 12:20
Show Gist options
  • Save kant2002/eab465d74d5e562a224960c43acd00af to your computer and use it in GitHub Desktop.
Save kant2002/eab465d74d5e562a224960c43acd00af to your computer and use it in GitHub Desktop.
Code for Runtime library to support command line parameters
namespace Internal.Runtime.CompilerHelpers
{
internal partial class StartupCodeHelpers
{
internal static unsafe void InitializeCommandLineArgsW(
int argc, char** argv)
{
}
internal static unsafe void InitializeCommandLineArgs(
int argc, sbyte** argv)
{
}
private static string[] GetMainMethodArguments()
{
return null;
}
private static void SetLatchedExitCode(int exitCode)
{
}
// Shuts down the class library
// and returns the process exit code.
private static int Shutdown()
{
return 0;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment