SymReader.UserEntryPoint Property

Definition

Gets the metadata token for the method that was specified as the user entry point for the module, if any.

C#
public override System.Diagnostics.SymbolStore.SymbolToken UserEntryPoint { get; }
C#
public virtual System.Diagnostics.SymbolStore.SymbolToken UserEntryPoint { get; }

Property Value

The metadata token for the method that is the user entry point for the module.

Implements

Exceptions

An entry point was not found.

Remarks

The return value is normally the main method.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1