0c24914a56ea7fe2dc1ebe21255dd210342bc9cb
[platform/upstream/coreclr.git] / src / vm / classnames.h
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4
5
6
7 #ifndef __CLASSNAMES_H__
8 #define __CLASSNAMES_H__
9
10 #include "namespace.h"
11
12 // These system class names are not assembly qualified.
13
14 #define g_AppDomainClassName "System.AppDomain"
15 #define g_ArgIteratorName "ArgIterator"
16 #define g_ArrayClassName "System.Array"
17
18 #define g_NullableName "Nullable`1"
19 #define g_ByReferenceName "ByReference`1"
20
21 #define g_CollectionsEnumerableItfName "System.Collections.IEnumerable"
22 #define g_CollectionsEnumeratorClassName "System.Collections.IEnumerator"
23 #define g_CollectionsCollectionItfName "System.Collections.ICollection"
24 #define g_CollectionsGenericCollectionItfName "System.Collections.Generic.ICollection`1"
25 #define g_CollectionsGenericReadOnlyCollectionItfName "System.Collections.Generic.IReadOnlyCollection`1"
26
27 #ifdef FEATURE_COMINTEROP
28 #define g_ECMAKeyToken "B77A5C561934E089"       // The ECMA key used by some framework assemblies: mscorlib, system, etc.
29 #define g_FXKeyToken "b03f5f7f11d50a3a"         // The FX key used by other framework assemblies: System.Web, System.Drawing, etc.
30 #define g_SystemAsmName "System"
31 #define g_SystemRuntimeAsmName "System.Runtime"
32 #define g_DrawingAsmName "System.Drawing"
33 #define g_ObjectModelAsmName "System.ObjectModel"
34 #define g_SystemRuntimeWindowsRuntimeAsmName "System.Runtime.WindowsRuntime"
35 #define g_ColorClassName "System.Drawing.Color"
36 #define g_ColorTranslatorClassName "System.Drawing.ColorTranslator"
37 #define g_SystemUriClassName "System.Uri"
38 #define g_WinRTUriClassName "Windows.Foundation.Uri"
39 #define g_WinRTUriClassNameW W("Windows.Foundation.Uri")
40 #define g_WinRTIUriRCFactoryName "Windows.Foundation.IUriRuntimeClassFactory"
41 #define g_INotifyCollectionChangedName "System.Collections.Specialized.INotifyCollectionChanged"
42 #define g_NotifyCollectionChangedEventHandlerName "System.Collections.Specialized.NotifyCollectionChangedEventHandler"
43 #define g_NotifyCollectionChangedEventArgsName "System.Collections.Specialized.NotifyCollectionChangedEventArgs"
44 #define g_NotifyCollectionChangedEventArgsMarshalerName "System.Runtime.InteropServices.WindowsRuntime.NotifyCollectionChangedEventArgsMarshaler"
45 #define g_WinRTNotifyCollectionChangedEventArgsNameW W("Windows.UI.Xaml.Interop.NotifyCollectionChangedEventArgs")
46 #define g_INotifyPropertyChangedName "System.ComponentModel.INotifyPropertyChanged"
47 #define g_PropertyChangedEventHandlerName "System.ComponentModel.PropertyChangedEventHandler"
48 #define g_PropertyChangedEventArgsName "System.ComponentModel.PropertyChangedEventArgs"
49 #define g_PropertyChangedEventArgsMarshalerName "System.Runtime.InteropServices.WindowsRuntime.PropertyChangedEventArgsMarshaler"
50 #define g_WinRTPropertyChangedEventArgsNameW W("Windows.UI.Xaml.Data.PropertyChangedEventArgs")
51 #define g_WinRTIIteratorClassName   "Windows.Foundation.Collections.IIterator`1"
52 #define g_WinRTIIteratorClassNameW W("Windows.Foundation.Collections.IIterator`1")
53 #define g_ICommandName "System.Windows.Input.ICommand"
54 #define g_ComObjectName "__ComObject"
55 #define g_RuntimeClassName "RuntimeClass"
56 #define g_INotifyCollectionChanged_WinRTName "System.Runtime.InteropServices.WindowsRuntime.INotifyCollectionChanged_WinRT"
57 #define g_NotifyCollectionChangedToManagedAdapterName "System.Runtime.InteropServices.WindowsRuntime.NotifyCollectionChangedToManagedAdapter"
58 #define g_NotifyCollectionChangedToWinRTAdapterName "System.Runtime.InteropServices.WindowsRuntime.NotifyCollectionChangedToWinRTAdapter"
59 #define g_INotifyPropertyChanged_WinRTName "System.Runtime.InteropServices.WindowsRuntime.INotifyPropertyChanged_WinRT"
60 #define g_NotifyPropertyChangedToManagedAdapterName "System.Runtime.InteropServices.WindowsRuntime.NotifyPropertyChangedToManagedAdapter"
61 #define g_NotifyPropertyChangedToWinRTAdapterName "System.Runtime.InteropServices.WindowsRuntime.NotifyPropertyChangedToWinRTAdapter"
62 #define g_ICommand_WinRTName "System.Runtime.InteropServices.WindowsRuntime.ICommand_WinRT"
63 #define g_ICommandToManagedAdapterName "System.Runtime.InteropServices.WindowsRuntime.ICommandToManagedAdapter"
64 #define g_ICommandToWinRTAdapterName "System.Runtime.InteropServices.WindowsRuntime.ICommandToWinRTAdapter"
65 #define g_NotifyCollectionChangedEventHandler_WinRT "System.Runtime.InteropServices.WindowsRuntime.NotifyCollectionChangedEventHandler_WinRT"
66 #define g_PropertyChangedEventHandler_WinRT_Name "System.Runtime.InteropServices.WindowsRuntime.PropertyChangedEventHandler_WinRT"
67 #endif // FEATURE_COMINTEROP
68
69
70 #define g_DateClassName "System.DateTime"
71 #define g_DateTimeOffsetClassName "System.DateTimeOffset"
72 #define g_DecimalClassName "System.Decimal"
73 #define g_DecimalName "Decimal"
74
75 #ifdef FEATURE_COMINTEROP
76
77 #define g_WindowsFoundationActivatableAttributeClassName      "Windows.Foundation.Metadata.ActivatableAttribute"
78 #define g_WindowsFoundationComposableAttributeClassName       "Windows.Foundation.Metadata.ComposableAttribute"
79 #define g_WindowsFoundationStaticAttributeClassName           "Windows.Foundation.Metadata.StaticAttribute"
80 #define g_WindowsFoundationDefaultClassName "Windows.Foundation.Metadata.DefaultAttribute"
81 #define g_WindowsFoundationMarshalingBehaviorAttributeClassName "Windows.Foundation.Metadata.MarshalingBehaviorAttribute"
82 #define g_WindowsFoundationGCPressureAttributeClassName "Windows.Foundation.Metadata.GCPressureAttribute"
83 #endif // FEATURE_COMINTEROP
84
85 #define g_EnumeratorToEnumClassName "System.Runtime.InteropServices.CustomMarshalers.EnumeratorToEnumVariantMarshaler"
86 #define g_ExceptionClassName "System.Exception"
87 #define g_ExecutionEngineExceptionClassName "System.ExecutionEngineException"
88
89 #define g_MarshalByRefObjectClassName "System.MarshalByRefObject"
90
91 #define g_ThreadStaticAttributeClassName "System.ThreadStaticAttribute"
92 #define g_ContextStaticAttributeClassName "System.ContextStaticAttribute"
93 #define g_StringFreezingAttributeClassName "System.Runtime.CompilerServices.StringFreezingAttribute"
94 #define g_TypeIdentifierAttributeClassName "System.Runtime.InteropServices.TypeIdentifierAttribute"
95
96 #define g_ObjectClassName "System.Object"
97 #define g_ObjectName "Object"
98 #define g_OutOfMemoryExceptionClassName "System.OutOfMemoryException"
99
100 #define g_PermissionTokenFactoryName "System.Security.PermissionTokenFactory"
101 #define g_PolicyExceptionClassName "System.Security.Policy.PolicyException"
102
103 #define g_ReflectionClassName "System.RuntimeType"
104 #define g_ReflectionConstructorName "System.Reflection.RuntimeConstructorInfo"
105 #define g_ReflectionEventInfoName "System.Reflection.EventInfo"
106 #define g_ReflectionEventName "System.Reflection.RuntimeEventInfo"
107 #define g_ReflectionExpandoItfName "System.Runtime.InteropServices.Expando.IExpando"
108 #define g_CMExpandoToDispatchExMarshaler "System.Runtime.InteropServices.CustomMarshalers.ExpandoToDispatchExMarshaler"
109 #define g_CMExpandoViewOfDispatchEx "System.Runtime.InteropServices.CustomMarshalers.ExpandoViewOfDispatchEx"
110 #define g_ReflectionFieldName "System.Reflection.RuntimeFieldInfo"
111 #define g_ReflectionMemberInfoName "System.Reflection.MemberInfo"
112 #define g_MethodBaseName "System.Reflection.MethodBase"
113 #define g_ReflectionFieldInfoName "System.Reflection.FieldInfo"
114 #define g_ReflectionPropertyInfoName "System.Reflection.PropertyInfo"
115 #define g_ReflectionConstructorInfoName "System.Reflection.ConstructorInfo"
116 #define g_ReflectionMethodInfoName "System.Reflection.MethodInfo"
117 #define g_ReflectionMethodName "System.Reflection.RuntimeMethodInfo"
118 #define g_ReflectionMethodInterfaceName "System.IRuntimeMethodInfo"
119 #define g_ReflectionAssemblyName "System.Reflection.RuntimeAssembly"
120 #define g_ReflectionModuleName "System.Reflection.RuntimeModule"
121 #define g_ReflectionParamInfoName "System.Reflection.ParameterInfo"
122 #define g_ReflectionParamName "System.Reflection.RuntimeParameterInfo"
123 #define g_ReflectionPropInfoName "System.Reflection.RuntimePropertyInfo"
124 #define g_ReflectionReflectItfName "System.Reflection.IReflect"
125 #define g_RuntimeArgumentHandleName      "RuntimeArgumentHandle"
126 #define g_RuntimeFieldHandleClassName    "System.RuntimeFieldHandle"
127 #define g_RuntimeMethodHandleClassName   "System.RuntimeMethodHandle"
128 #define g_RuntimeMethodHandleInternalName        "RuntimeMethodHandleInternal"
129 #define g_RuntimeTypeHandleClassName     "System.RuntimeTypeHandle"
130
131 #define g_SecurityPermissionClassName "System.Security.Permissions.SecurityPermission"
132 #define g_StackOverflowExceptionClassName "System.StackOverflowException"
133 #define g_StringBufferClassName "System.Text.StringBuilder"
134 #define g_StringBufferName "StringBuilder"
135 #define g_StringClassName "System.String"
136 #define g_StringName "String"
137 #define g_SharedStaticsClassName "System.SharedStatics"
138
139 #define g_ThreadClassName "System.Threading.Thread"
140 #define g_TransparentProxyName "__TransparentProxy"
141 #define g_TypeClassName   "System.Type"
142
143 #define g_VariantClassName "System.Variant"
144 #define g_GuidClassName "System.Guid"
145
146 #define g_CompilerServicesFixedAddressValueTypeAttribute "System.Runtime.CompilerServices.FixedAddressValueTypeAttribute"
147 #define g_CompilerServicesUnsafeValueTypeAttribute "System.Runtime.CompilerServices.UnsafeValueTypeAttribute"
148 #define g_UnmanagedFunctionPointerAttribute "System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute"
149 #define g_DefaultDllImportSearchPathsAttribute "System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute"
150 #define g_NativeCallableAttribute "System.Runtime.InteropServices.NativeCallableAttribute"
151
152 #define g_CompilerServicesTypeDependencyAttribute "System.Runtime.CompilerServices.TypeDependencyAttribute"
153
154 #define g_SecurityCriticalAttribute "System.Security.SecurityCriticalAttribute"
155 #define g_SecurityTransparentAttribute "System.Security.SecurityTransparentAttribute"
156
157 #define g_SecuritySafeCriticalAttribute "System.Security.SecuritySafeCriticalAttribute"
158
159 #if defined(FEATURE_CORESYSTEM)
160 #define g_SecurityAPTCA "System.Security.AllowPartiallyTrustedCallersAttribute"
161 #define g_SecurityPartialTrustVisibilityLevel "System.Security.PartialTrustVisibilityLevel"
162 #define g_PartialTrustVisibilityLevel "PartialTrustVisibilityLevel"
163 #endif // defined(FEATURE_CORESYSTEM)
164
165 #define g_ReferenceAssemblyAttribute "System.Runtime.CompilerServices.ReferenceAssemblyAttribute"
166
167 #define g_CriticalFinalizerObjectName "CriticalFinalizerObject"
168
169 #define g_AssemblySignatureKeyAttribute "System.Reflection.AssemblySignatureKeyAttribute"
170
171 #endif //!__CLASSNAMES_H__