diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-03-06 18:17:12 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-03-06 18:17:12 +0300 |
commit | 0844fcfd21dda3fd4c82e8665832ff7b334a22d0 (patch) | |
tree | 83883099c8d625c1837b99297eac819c79c11b8b | |
parent | 0c8a9d25123bfb9fbcec53f2b5bebfd041df32d6 (diff) |
Apply changes from https://github.com/mono/mono/pull/13325 to API snapshot
5 files changed, 23 insertions, 325 deletions
diff --git a/profiles/monodroid/Facades/System.Reflection.DispatchProxy.cs b/profiles/monodroid/Facades/System.Reflection.DispatchProxy.cs index 95f1b0a..f76bc76 100644 --- a/profiles/monodroid/Facades/System.Reflection.DispatchProxy.cs +++ b/profiles/monodroid/Facades/System.Reflection.DispatchProxy.cs @@ -15,50 +15,4 @@ [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)] [assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)] [assembly:System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.RequestMinimum, SkipVerification=true)] -namespace System -{ - [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)] - internal partial class MonoDocumentationNoteAttribute : System.MonoTODOAttribute - { - public MonoDocumentationNoteAttribute(string comment) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)] - internal partial class MonoExtensionAttribute : System.MonoTODOAttribute - { - public MonoExtensionAttribute(string comment) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)] - internal partial class MonoInternalNoteAttribute : System.MonoTODOAttribute - { - public MonoInternalNoteAttribute(string comment) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)] - internal partial class MonoLimitationAttribute : System.MonoTODOAttribute - { - public MonoLimitationAttribute(string comment) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)] - internal partial class MonoNotSupportedAttribute : System.MonoTODOAttribute - { - public MonoNotSupportedAttribute(string comment) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)] - internal partial class MonoTODOAttribute : System.Attribute - { - public MonoTODOAttribute() { } - public MonoTODOAttribute(string comment) { } - public string Comment { get { throw null; } } - } -} -namespace System.Reflection -{ - public abstract partial class DispatchProxy - { - [System.MonoTODOAttribute] - protected DispatchProxy() { } - [System.MonoTODOAttribute] - public static T Create<T, TProxy>() where TProxy : System.Reflection.DispatchProxy { throw null; } - [System.MonoTODOAttribute] - protected abstract object Invoke(System.Reflection.MethodInfo targetMethod, object[] args); - } -} +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.DispatchProxy))] diff --git a/profiles/monodroid/Facades/System.Reflection.TypeExtensions.cs b/profiles/monodroid/Facades/System.Reflection.TypeExtensions.cs index 34089a9..806e9f5 100644 --- a/profiles/monodroid/Facades/System.Reflection.TypeExtensions.cs +++ b/profiles/monodroid/Facades/System.Reflection.TypeExtensions.cs @@ -14,81 +14,11 @@ [assembly:System.Reflection.AssemblyTitleAttribute("System.Reflection.TypeExtensions")] [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)] [assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.AssemblyExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.BindingFlags))] -namespace System.Reflection -{ - public static partial class AssemblyExtensions - { - public static System.Type[] GetExportedTypes(System.Reflection.Assembly assembly) { throw null; } - public static System.Reflection.Module[] GetModules(System.Reflection.Assembly assembly) { throw null; } - public static System.Type[] GetTypes(System.Reflection.Assembly assembly) { throw null; } - } - public static partial class EventInfoExtensions - { - public static System.Reflection.MethodInfo GetAddMethod(System.Reflection.EventInfo eventInfo) { throw null; } - public static System.Reflection.MethodInfo GetAddMethod(System.Reflection.EventInfo eventInfo, bool nonPublic) { throw null; } - public static System.Reflection.MethodInfo GetRaiseMethod(System.Reflection.EventInfo eventInfo) { throw null; } - public static System.Reflection.MethodInfo GetRaiseMethod(System.Reflection.EventInfo eventInfo, bool nonPublic) { throw null; } - public static System.Reflection.MethodInfo GetRemoveMethod(System.Reflection.EventInfo eventInfo) { throw null; } - public static System.Reflection.MethodInfo GetRemoveMethod(System.Reflection.EventInfo eventInfo, bool nonPublic) { throw null; } - } - public static partial class MemberInfoExtensions - { - public static int GetMetadataToken(this System.Reflection.MemberInfo member) { throw null; } - public static bool HasMetadataToken(this System.Reflection.MemberInfo member) { throw null; } - } - public static partial class MethodInfoExtensions - { - public static System.Reflection.MethodInfo GetBaseDefinition(System.Reflection.MethodInfo method) { throw null; } - } - public static partial class ModuleExtensions - { - public static System.Guid GetModuleVersionId(this System.Reflection.Module module) { throw null; } - public static bool HasModuleVersionId(this System.Reflection.Module module) { throw null; } - } - public static partial class PropertyInfoExtensions - { - public static System.Reflection.MethodInfo[] GetAccessors(System.Reflection.PropertyInfo property) { throw null; } - public static System.Reflection.MethodInfo[] GetAccessors(System.Reflection.PropertyInfo property, bool nonPublic) { throw null; } - public static System.Reflection.MethodInfo GetGetMethod(System.Reflection.PropertyInfo property) { throw null; } - public static System.Reflection.MethodInfo GetGetMethod(System.Reflection.PropertyInfo property, bool nonPublic) { throw null; } - public static System.Reflection.MethodInfo GetSetMethod(System.Reflection.PropertyInfo property) { throw null; } - public static System.Reflection.MethodInfo GetSetMethod(System.Reflection.PropertyInfo property, bool nonPublic) { throw null; } - } - public static partial class TypeExtensions - { - public static System.Reflection.ConstructorInfo GetConstructor(System.Type type, System.Type[] types) { throw null; } - public static System.Reflection.ConstructorInfo[] GetConstructors(System.Type type) { throw null; } - public static System.Reflection.ConstructorInfo[] GetConstructors(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.MemberInfo[] GetDefaultMembers(System.Type type) { throw null; } - public static System.Reflection.EventInfo GetEvent(System.Type type, string name) { throw null; } - public static System.Reflection.EventInfo GetEvent(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.EventInfo[] GetEvents(System.Type type) { throw null; } - public static System.Reflection.EventInfo[] GetEvents(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.FieldInfo GetField(System.Type type, string name) { throw null; } - public static System.Reflection.FieldInfo GetField(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.FieldInfo[] GetFields(System.Type type) { throw null; } - public static System.Reflection.FieldInfo[] GetFields(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Type[] GetGenericArguments(System.Type type) { throw null; } - public static System.Type[] GetInterfaces(System.Type type) { throw null; } - public static System.Reflection.MemberInfo[] GetMember(System.Type type, string name) { throw null; } - public static System.Reflection.MemberInfo[] GetMember(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.MemberInfo[] GetMembers(System.Type type) { throw null; } - public static System.Reflection.MemberInfo[] GetMembers(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.MethodInfo GetMethod(System.Type type, string name) { throw null; } - public static System.Reflection.MethodInfo GetMethod(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.MethodInfo GetMethod(System.Type type, string name, System.Type[] types) { throw null; } - public static System.Reflection.MethodInfo[] GetMethods(System.Type type) { throw null; } - public static System.Reflection.MethodInfo[] GetMethods(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Type GetNestedType(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Type[] GetNestedTypes(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.PropertyInfo[] GetProperties(System.Type type) { throw null; } - public static System.Reflection.PropertyInfo[] GetProperties(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.PropertyInfo GetProperty(System.Type type, string name) { throw null; } - public static System.Reflection.PropertyInfo GetProperty(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.PropertyInfo GetProperty(System.Type type, string name, System.Type returnType) { throw null; } - public static System.Reflection.PropertyInfo GetProperty(System.Type type, string name, System.Type returnType, System.Type[] types) { throw null; } - public static bool IsAssignableFrom(System.Type type, System.Type c) { throw null; } - public static bool IsInstanceOfType(System.Type type, object o) { throw null; } - } -} +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.EventInfoExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.MemberInfoExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.MethodInfoExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.ModuleExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.PropertyInfoExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.TypeExtensions))] diff --git a/profiles/monotouch/Facades/System.Reflection.DispatchProxy.cs b/profiles/monotouch/Facades/System.Reflection.DispatchProxy.cs index 95f1b0a..f76bc76 100644 --- a/profiles/monotouch/Facades/System.Reflection.DispatchProxy.cs +++ b/profiles/monotouch/Facades/System.Reflection.DispatchProxy.cs @@ -15,50 +15,4 @@ [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)] [assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)] [assembly:System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.RequestMinimum, SkipVerification=true)] -namespace System -{ - [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)] - internal partial class MonoDocumentationNoteAttribute : System.MonoTODOAttribute - { - public MonoDocumentationNoteAttribute(string comment) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)] - internal partial class MonoExtensionAttribute : System.MonoTODOAttribute - { - public MonoExtensionAttribute(string comment) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)] - internal partial class MonoInternalNoteAttribute : System.MonoTODOAttribute - { - public MonoInternalNoteAttribute(string comment) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)] - internal partial class MonoLimitationAttribute : System.MonoTODOAttribute - { - public MonoLimitationAttribute(string comment) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)] - internal partial class MonoNotSupportedAttribute : System.MonoTODOAttribute - { - public MonoNotSupportedAttribute(string comment) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)] - internal partial class MonoTODOAttribute : System.Attribute - { - public MonoTODOAttribute() { } - public MonoTODOAttribute(string comment) { } - public string Comment { get { throw null; } } - } -} -namespace System.Reflection -{ - public abstract partial class DispatchProxy - { - [System.MonoTODOAttribute] - protected DispatchProxy() { } - [System.MonoTODOAttribute] - public static T Create<T, TProxy>() where TProxy : System.Reflection.DispatchProxy { throw null; } - [System.MonoTODOAttribute] - protected abstract object Invoke(System.Reflection.MethodInfo targetMethod, object[] args); - } -} +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.DispatchProxy))] diff --git a/profiles/monotouch/Facades/System.Reflection.TypeExtensions.cs b/profiles/monotouch/Facades/System.Reflection.TypeExtensions.cs index 34089a9..806e9f5 100644 --- a/profiles/monotouch/Facades/System.Reflection.TypeExtensions.cs +++ b/profiles/monotouch/Facades/System.Reflection.TypeExtensions.cs @@ -14,81 +14,11 @@ [assembly:System.Reflection.AssemblyTitleAttribute("System.Reflection.TypeExtensions")] [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)] [assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.AssemblyExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.BindingFlags))] -namespace System.Reflection -{ - public static partial class AssemblyExtensions - { - public static System.Type[] GetExportedTypes(System.Reflection.Assembly assembly) { throw null; } - public static System.Reflection.Module[] GetModules(System.Reflection.Assembly assembly) { throw null; } - public static System.Type[] GetTypes(System.Reflection.Assembly assembly) { throw null; } - } - public static partial class EventInfoExtensions - { - public static System.Reflection.MethodInfo GetAddMethod(System.Reflection.EventInfo eventInfo) { throw null; } - public static System.Reflection.MethodInfo GetAddMethod(System.Reflection.EventInfo eventInfo, bool nonPublic) { throw null; } - public static System.Reflection.MethodInfo GetRaiseMethod(System.Reflection.EventInfo eventInfo) { throw null; } - public static System.Reflection.MethodInfo GetRaiseMethod(System.Reflection.EventInfo eventInfo, bool nonPublic) { throw null; } - public static System.Reflection.MethodInfo GetRemoveMethod(System.Reflection.EventInfo eventInfo) { throw null; } - public static System.Reflection.MethodInfo GetRemoveMethod(System.Reflection.EventInfo eventInfo, bool nonPublic) { throw null; } - } - public static partial class MemberInfoExtensions - { - public static int GetMetadataToken(this System.Reflection.MemberInfo member) { throw null; } - public static bool HasMetadataToken(this System.Reflection.MemberInfo member) { throw null; } - } - public static partial class MethodInfoExtensions - { - public static System.Reflection.MethodInfo GetBaseDefinition(System.Reflection.MethodInfo method) { throw null; } - } - public static partial class ModuleExtensions - { - public static System.Guid GetModuleVersionId(this System.Reflection.Module module) { throw null; } - public static bool HasModuleVersionId(this System.Reflection.Module module) { throw null; } - } - public static partial class PropertyInfoExtensions - { - public static System.Reflection.MethodInfo[] GetAccessors(System.Reflection.PropertyInfo property) { throw null; } - public static System.Reflection.MethodInfo[] GetAccessors(System.Reflection.PropertyInfo property, bool nonPublic) { throw null; } - public static System.Reflection.MethodInfo GetGetMethod(System.Reflection.PropertyInfo property) { throw null; } - public static System.Reflection.MethodInfo GetGetMethod(System.Reflection.PropertyInfo property, bool nonPublic) { throw null; } - public static System.Reflection.MethodInfo GetSetMethod(System.Reflection.PropertyInfo property) { throw null; } - public static System.Reflection.MethodInfo GetSetMethod(System.Reflection.PropertyInfo property, bool nonPublic) { throw null; } - } - public static partial class TypeExtensions - { - public static System.Reflection.ConstructorInfo GetConstructor(System.Type type, System.Type[] types) { throw null; } - public static System.Reflection.ConstructorInfo[] GetConstructors(System.Type type) { throw null; } - public static System.Reflection.ConstructorInfo[] GetConstructors(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.MemberInfo[] GetDefaultMembers(System.Type type) { throw null; } - public static System.Reflection.EventInfo GetEvent(System.Type type, string name) { throw null; } - public static System.Reflection.EventInfo GetEvent(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.EventInfo[] GetEvents(System.Type type) { throw null; } - public static System.Reflection.EventInfo[] GetEvents(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.FieldInfo GetField(System.Type type, string name) { throw null; } - public static System.Reflection.FieldInfo GetField(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.FieldInfo[] GetFields(System.Type type) { throw null; } - public static System.Reflection.FieldInfo[] GetFields(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Type[] GetGenericArguments(System.Type type) { throw null; } - public static System.Type[] GetInterfaces(System.Type type) { throw null; } - public static System.Reflection.MemberInfo[] GetMember(System.Type type, string name) { throw null; } - public static System.Reflection.MemberInfo[] GetMember(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.MemberInfo[] GetMembers(System.Type type) { throw null; } - public static System.Reflection.MemberInfo[] GetMembers(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.MethodInfo GetMethod(System.Type type, string name) { throw null; } - public static System.Reflection.MethodInfo GetMethod(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.MethodInfo GetMethod(System.Type type, string name, System.Type[] types) { throw null; } - public static System.Reflection.MethodInfo[] GetMethods(System.Type type) { throw null; } - public static System.Reflection.MethodInfo[] GetMethods(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Type GetNestedType(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Type[] GetNestedTypes(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.PropertyInfo[] GetProperties(System.Type type) { throw null; } - public static System.Reflection.PropertyInfo[] GetProperties(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.PropertyInfo GetProperty(System.Type type, string name) { throw null; } - public static System.Reflection.PropertyInfo GetProperty(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.PropertyInfo GetProperty(System.Type type, string name, System.Type returnType) { throw null; } - public static System.Reflection.PropertyInfo GetProperty(System.Type type, string name, System.Type returnType, System.Type[] types) { throw null; } - public static bool IsAssignableFrom(System.Type type, System.Type c) { throw null; } - public static bool IsInstanceOfType(System.Type type, object o) { throw null; } - } -} +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.EventInfoExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.MemberInfoExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.MethodInfoExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.ModuleExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.PropertyInfoExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.TypeExtensions))] diff --git a/profiles/net_4_x/Facades/System.Reflection.TypeExtensions.cs b/profiles/net_4_x/Facades/System.Reflection.TypeExtensions.cs index 34089a9..806e9f5 100644 --- a/profiles/net_4_x/Facades/System.Reflection.TypeExtensions.cs +++ b/profiles/net_4_x/Facades/System.Reflection.TypeExtensions.cs @@ -14,81 +14,11 @@ [assembly:System.Reflection.AssemblyTitleAttribute("System.Reflection.TypeExtensions")] [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)] [assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.AssemblyExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.BindingFlags))] -namespace System.Reflection -{ - public static partial class AssemblyExtensions - { - public static System.Type[] GetExportedTypes(System.Reflection.Assembly assembly) { throw null; } - public static System.Reflection.Module[] GetModules(System.Reflection.Assembly assembly) { throw null; } - public static System.Type[] GetTypes(System.Reflection.Assembly assembly) { throw null; } - } - public static partial class EventInfoExtensions - { - public static System.Reflection.MethodInfo GetAddMethod(System.Reflection.EventInfo eventInfo) { throw null; } - public static System.Reflection.MethodInfo GetAddMethod(System.Reflection.EventInfo eventInfo, bool nonPublic) { throw null; } - public static System.Reflection.MethodInfo GetRaiseMethod(System.Reflection.EventInfo eventInfo) { throw null; } - public static System.Reflection.MethodInfo GetRaiseMethod(System.Reflection.EventInfo eventInfo, bool nonPublic) { throw null; } - public static System.Reflection.MethodInfo GetRemoveMethod(System.Reflection.EventInfo eventInfo) { throw null; } - public static System.Reflection.MethodInfo GetRemoveMethod(System.Reflection.EventInfo eventInfo, bool nonPublic) { throw null; } - } - public static partial class MemberInfoExtensions - { - public static int GetMetadataToken(this System.Reflection.MemberInfo member) { throw null; } - public static bool HasMetadataToken(this System.Reflection.MemberInfo member) { throw null; } - } - public static partial class MethodInfoExtensions - { - public static System.Reflection.MethodInfo GetBaseDefinition(System.Reflection.MethodInfo method) { throw null; } - } - public static partial class ModuleExtensions - { - public static System.Guid GetModuleVersionId(this System.Reflection.Module module) { throw null; } - public static bool HasModuleVersionId(this System.Reflection.Module module) { throw null; } - } - public static partial class PropertyInfoExtensions - { - public static System.Reflection.MethodInfo[] GetAccessors(System.Reflection.PropertyInfo property) { throw null; } - public static System.Reflection.MethodInfo[] GetAccessors(System.Reflection.PropertyInfo property, bool nonPublic) { throw null; } - public static System.Reflection.MethodInfo GetGetMethod(System.Reflection.PropertyInfo property) { throw null; } - public static System.Reflection.MethodInfo GetGetMethod(System.Reflection.PropertyInfo property, bool nonPublic) { throw null; } - public static System.Reflection.MethodInfo GetSetMethod(System.Reflection.PropertyInfo property) { throw null; } - public static System.Reflection.MethodInfo GetSetMethod(System.Reflection.PropertyInfo property, bool nonPublic) { throw null; } - } - public static partial class TypeExtensions - { - public static System.Reflection.ConstructorInfo GetConstructor(System.Type type, System.Type[] types) { throw null; } - public static System.Reflection.ConstructorInfo[] GetConstructors(System.Type type) { throw null; } - public static System.Reflection.ConstructorInfo[] GetConstructors(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.MemberInfo[] GetDefaultMembers(System.Type type) { throw null; } - public static System.Reflection.EventInfo GetEvent(System.Type type, string name) { throw null; } - public static System.Reflection.EventInfo GetEvent(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.EventInfo[] GetEvents(System.Type type) { throw null; } - public static System.Reflection.EventInfo[] GetEvents(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.FieldInfo GetField(System.Type type, string name) { throw null; } - public static System.Reflection.FieldInfo GetField(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.FieldInfo[] GetFields(System.Type type) { throw null; } - public static System.Reflection.FieldInfo[] GetFields(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Type[] GetGenericArguments(System.Type type) { throw null; } - public static System.Type[] GetInterfaces(System.Type type) { throw null; } - public static System.Reflection.MemberInfo[] GetMember(System.Type type, string name) { throw null; } - public static System.Reflection.MemberInfo[] GetMember(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.MemberInfo[] GetMembers(System.Type type) { throw null; } - public static System.Reflection.MemberInfo[] GetMembers(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.MethodInfo GetMethod(System.Type type, string name) { throw null; } - public static System.Reflection.MethodInfo GetMethod(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.MethodInfo GetMethod(System.Type type, string name, System.Type[] types) { throw null; } - public static System.Reflection.MethodInfo[] GetMethods(System.Type type) { throw null; } - public static System.Reflection.MethodInfo[] GetMethods(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Type GetNestedType(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Type[] GetNestedTypes(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.PropertyInfo[] GetProperties(System.Type type) { throw null; } - public static System.Reflection.PropertyInfo[] GetProperties(System.Type type, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.PropertyInfo GetProperty(System.Type type, string name) { throw null; } - public static System.Reflection.PropertyInfo GetProperty(System.Type type, string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public static System.Reflection.PropertyInfo GetProperty(System.Type type, string name, System.Type returnType) { throw null; } - public static System.Reflection.PropertyInfo GetProperty(System.Type type, string name, System.Type returnType, System.Type[] types) { throw null; } - public static bool IsAssignableFrom(System.Type type, System.Type c) { throw null; } - public static bool IsInstanceOfType(System.Type type, object o) { throw null; } - } -} +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.EventInfoExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.MemberInfoExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.MethodInfoExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.ModuleExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.PropertyInfoExtensions))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.TypeExtensions))] |