Exemple #1
0
        public void SetUserEntryPoint(MethodInfo entryPoint)
        {
            int token = entryPoint.MetadataToken;

            if (token < 0)
            {
                token = -token | 0x06000000;
            }
            if (symbolWriter != null)
            {
                symbolWriter.SetUserEntryPoint(new SymbolToken(token));
            }
        }