| 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_CorelibAsmName "System.Private.CoreLib" |
| 31 | #define g_SystemAsmName "System" |
| 32 | #define g_SystemRuntimeAsmName "System.Runtime" |
| 33 | #define g_DrawingAsmName "System.Drawing" |
| 34 | #define g_ObjectModelAsmName "System.ObjectModel" |
| 35 | #define g_SystemRuntimeWindowsRuntimeAsmName "System.Runtime.WindowsRuntime" |
| 36 | #define g_ColorClassName "System.Drawing.Color" |
| 37 | #define g_ColorTranslatorClassName "System.Drawing.ColorTranslator" |
| 38 | #define g_SystemUriClassName "System.Uri" |
| 39 | #define g_WinRTUriClassName "Windows.Foundation.Uri" |
| 40 | #define g_WinRTUriClassNameW W("Windows.Foundation.Uri") |
| 41 | #define g_WinRTIUriRCFactoryName "Windows.Foundation.IUriRuntimeClassFactory" |
| 42 | #define g_INotifyCollectionChangedName "System.Collections.Specialized.INotifyCollectionChanged" |
| 43 | #define g_NotifyCollectionChangedEventHandlerName "System.Collections.Specialized.NotifyCollectionChangedEventHandler" |
| 44 | #define g_NotifyCollectionChangedEventArgsName "System.Collections.Specialized.NotifyCollectionChangedEventArgs" |
| 45 | #define g_NotifyCollectionChangedEventArgsMarshalerName "System.Runtime.InteropServices.WindowsRuntime.NotifyCollectionChangedEventArgsMarshaler" |
| 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_WinRTIIteratorClassName "Windows.Foundation.Collections.IIterator`1" |
| 51 | #define g_WinRTIIteratorClassNameW W("Windows.Foundation.Collections.IIterator`1") |
| 52 | #define g_ICommandName "System.Windows.Input.ICommand" |
| 53 | #define g_ComObjectName "__ComObject" |
| 54 | #define g_RuntimeClassName "RuntimeClass" |
| 55 | #define g_INotifyCollectionChanged_WinRTName "System.Runtime.InteropServices.WindowsRuntime.INotifyCollectionChanged_WinRT" |
| 56 | #define g_NotifyCollectionChangedToManagedAdapterName "System.Runtime.InteropServices.WindowsRuntime.NotifyCollectionChangedToManagedAdapter" |
| 57 | #define g_NotifyCollectionChangedToWinRTAdapterName "System.Runtime.InteropServices.WindowsRuntime.NotifyCollectionChangedToWinRTAdapter" |
| 58 | #define g_INotifyPropertyChanged_WinRTName "System.Runtime.InteropServices.WindowsRuntime.INotifyPropertyChanged_WinRT" |
| 59 | #define g_NotifyPropertyChangedToManagedAdapterName "System.Runtime.InteropServices.WindowsRuntime.NotifyPropertyChangedToManagedAdapter" |
| 60 | #define g_NotifyPropertyChangedToWinRTAdapterName "System.Runtime.InteropServices.WindowsRuntime.NotifyPropertyChangedToWinRTAdapter" |
| 61 | #define g_ICommand_WinRTName "System.Runtime.InteropServices.WindowsRuntime.ICommand_WinRT" |
| 62 | #define g_ICommandToManagedAdapterName "System.Runtime.InteropServices.WindowsRuntime.ICommandToManagedAdapter" |
| 63 | #define g_ICommandToWinRTAdapterName "System.Runtime.InteropServices.WindowsRuntime.ICommandToWinRTAdapter" |
| 64 | #define g_NotifyCollectionChangedEventHandler_WinRT "System.Runtime.InteropServices.WindowsRuntime.NotifyCollectionChangedEventHandler_WinRT" |
| 65 | #define g_PropertyChangedEventHandler_WinRT_Name "System.Runtime.InteropServices.WindowsRuntime.PropertyChangedEventHandler_WinRT" |
| 66 | #endif // FEATURE_COMINTEROP |
| 67 | |
| 68 | |
| 69 | #define g_DateClassName "System.DateTime" |
| 70 | #define g_DateTimeOffsetClassName "System.DateTimeOffset" |
| 71 | #define g_DecimalClassName "System.Decimal" |
| 72 | #define g_DecimalName "Decimal" |
| 73 | |
| 74 | #define g_Vector64ClassName "System.Runtime.Intrinsics.Vector64`1" |
| 75 | #define g_Vector64Name "Vector64`1" |
| 76 | |
| 77 | #define g_Vector128ClassName "System.Runtime.Intrinsics.Vector128`1" |
| 78 | #define g_Vector128Name "Vector128`1" |
| 79 | |
| 80 | #define g_Vector256ClassName "System.Runtime.Intrinsics.Vector256`1" |
| 81 | #define g_Vector256Name "Vector256`1" |
| 82 | |
| 83 | #ifdef FEATURE_COMINTEROP |
| 84 | |
| 85 | #define g_WindowsFoundationActivatableAttributeClassName "Windows.Foundation.Metadata.ActivatableAttribute" |
| 86 | #define g_WindowsFoundationComposableAttributeClassName "Windows.Foundation.Metadata.ComposableAttribute" |
| 87 | #define g_WindowsFoundationStaticAttributeClassName "Windows.Foundation.Metadata.StaticAttribute" |
| 88 | #define g_WindowsFoundationDefaultClassName "Windows.Foundation.Metadata.DefaultAttribute" |
| 89 | #define g_WindowsFoundationMarshalingBehaviorAttributeClassName "Windows.Foundation.Metadata.MarshalingBehaviorAttribute" |
| 90 | #define g_WindowsFoundationGCPressureAttributeClassName "Windows.Foundation.Metadata.GCPressureAttribute" |
| 91 | #endif // FEATURE_COMINTEROP |
| 92 | |
| 93 | #define g_EnumeratorToEnumClassName "System.Runtime.InteropServices.CustomMarshalers.EnumeratorToEnumVariantMarshaler" |
| 94 | #define g_ExceptionClassName "System.Exception" |
| 95 | #define g_ExecutionEngineExceptionClassName "System.ExecutionEngineException" |
| 96 | |
| 97 | #define g_ThreadStaticAttributeClassName "System.ThreadStaticAttribute" |
| 98 | #define g_TypeIdentifierAttributeClassName "System.Runtime.InteropServices.TypeIdentifierAttribute" |
| 99 | |
| 100 | #define g_ObjectClassName "System.Object" |
| 101 | #define g_ObjectName "Object" |
| 102 | #define g_OutOfMemoryExceptionClassName "System.OutOfMemoryException" |
| 103 | |
| 104 | #define g_ReflectionClassName "System.RuntimeType" |
| 105 | #define g_ReflectionConstructorName "System.Reflection.RuntimeConstructorInfo" |
| 106 | #define g_ReflectionEventInfoName "System.Reflection.EventInfo" |
| 107 | #define g_ReflectionEventName "System.Reflection.RuntimeEventInfo" |
| 108 | #define g_ReflectionExpandoItfName "System.Runtime.InteropServices.Expando.IExpando" |
| 109 | #define g_CMExpandoToDispatchExMarshaler "System.Runtime.InteropServices.CustomMarshalers.ExpandoToDispatchExMarshaler" |
| 110 | #define g_CMExpandoViewOfDispatchEx "System.Runtime.InteropServices.CustomMarshalers.ExpandoViewOfDispatchEx" |
| 111 | #define g_ReflectionFieldName "System.Reflection.RuntimeFieldInfo" |
| 112 | #define g_ReflectionMemberInfoName "System.Reflection.MemberInfo" |
| 113 | #define g_MethodBaseName "System.Reflection.MethodBase" |
| 114 | #define g_ReflectionFieldInfoName "System.Reflection.FieldInfo" |
| 115 | #define g_ReflectionPropertyInfoName "System.Reflection.PropertyInfo" |
| 116 | #define g_ReflectionConstructorInfoName "System.Reflection.ConstructorInfo" |
| 117 | #define g_ReflectionMethodInfoName "System.Reflection.MethodInfo" |
| 118 | #define g_ReflectionMethodName "System.Reflection.RuntimeMethodInfo" |
| 119 | #define g_ReflectionMethodInterfaceName "System.IRuntimeMethodInfo" |
| 120 | #define g_ReflectionAssemblyName "System.Reflection.RuntimeAssembly" |
| 121 | #define g_ReflectionModuleName "System.Reflection.RuntimeModule" |
| 122 | #define g_ReflectionParamInfoName "System.Reflection.ParameterInfo" |
| 123 | #define g_ReflectionParamName "System.Reflection.RuntimeParameterInfo" |
| 124 | #define g_ReflectionPropInfoName "System.Reflection.RuntimePropertyInfo" |
| 125 | #define g_ReflectionReflectItfName "System.Reflection.IReflect" |
| 126 | #define g_RuntimeArgumentHandleName "RuntimeArgumentHandle" |
| 127 | #define g_RuntimeFieldHandleClassName "System.RuntimeFieldHandle" |
| 128 | #define g_RuntimeMethodHandleClassName "System.RuntimeMethodHandle" |
| 129 | #define g_RuntimeMethodHandleInternalName "RuntimeMethodHandleInternal" |
| 130 | #define g_RuntimeTypeHandleClassName "System.RuntimeTypeHandle" |
| 131 | |
| 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_TypeClassName "System.Type" |
| 141 | |
| 142 | #define g_VariantClassName "System.Variant" |
| 143 | #define g_GuidClassName "System.Guid" |
| 144 | |
| 145 | #define g_CompilerServicesFixedAddressValueTypeAttribute "System.Runtime.CompilerServices.FixedAddressValueTypeAttribute" |
| 146 | #define g_CompilerServicesUnsafeValueTypeAttribute "System.Runtime.CompilerServices.UnsafeValueTypeAttribute" |
| 147 | #define g_CompilerServicesIsByRefLikeAttribute "System.Runtime.CompilerServices.IsByRefLikeAttribute" |
| 148 | #define g_CompilerServicesIntrinsicAttribute "System.Runtime.CompilerServices.IntrinsicAttribute" |
| 149 | #define g_UnmanagedFunctionPointerAttribute "System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute" |
| 150 | #define g_DefaultDllImportSearchPathsAttribute "System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute" |
| 151 | #define g_NativeCallableAttribute "System.Runtime.InteropServices.NativeCallableAttribute" |
| 152 | #define g_FixedBufferAttribute "System.Runtime.CompilerServices.FixedBufferAttribute" |
| 153 | |
| 154 | #define g_CompilerServicesTypeDependencyAttribute "System.Runtime.CompilerServices.TypeDependencyAttribute" |
| 155 | |
| 156 | #define g_ReferenceAssemblyAttribute "System.Runtime.CompilerServices.ReferenceAssemblyAttribute" |
| 157 | |
| 158 | #define g_CriticalFinalizerObjectName "CriticalFinalizerObject" |
| 159 | |
| 160 | #endif //!__CLASSNAMES_H__ |
| 161 | |