System.Diagnostics.SymbolStore.ISymbolWriter.SetUserEntryPoint Method

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

Syntax

public void SetUserEntryPoint (SymbolToken entryMethod)

Parameters

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

Remarks

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

Requirements

Namespace: System.Diagnostics.SymbolStore
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0