Welcome to mirror list, hosted at ThFree Co, Russian Federation.

WellKnownEntryPoints.h « inc « Runtime « Native « src - github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a6cc6ae10cb718c197fb78a9e12a2bf2f7d970fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

//
// Provide support for "well known methods" that are identifiable by tokens from the compiler.
//

#ifndef _PROJECTNWELLKNOWNMETHODS_H
#define _PROJECTNWELLKNOWNMETHODS_H

// Keep in sync with src\Nutc\inc\WellKnownEntryPoints.h

enum WellKnownEntryPoint
{
    WKM_CLASSWITHMISSINGCONSTRUCTOR,        // Fallback default constructor for types with no default constructor
    WKM_GETTHREADSTATICSFORDYNAMICTYPE,     // TypeLoader's helper to get thread static pointer for dynamic type
    WKM_ACTIVATORCREATEINSTANCEANY,         // Allocates and initializes value types or reference types for universal generic types
    WKM_GENERICLOOKUP,                      // Perform a generic lookup using the type loader
    WKM_GENERICLOOKUPANDALLOCOBJECT,        // Perform a generic lookup for a method and call it
    WKM_GENERICLOOKUPANDCALLCTOR,           // Perform a generic lookup for a method and call it
    WKM_GENERICLOOKUPANDALLOCARRAY,         // Perform a generic lookup and call a method passing the lookup result as an argument
    WKM_GENERICLOOKUPANDCAST,               // Perform a generic lookup and call a method passing the lookup result as an argument
    WKM_GENERICLOOKUPANDCHECKARRAYELEMTYPE, // Perform a generic lookup and call a method passing the lookup result as an argument
    WKM_BINDERINTRINSIC_GCSTRESS_FINALIZE,  // The GCStress objects Finalize method
    WKM_DBL2INT_OVF,                        // Convert double to int with overflow check
    WKM_DBL2LNG_OVF,                        // Convert double to long with overflow check
    WKM_DBL2ULNG_OVF,                       // Convert double to ulong with overflow check
    WKM_FLT2INT_OVF,                        // Convert float to int with overflow check
    WKM_FLT2LNG_OVF,                        // Convert float to long with overflow check
    WKM_LMUL_OVF,                           // Int64 multiplication with overflow check
    WKM_ULMUL_OVF,                          // UInt64 multiplication with overflow check
};

#endif