ISymbolWriter.SetUserEntryPoint Method (SymbolToken)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Identifies the user-defined method as the entry point for the current module.

Namespace:   System.Diagnostics.SymbolStore
Assembly:  mscorlib (in mscorlib.dll)

void SetUserEntryPoint(
	SymbolToken entryMethod
)

Parameters

entryMethod
Type: System.Diagnostics.SymbolStore.SymbolToken

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

This is normally your main method, rather than compiler-generated stubs before the main method.

.NET Framework
Available since 1.1
Return to top
Show: