[loader] When loading the parent of a GTD fails. We must disable gclass recording...
[mono.git] / mcs / tools / linker / Descriptors / mscorlib.xml
1 <?xml version="1.0" encoding="utf-8" ?>
2 <linker>
3         <assembly fullname="mscorlib">
4
5                 <type fullname="System.AppDomain" preserve="fields">
6                         <method name="DoDomainUnload" />
7                         <method name="DoTypeResolve" />
8                         <method name="DoAssemblyResolve" />
9                         <method name="DoAssemblyLoad" />
10                         <method name="DoDomainUnload" />
11                         <method name="InternalSetContext" />
12                 </type>
13
14                 <type fullname="System.AppDomainSetup" preserve="fields" />
15                 <type fullname="System.AppDomainUnloadedException" />
16                 <type fullname="System.ApplicationException" />
17                 <type fullname="System.ArgIterator" />
18                 <type fullname="System.ArgumentException" />
19                 <type fullname="System.ArgumentNullException" />
20                 <type fullname="System.ArgumentOutOfRangeException" />
21                 <type fullname="System.ArithmeticException" />
22                 <type fullname="System.Array">
23                         <method name="InternalArray__ICollection_get_Count" />
24                         <method name="InternalArray__ICollection_get_IsReadOnly" />
25                         <method name="InternalArray__IEnumerable_GetEnumerator" />
26                         <method name="InternalArray__ICollection_Clear" />
27                         <method name="InternalArray__ICollection_Add" />
28                         <method name="InternalArray__ICollection_Remove" />
29                         <method name="InternalArray__ICollection_Contains" />
30                         <method name="InternalArray__ICollection_CopyTo" />
31                         <method name="InternalArray__Insert" />
32                         <method name="InternalArray__RemoveAt" />
33                         <method name="InternalArray__IndexOf" />
34                         <method name="InternalArray__get_Item" />
35                         <method name="InternalArray__set_Item" />
36                         <method name="InternalArray__IReadOnlyList_get_Item" />
37                         <method name="InternalArray__IReadOnlyCollection_get_Count" />
38                 </type>
39                 <type fullname="System.ArrayTypeMismatchException" />
40                 <type fullname="System.Attribute" />
41                 <type fullname="System.BadImageFormatException" />
42                 <type fullname="System.Boolean" preserve="fields" />
43                 <type fullname="System.Byte" preserve="fields" />
44                 <type fullname="System.CannotUnloadAppDomainException" />
45                 <type fullname="System.Char" preserve="fields" />
46                 <type fullname="System.Console" preserve="fields" />
47                 <type fullname="System.ConsoleDriver" preserve="fields" />
48                 <type fullname="System.ContextBoundObject" preserve="fields" />
49                 <!-- <type fullname="System.Convert" /> -->
50                 <type fullname="System.CurrentSystemTimeZone" />
51                 <type fullname="System.DateTime" preserve="fields" />
52                 <type fullname="System.DBNull" preserve="fields" />
53                 <type fullname="System.Decimal" preserve="fields" />
54                 <type fullname="System.Delegate" preserve="fields" />
55                 <type fullname="System.Diagnostics.StackFrame" />
56                 <type fullname="System.Diagnostics.StackTrace" />
57                 <type fullname="System.DivideByZeroException" />
58                 <!-- debugger-agent.c: create_event_list -->
59                 <type fullname="System.Diagnostics.DebuggerNonUserCodeAttribute"/>
60                 <type fullname="System.Diagnostics.DebuggerHiddenAttribute"/>
61                 <type fullname="System.Diagnostics.DebuggerStepThroughAttribute"/>
62                 
63                 <type fullname="System.DllNotFoundException" />
64                 <type fullname="System.Double" preserve="fields" />
65                 <type fullname="System.Enum" preserve="fields">
66                         <method name="GetValues" />
67                 </type>
68                 <type fullname="System.EntryPointNotFoundException" />
69                 <type fullname="System.Environment">
70                         <field name="mono_corlib_version" />
71                         <method name="get_StackTrace" />
72                 </type>
73                 <type fullname="System.Exception" />
74                 <type fullname="System.ExecutionEngineException" />
75                 <type fullname="System.FieldAccessException" />
76                 <type fullname="System.FormatException" />
77                 <type fullname="System.GC" />
78                 <type fullname="System.IndexOutOfRangeException" />
79                 <type fullname="System.Int16" preserve="fields" />
80                 <type fullname="System.Int32" preserve="fields" />
81                 <type fullname="System.Int64" preserve="fields" />
82                 <type fullname="System.IntPtr" preserve="fields" />
83                 <type fullname="System.InvalidCastException" />
84                 <type fullname="System.InvalidOperationException" />
85                 <type fullname="System.InvalidProgramException" />
86                 <type fullname="System.MarshalByRefObject" preserve="fields" feature="remoting" />
87                 <type fullname="System.MethodAccessException" />
88                 <type fullname="System.Missing" preserve="fields" />
89                 <type fullname="System.MissingFieldException" />
90                 <type fullname="System.MissingMethodException" />
91                 <type fullname="System.MonoAsyncCall" preserve="fields" />
92                 <type fullname="System.MonoCustomAttrs" preserve="fields" />
93                 <type fullname="System.MonoCustomAttrs/AttributeInfo" preserve="fields" />
94                 <type fullname="System.MonoCQItem" preserve="all" />
95                 <type fullname="System.MonoEnumInfo" preserve="fields" />
96                 <type fullname="System.MonoListItem" preserve="fields" />
97                 <type fullname="System.MonoType" preserve="fields" />
98                 <type fullname="System.MulticastDelegate" preserve="fields" />
99                 <type fullname="System.NotImplementedException" />
100                 <type fullname="System.NotSupportedException" />
101                 <type fullname="System.NullReferenceException" />
102                 <type fullname="System.Nullable`1" preserve="fields">
103                         <method name="Box" />
104                         <method name="Unbox" />
105                 </type>
106                 <type fullname="System.Object" />
107                 <type fullname="System.OutOfMemoryException" />
108                 <type fullname="System.RuntimeArgumentHandle" preserve="fields" />
109                 <type fullname="System.RuntimeFieldHandle" preserve="fields" />
110                 <type fullname="System.RuntimeMethodHandle" preserve="fields" />
111                 <type fullname="System.RuntimeTypeHandle" preserve="fields" />
112                 <type fullname="System.SByte" preserve="fields" />
113                 <type fullname="System.Single" preserve="fields" />
114                 <type fullname="System.StackOverflowException" />
115                 <type fullname="System.STAThreadAttribute" />
116                 <type fullname="System.String" preserve="fields">
117                         <method name="CreateString" />
118                         <method name="InternalAllocateStr" />
119                         <method name="FastAllocateString" />
120                         <method name="memcpy" />
121                         <method name="memset" />
122                         <method name="bzero" />
123                         <method name="bzero_aligned_1" />
124                         <method name="bzero_aligned_2" />
125                         <method name="bzero_aligned_4" />
126                         <method name="bzero_aligned_8" />
127                         <method name="memcpy_aligned_1" />
128                         <method name="memcpy_aligned_2" />
129                         <method name="memcpy_aligned_4" />
130                         <method name="memcpy_aligned_8" />
131                 </type>
132                 <type fullname="System.SystemException" />
133                 <type fullname="System.Type" preserve="fields">
134                         <method name="GetTypeFromHandle" />
135                 </type>
136                 <type fullname="System.TypeInitializationException" />
137                 <type fullname="System.TypeLoadException" />
138                 <type fullname="System.TypedReference" preserve="fields" />
139                 <type fullname="System.UInt16" preserve="fields" />
140                 <type fullname="System.UInt32" preserve="fields" />
141                 <type fullname="System.UInt64" preserve="fields" />
142                 <type fullname="System.UIntPtr" preserve="fields" />
143                 <type fullname="System.UnhandledExceptionEventArgs" />
144                 <type fullname="System.ValueType" preserve="fields" />
145                 <type fullname="System.Variant" preserve="fields" feature="com">
146                         <method name="Clear" />
147                 </type>
148                 <type fullname="System.Version">
149                   <method signature="System.Void .ctor(System.Int32,System.Int32,System.Int32,System.Int32)" />
150                 </type>
151                 <type fullname="System.Void" />
152                 <type fullname="System.__ComObject" feature="com" />
153
154                 <type fullname="System.Collections.Generic.ICollection`1" />
155                 <type fullname="System.Collections.Generic.IEnumerable`1" />
156                 <type fullname="System.Collections.Generic.IList`1" />
157                 <type fullname="System.Collections.Generic.GenericEqualityComparer`1">
158                         <method name=".ctor" />
159                 </type>
160                 <type fullname="System.Collections.Generic.GenericComparer`1">
161                         <method name=".ctor" />
162                 </type>
163
164                 <type fullname="System.Globalization.DateTimeFormatInfo" preserve="fields" />
165                 <type fullname="System.Globalization.CompareInfo" preserve="fields" />
166                 <type fullname="System.Globalization.CultureInfo" preserve="fields">
167                         <method name="CreateCulture" />
168                 </type>
169                 <type fullname="System.Globalization.NumberFormatInfo" preserve="fields" />
170                 <type fullname="System.Globalization.RegionInfo" preserve="fields" />
171                 <type fullname="System.Globalization.SortKey" preserve="fields" />
172
173                 <!--
174                 <type fullname="System.IO.FileMode" />
175                 <type fullname="System.IO.FileNotFoundException" />
176                 <type fullname="System.IO.FileLoadException" />
177                 <type fullname="System.IO.FileStreamAsyncResult" />
178                 <type fullname="System.IO.IOException" />
179                 <type fullname="System.IO.MonoIO" preserve="fields" />
180                 <type fullname="System.IO.Path" />
181                 <type fullname="System.IO.StreamReader" />
182                 -->
183
184                 <type fullname="System.Reflection.MonoAssembly">
185                         <method name=".ctor" />
186                 </type>
187                 <type fullname="System.Reflection.MonoModule">
188                         <method name=".ctor" />
189                 </type>
190
191                 <type fullname="System.Reflection.Assembly" preserve="fields">
192                         <method name="MonoDebugger_GetMethodToken" feature="sre" />
193                         <method name="GetNamespaces" feature="sre" />
194                 </type>
195                 <type fullname="System.Reflection.AssemblyName" preserve="fields" />
196                 <type fullname="System.Reflection.ConstructorInfo" preserve="fields" />
197                 <type fullname="System.Reflection.CustomAttributeData" preserve="fields">
198                   <method signature="System.Void .ctor(System.Reflection.ConstructorInfo,System.Reflection.Assembly,System.IntPtr,System.UInt32)" />
199                 </type>
200                 <type fullname="System.Reflection.CustomAttributeNamedArgument" preserve="fields" />
201                 <type fullname="System.Reflection.CustomAttributeTypedArgument" preserve="fields" />
202                 <type fullname="System.Reflection.EventInfo" preserve="fields">
203                         <method name="AddEventFrame" />
204                         <method name="StaticAddEventAdapterFrame" />
205                 </type>
206                 <type fullname="System.Reflection.ExceptionHandlingClause" preserve="fields" />
207                 <type fullname="System.Reflection.FieldInfo" preserve="fields" />
208                 <type fullname="System.Reflection.LocalVariableInfo" preserve="fields" />
209                 <type fullname="System.Reflection.ManifestResourceInfo" preserve="fields" />
210                 <type fullname="System.Reflection.MethodBase" preserve="fields" />
211                 <type fullname="System.Reflection.MethodBody" preserve="fields" />
212                 <type fullname="System.Reflection.MethodInfo" preserve="fields" />
213                 <type fullname="System.Reflection.Module" preserve="fields">
214                         <method name="Mono_GetGuid" feature="sre" />
215                 </type>
216                 <type fullname="System.Reflection.MonoArrayMethod" preserve="fields" />
217                 <type fullname="System.Reflection.MonoCMethod" preserve="fields" />
218                 <type fullname="System.Reflection.MonoEvent" preserve="fields" />
219                 <type fullname="System.Reflection.MonoEventInfo" preserve="fields" />
220                 <type fullname="System.Reflection.MonoField" preserve="fields" />
221                 <type fullname="System.Reflection.MonoGenericClass" preserve="fields" />
222                 <type fullname="System.Reflection.MonoMethod" preserve="fields" />
223                 <type fullname="System.Reflection.MonoMethodInfo" preserve="fields" />
224                 <type fullname="System.Reflection.MonoPropertyInfo" preserve="fields" />
225                 <type fullname="System.Reflection.MonoProperty" preserve="fields">
226                         <method name="GetterAdapterFrame" />
227                         <method name="StaticGetterAdapterFrame" />
228                 </type>
229                 <type fullname="System.Reflection.ParameterInfo" preserve="fields" />
230                 <!-- reflection.c: ves_icall_get_parameter_info -->
231                 <type fullname="System.Reflection.MonoParameterInfo" preserve="fields" />
232                 
233                 <type fullname="System.Reflection.PropertyInfo" preserve="fields" />
234                 <type fullname="System.Reflection.ReflectionTypeLoadException" />
235                 <type fullname="System.Reflection.TargetException" />
236                 <type fullname="System.Reflection.TargetParameterCountException" />
237
238                 <type fullname="System.Reflection.Emit.AssemblyBuilder" preserve="fields">
239                         <method name="AddPermissionRequests" />
240                         <method name="AddModule" />
241                         <method name="DefineIconResource" />
242                         <method name="AddTypeForwarder" />
243                         <method name="EmbedResourceFile" />
244                 </type>
245                 <type fullname="System.Reflection.Emit.ConstructorBuilder" preserve="fields" />
246                 <type fullname="System.Reflection.Emit.CustomAttributeBuilder" preserve="fields" />
247                 <type fullname="System.Reflection.Emit.DynamicMethod" preserve="fields" />
248                 <type fullname="System.Reflection.Emit.EnumBuilder" preserve="fields" />
249                 <type fullname="System.Reflection.Emit.EventBuilder" preserve="fields" />
250                 <type fullname="System.Reflection.Emit.FieldBuilder" preserve="fields" />
251                 <type fullname="System.Reflection.Emit.GenericTypeParameterBuilder" preserve="fields" />
252                 <type fullname="System.Reflection.Emit.ILExceptionBlock" preserve="fields" />
253                 <type fullname="System.Reflection.Emit.ILExceptionInfo" preserve="fields" />
254                 <type fullname="System.Reflection.Emit.ILGenerator" preserve="fields">
255                         <method name="Mono_GetCurrentOffset" />
256                 </type>
257                 <type fullname="System.Reflection.Emit.LocalBuilder" preserve="fields">
258                         <method name="Mono_GetLocalIndex" />
259                 </type>
260                 <type fullname="System.Reflection.Emit.MethodBuilder" preserve="fields" />
261                 <type fullname="System.Reflection.Emit.ModuleBuilder" preserve="fields">
262                         <method name="Mono_GetGuid" />
263                         <method name="RuntimeResolve" />
264                 </type>
265                 <type fullname="System.Reflection.Emit.MonoResource" preserve="fields" />
266                 <type fullname="System.Reflection.Emit.MonoWin32Resource" preserve="fields" />
267                 <type fullname="System.Reflection.Emit.ParameterBuilder" preserve="fields" />
268                 <type fullname="System.Reflection.Emit.PropertyBuilder" preserve="fields" />
269                 <type fullname="System.Reflection.Emit.SignatureHelper" preserve="fields" />
270                 <type fullname="System.Reflection.Emit.TypeBuilder" preserve="fields">
271                         <method name="SetCharSet" />
272                 </type>
273                 <type fullname="System.Reflection.Emit.UnmanagedMarshal" preserve="fields">
274                         <method name="DefineCustom" />
275                         <method name="DefineLPArrayInternal" />
276                 </type>
277
278                 <!--
279                 <type fullname="System.Runtime.CompilerServices.CallConvCdecl" />
280                 <type fullname="System.Runtime.CompilerServices.CallConvStdcall" />
281                 <type fullname="System.Runtime.CompilerServices.CallConvFastcall" />
282                 <type fullname="System.Runtime.CompilerServices.CallConvThiscall" />
283                 -->
284
285                 <type fullname="System.Runtime.CompilerServices.InternalsVisibleToAttribute" />
286                 <type fullname="System.Runtime.CompilerServices.RuntimeWrappedException">
287                   <method signature="System.Void .ctor(System.Object)" />
288                 </type>
289                 <!-- <type fullname="System.Runtime.CompilerServices.RequiredAttributeAttribute" />
290                 <type fullname="System.Runtime.CompilerServices.RuntimeHelpers" />
291                 <type fullname="System.Runtime.CompilerServices.TypeForwardedToAttribute" /> -->
292
293                 <!-- <type fullname="System.Runtime.InteropServices.DllImportAttribute" /> -->
294                 <type fullname="System.Runtime.InteropServices.GCHandle" />
295                 <!-- <type fullname="System.Runtime.InteropServices.GuidAttribute" /> -->
296                 <type fullname="System.Runtime.InteropServices.HandleRef" />
297                 <type fullname="System.Runtime.InteropServices.ICustomMarshaler" />
298                 <!--<type fullname="System.Runtime.InteropServices.InterfaceTypeAttribute" /> -->
299                 <type fullname="System.Runtime.InteropServices.Marshal" />
300                 <!-- <type fullname="System.Runtime.InteropServices.MarshalDirectiveException" />
301                 <type fullname="System.Runtime.InteropServices.SafeHandle" />
302                 <type fullname="System.Runtime.InteropServices.StructLayoutAttribute" />
303                 <type fullname="System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute" />-->
304
305                 <!-- <type fullname="System.Runtime.Remoting.Activation.ActivationServices" /> -->
306                 <type fullname="System.Runtime.Remoting.Contexts.Context" preserve="fields">
307                         <method name="get_NeedsContextSink" />
308                 </type>
309                 <type fullname="System.Runtime.Remoting.Channels.CrossAppDomainSink" />
310                 <type fullname="System.Runtime.Remoting.IRemotingTypeInfo">
311                         <method name="CanCastTo" />
312                 </type>
313                 <type fullname="System.Runtime.Remoting.Messaging.AsyncResult" preserve="fields" />
314                 <type fullname="System.Runtime.Remoting.Messaging.CallContext">
315                         <method name="SetCurrentCallContext" />
316                 </type>
317                 <type fullname="System.Runtime.Remoting.Messaging.MonoMethodMessage" preserve="fields">
318                         <method name="InitMessage" />
319                 </type>
320                 <type fullname="System.Runtime.Remoting.Proxies.RealProxy" preserve="fields">
321                         <method name="PrivateInvoke" />
322                         <method name="GetAppDomainTarget" />
323                 </type>
324                 <type fullname="System.Runtime.Remoting.Proxies.TransparentProxy" preserve="fields">
325                         <method name="LoadRemoteFieldNew" />
326                         <method name="StoreRemoteField" />
327                 </type>
328                 <type fullname="System.Runtime.Remoting.RemotingServices">
329                         <method name="SerializeCallData" />
330                         <method name="DeserializeCallData" />
331                         <method name="SerializeExceptionData" />
332                 </type>
333
334                 <!--
335                 <type fullname="System.Runtime.Serialization.ISerializable" />
336                 <type fullname="System.Runtime.Serialization.SerializationException" />
337                 <type fullname="System.Runtime.Serialization.SerializationInfo" />
338                 <type fullname="System.Runtime.Serialization.StreamingContext" />
339                 -->
340
341                 <type fullname="System.Threading.ExecutionContext" />
342                 <type fullname="System.Threading.Interlocked">
343                         <method name="CompareExchange" />
344                         <method name="Exchange" />
345                 </type>
346                 <type fullname="System.Threading.Monitor">
347                         <method name="Enter" />
348                         <method name="Exit" />
349                         <method name="enter_with_atomic_var" />
350                 </type>
351
352                 <!--
353                 <type fullname="System.Threading.Mutex" />
354                 <type fullname="System.Threading.NativeEventCalls" />
355                 <type fullname="System.Threading.Semaphore" />
356                 -->
357
358                 <type fullname="System.Threading.SynchronisationLockException" />
359                 <type fullname="System.Threading.Thread" preserve="fields">
360                         <method name="get_CurrentContext" />
361                 </type>
362                 <type fullname="System.Threading.InternalThread" preserve="fields" />
363                 <type fullname="System.Threading.ThreadAbortException" />
364                 <type fullname="System.Threading.ThreadInterruptedException" />
365                 <!--<type fullname="System.Threading.ThreadPool" />-->
366                 <type fullname="System.Threading.ThreadState" preserve="fields" />
367                 <type fullname="System.Threading.ThreadStateException" />
368                 <type fullname="System.Threading.WaitHandle" preserve="fields">
369                         <method name="set_Handle" />
370                 </type>
371                 <type fullname="System.Threading._ThreadPoolWaitCallback">
372                   <method name="PerformWaitCallback"/>
373                 </type>
374
375                 <type fullname="System.Text.StringBuilder" preserve="fields" />
376
377                 <type fullname="System.Security.AllowPartiallyTrustedCallersAttribute" />
378                 <type fullname="System.Security.Policy.Evidence" />
379                 <!--
380                 <type fullname="System.Security.Principal.WindowsIdentity" />
381                 <type fullname="System.Security.Principal.WindowsImpersonationContext" />
382                 <type fullname="System.Security.Principal.WindowsPrincipal" />
383                 <type fullname="System.Security.RuntimeSecurityFrame" />
384                 <type fullname="System.Security.SecurityCriticalAttribute" />
385                 <type fullname="System.Security.SecurityException" />
386                 -->
387                 <type fullname="System.Security.SecurityManager" />
388                 <!--
389                 <type fullname="System.Security.SuppressUnmanagedCodeSecurityAttribute" />
390                 <type fullname="System.Security.VerificationException" />
391                 -->
392
393                 <namespace fullname="System.Security.Cryptography" feature="crypto" />
394
395                 <type fullname="Mono.Interop.ComInteropProxy" feature="com" />
396                 <type fullname="Mono.Interop.IDispatch" feature="com" />
397                 <type fullname="Mono.Interop.IUnknown" feature="com"/>
398
399                 <!-- by convention (and see #34671) -->
400                 <type fullname="Mono.Runtime" />
401
402                 <type fullname="Mono.RuntimeStructs/HandleStackMark" />
403                 <type fullname="Mono.RuntimeStructs/MonoError" />
404         </assembly>
405 </linker>