Skip to content

AssemblyHasEntryPoint

Sebastien Pouliot edited this page Feb 18, 2022 · 1 revision

assembly has-entrypoint

An assembly can have an entry-point defined. Generally called Main the entry-point is where the execution of the assembly would normally start.

USAGE:

cilout assembly <assembly> has-entrypoint [OPTIONS]

ARGUMENTS:

  • <assembly> Assembly to analyze

OPTIONS:

  • -h, --help Prints help information
  • -q, --quiet No visible output. Use return code.

RETURN CODES:

Return Code Description
0 Assembly has an entry-point defined
1 Assembly does not have an entry-point defined
-1 Error while validating the arguments or running the command
-2 Error while reading the specified assembly

EXAMPLES:

$ cilout assembly bin/Debug/net6.0/cilout.dll has-entrypoint

Assembly `bin/Debug/net6.0/cilout.dll` has `System.Int32 Program::<Main>$(System.String[])` as its entry point.
Clone this wiki locally