Imported Upstream version 4.6.0.182

Former-commit-id: 439c182e520038bf50777ca2fe684f216ae28552
This commit is contained in:
Xamarin Public Jenkins (auto-signing) 2016-09-01 10:46:18 +00:00
parent c911219690
commit 804b15604f
118 changed files with 1007 additions and 891 deletions

View File

@ -36,22 +36,28 @@ namespace Microsoft.Win32
{ {
public static class RegistryAclExtensions public static class RegistryAclExtensions
{ {
[MonoTODO]
public static RegistrySecurity GetAccessControl (this RegistryKey key) public static RegistrySecurity GetAccessControl (this RegistryKey key)
{ {
throw new NotImplementedException (); if (key == null)
throw new ArgumentNullException (nameof (key));
return key.GetAccessControl ();
} }
[MonoTODO]
public static RegistrySecurity GetAccessControl (this RegistryKey key, AccessControlSections includeSections) public static RegistrySecurity GetAccessControl (this RegistryKey key, AccessControlSections includeSections)
{ {
throw new NotImplementedException (); if (key == null)
throw new ArgumentNullException (nameof (key));
return key.GetAccessControl (includeSections);
} }
[MonoTODO]
public static void SetAccessControl (this RegistryKey key, RegistrySecurity registrySecurity) public static void SetAccessControl (this RegistryKey key, RegistrySecurity registrySecurity)
{ {
throw new NotImplementedException (); if (key == null)
throw new ArgumentNullException (nameof (key));
key.SetAccessControl (registrySecurity);
} }
} }
} }

View File

@ -37,36 +37,54 @@ namespace System.Diagnostics
[MonoTODO] [MonoTODO]
public static IntPtr GetNativeImageBase (this StackFrame stackFrame) public static IntPtr GetNativeImageBase (this StackFrame stackFrame)
{ {
if (stackFrame == null)
throw new ArgumentNullException (nameof (stackFrame));
throw new NotImplementedException (); throw new NotImplementedException ();
} }
[MonoTODO] [MonoTODO]
public static IntPtr GetNativeIP (this StackFrame stackFrame) public static IntPtr GetNativeIP (this StackFrame stackFrame)
{ {
if (stackFrame == null)
throw new ArgumentNullException (nameof (stackFrame));
throw new NotImplementedException (); throw new NotImplementedException ();
} }
[MonoTODO] [MonoTODO]
public static bool HasNativeImage (this StackFrame stackFrame) public static bool HasNativeImage (this StackFrame stackFrame)
{ {
if (stackFrame == null)
throw new ArgumentNullException (nameof (stackFrame));
throw new NotImplementedException (); throw new NotImplementedException ();
} }
[MonoTODO] [MonoTODO]
public static bool HasMethod (this StackFrame stackFrame) public static bool HasMethod (this StackFrame stackFrame)
{ {
if (stackFrame == null)
throw new ArgumentNullException (nameof (stackFrame));
throw new NotImplementedException (); throw new NotImplementedException ();
} }
[MonoTODO] [MonoTODO]
public static bool HasILOffset (this StackFrame stackFrame) public static bool HasILOffset (this StackFrame stackFrame)
{ {
if (stackFrame == null)
throw new ArgumentNullException (nameof (stackFrame));
throw new NotImplementedException (); throw new NotImplementedException ();
} }
[MonoTODO] [MonoTODO]
public static bool HasSource (this StackFrame stackFrame) public static bool HasSource (this StackFrame stackFrame)
{ {
if (stackFrame == null)
throw new ArgumentNullException (nameof (stackFrame));
throw new NotImplementedException (); throw new NotImplementedException ();
} }
} }

View File

@ -33,28 +33,36 @@ namespace System
{ {
public static class StringNormalizationExtensions public static class StringNormalizationExtensions
{ {
[MonoTODO]
public static bool IsNormalized(this string value) public static bool IsNormalized(this string value)
{ {
throw new NotImplementedException (); if (value == null)
throw new ArgumentNullException (nameof (value));
return value.IsNormalized ();
} }
[MonoTODO]
public static bool IsNormalized(this string value, NormalizationForm normalizationForm) public static bool IsNormalized(this string value, NormalizationForm normalizationForm)
{ {
throw new NotImplementedException (); if (value == null)
throw new ArgumentNullException (nameof (value));
return value.IsNormalized (normalizationForm);
} }
[MonoTODO]
public static String Normalize(this string value) public static String Normalize(this string value)
{ {
throw new NotImplementedException (); if (value == null)
throw new ArgumentNullException (nameof (value));
return value.Normalize ();
} }
[MonoTODO]
public static String Normalize(this string value, NormalizationForm normalizationForm) public static String Normalize(this string value, NormalizationForm normalizationForm)
{ {
throw new NotImplementedException (); if (value == null)
throw new ArgumentNullException (nameof (value));
return value.Normalize (normalizationForm);
} }
} }
} }

View File

@ -28,56 +28,74 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// //
using System.Security.AccessControl;
namespace System.IO namespace System.IO
{ {
public static partial class FileSystemAclExtensions public static class FileSystemAclExtensions
{ {
[MonoTODO] public static DirectorySecurity GetAccessControl(this DirectoryInfo directoryInfo)
public static System.Security.AccessControl.DirectorySecurity GetAccessControl(this System.IO.DirectoryInfo directoryInfo)
{ {
throw new NotImplementedException (); if (directoryInfo == null)
throw new ArgumentNullException (nameof (directoryInfo));
return directoryInfo.GetAccessControl ();
} }
[MonoTODO] public static DirectorySecurity GetAccessControl(this DirectoryInfo directoryInfo, AccessControlSections includeSections)
public static System.Security.AccessControl.DirectorySecurity GetAccessControl(this System.IO.DirectoryInfo directoryInfo, System.Security.AccessControl.AccessControlSections includeSections)
{ {
throw new NotImplementedException (); if (directoryInfo == null)
throw new ArgumentNullException (nameof (directoryInfo));
return directoryInfo.GetAccessControl (includeSections);
} }
[MonoTODO] public static FileSecurity GetAccessControl(this FileInfo fileInfo)
public static System.Security.AccessControl.FileSecurity GetAccessControl(this System.IO.FileInfo fileInfo)
{ {
throw new NotImplementedException (); if (fileInfo == null)
throw new ArgumentNullException (nameof (fileInfo));
return fileInfo.GetAccessControl ();
} }
[MonoTODO] public static FileSecurity GetAccessControl(this FileInfo fileInfo, AccessControlSections includeSections)
public static System.Security.AccessControl.FileSecurity GetAccessControl(this System.IO.FileInfo fileInfo, System.Security.AccessControl.AccessControlSections includeSections)
{ {
throw new NotImplementedException (); if (fileInfo == null)
throw new ArgumentNullException (nameof (fileInfo));
return fileInfo.GetAccessControl (includeSections);
} }
[MonoTODO] public static FileSecurity GetAccessControl(this FileStream fileStream)
public static System.Security.AccessControl.FileSecurity GetAccessControl(this System.IO.FileStream fileStream)
{ {
throw new NotImplementedException (); if (fileStream == null)
throw new ArgumentNullException (nameof (fileStream));
return fileStream.GetAccessControl ();
} }
[MonoTODO] public static void SetAccessControl(this DirectoryInfo directoryInfo, DirectorySecurity directorySecurity)
public static void SetAccessControl(this System.IO.DirectoryInfo directoryInfo, System.Security.AccessControl.DirectorySecurity directorySecurity)
{ {
throw new NotImplementedException (); if (directoryInfo == null)
throw new ArgumentNullException (nameof (directoryInfo));
directoryInfo.SetAccessControl (directorySecurity);
} }
[MonoTODO] public static void SetAccessControl(this FileInfo fileInfo, FileSecurity fileSecurity)
public static void SetAccessControl(this System.IO.FileInfo fileInfo, System.Security.AccessControl.FileSecurity fileSecurity)
{ {
throw new NotImplementedException (); if (fileInfo == null)
throw new ArgumentNullException (nameof (fileInfo));
fileInfo.SetAccessControl (fileSecurity);
} }
[MonoTODO] public static void SetAccessControl(this FileStream fileStream, FileSecurity fileSecurity)
public static void SetAccessControl(this System.IO.FileStream fileStream, System.Security.AccessControl.FileSecurity fileSecurity)
{ {
throw new NotImplementedException (); if (fileStream == null)
throw new ArgumentNullException (nameof (fileStream));
fileStream.SetAccessControl (fileSecurity);
} }
} }
} }

View File

@ -28,12 +28,12 @@ namespace System.Net.Sockets
state: socket); state: socket);
} }
public static Task ConnectAsync(this Socket socket, EndPoint remoteEndPoint) public static Task ConnectAsync(this Socket socket, EndPoint remoteEP)
{ {
return Task.Factory.FromAsync( return Task.Factory.FromAsync(
(targetEndPoint, callback, state) => ((Socket)state).BeginConnect(targetEndPoint, callback, state), (targetEndPoint, callback, state) => ((Socket)state).BeginConnect(targetEndPoint, callback, state),
asyncResult => ((Socket)asyncResult.AsyncState).EndConnect(asyncResult), asyncResult => ((Socket)asyncResult.AsyncState).EndConnect(asyncResult),
remoteEndPoint, remoteEP,
state: socket); state: socket);
} }
@ -229,7 +229,7 @@ namespace System.Net.Sockets
this Socket socket, this Socket socket,
ArraySegment<byte> buffer, ArraySegment<byte> buffer,
SocketFlags socketFlags, SocketFlags socketFlags,
EndPoint remoteEndPoint) EndPoint remoteEP)
{ {
return Task<int>.Factory.FromAsync( return Task<int>.Factory.FromAsync(
(targetBuffer, flags, endPoint, callback, state) => ((Socket)state).BeginSendTo( (targetBuffer, flags, endPoint, callback, state) => ((Socket)state).BeginSendTo(
@ -243,7 +243,7 @@ namespace System.Net.Sockets
asyncResult => ((Socket)asyncResult.AsyncState).EndSendTo(asyncResult), asyncResult => ((Socket)asyncResult.AsyncState).EndSendTo(asyncResult),
buffer, buffer,
socketFlags, socketFlags,
remoteEndPoint, remoteEP,
state: socket); state: socket);
} }
} }

View File

@ -1,37 +0,0 @@
//
// Copyright (c) 2015 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Private.CoreLib.InteropServices.dll")]
[assembly: AssemblyDescription ("System.Private.CoreLib.InteropServices.dll")]
[assembly: AssemblyDefaultAlias ("System.Private.CoreLib.InteropServices.dll")]
[assembly: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2015 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]

View File

@ -1,23 +0,0 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Private.CoreLib.InteropServices
SUBDIRS =
include $(MCS_BUILD_DIR)/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Private.CoreLib.InteropServices.dll
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_REFS = System
LIB_MCS_FLAGS = $(SIGN_FLAGS)
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include $(MCS_BUILD_DIR)/library.make

View File

@ -1,34 +0,0 @@
//
// Copyright (c) 2015 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.CallingConvention))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.DllImportAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.GCHandle))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.GCHandleType))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.SafeHandle))]
//Missing: [assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(Internal.Reflection.Execution.PayForPlayExperience.MissingMetadataExceptionCreator))]
//Missing: [assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.DependencyReductionTypeRemoved))]
//Missing: [assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.PreInitializedAttribute))]
//Missing: [assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.InteropExtensions))]
//Missing: [assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.NativeCallableAttributes))]
//Missing: [assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.RuntimeImportAttribute))]

View File

@ -30,7 +30,7 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyCompany ("Xamarin, Inc.")] [assembly: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")] [assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")] [assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")] [assembly: AssemblyVersion ("4.0.1.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")] [assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")] [assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)] [assembly: AssemblyDelaySign (true)]

View File

@ -30,7 +30,7 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyCompany ("Xamarin, Inc.")] [assembly: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")] [assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")] [assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")] [assembly: AssemblyVersion ("4.0.1.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")] [assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")] [assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)] [assembly: AssemblyDelaySign (true)]

View File

@ -30,7 +30,7 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyCompany ("Xamarin, Inc.")] [assembly: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")] [assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")] [assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")] [assembly: AssemblyVersion ("4.0.1.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")] [assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")] [assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)] [assembly: AssemblyDelaySign (true)]

View File

@ -15,199 +15,199 @@ namespace System.Reflection
{ {
public static class TypeExtensions public static class TypeExtensions
{ {
public static ConstructorInfo GetConstructor(Type type, Type[] types) public static ConstructorInfo GetConstructor(this Type type, Type[] types)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetConstructor(types); return type.GetConstructor(types);
} }
public static ConstructorInfo[] GetConstructors(Type type) public static ConstructorInfo[] GetConstructors(this Type type)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetConstructors(); return type.GetConstructors();
} }
public static ConstructorInfo[] GetConstructors(Type type, BindingFlags bindingAttr) public static ConstructorInfo[] GetConstructors(this Type type, BindingFlags bindingAttr)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetConstructors(bindingAttr); return type.GetConstructors(bindingAttr);
} }
public static MemberInfo[] GetDefaultMembers(Type type) public static MemberInfo[] GetDefaultMembers(this Type type)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetDefaultMembers(); return type.GetDefaultMembers();
} }
public static EventInfo GetEvent(Type type, string name) public static EventInfo GetEvent(this Type type, string name)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetEvent(name); return type.GetEvent(name);
} }
public static EventInfo GetEvent(Type type, string name, BindingFlags bindingAttr) public static EventInfo GetEvent(this Type type, string name, BindingFlags bindingAttr)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetEvent(name, bindingAttr); return type.GetEvent(name, bindingAttr);
} }
public static EventInfo[] GetEvents(Type type) public static EventInfo[] GetEvents(this Type type)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetEvents(); return type.GetEvents();
} }
public static EventInfo[] GetEvents(Type type, BindingFlags bindingAttr) public static EventInfo[] GetEvents(this Type type, BindingFlags bindingAttr)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetEvents(bindingAttr); return type.GetEvents(bindingAttr);
} }
public static FieldInfo GetField(Type type, string name) public static FieldInfo GetField(this Type type, string name)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetField(name); return type.GetField(name);
} }
public static FieldInfo GetField(Type type, string name, BindingFlags bindingAttr) public static FieldInfo GetField(this Type type, string name, BindingFlags bindingAttr)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetField(name, bindingAttr); return type.GetField(name, bindingAttr);
} }
public static FieldInfo[] GetFields(Type type) public static FieldInfo[] GetFields(this Type type)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetFields(); return type.GetFields();
} }
public static FieldInfo[] GetFields(Type type, BindingFlags bindingAttr) public static FieldInfo[] GetFields(this Type type, BindingFlags bindingAttr)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetFields(bindingAttr); return type.GetFields(bindingAttr);
} }
public static Type[] GetGenericArguments(Type type) public static Type[] GetGenericArguments(this Type type)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetGenericArguments(); return type.GetGenericArguments();
} }
public static Type[] GetInterfaces(Type type) public static Type[] GetInterfaces(this Type type)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetInterfaces(); return type.GetInterfaces();
} }
public static MemberInfo[] GetMember(Type type, string name) public static MemberInfo[] GetMember(this Type type, string name)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetMember(name); return type.GetMember(name);
} }
public static MemberInfo[] GetMember(Type type, string name, BindingFlags bindingAttr) public static MemberInfo[] GetMember(this Type type, string name, BindingFlags bindingAttr)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetMember(name, bindingAttr); return type.GetMember(name, bindingAttr);
} }
public static MemberInfo[] GetMembers(Type type) public static MemberInfo[] GetMembers(this Type type)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetMembers(); return type.GetMembers();
} }
public static MemberInfo[] GetMembers(Type type, BindingFlags bindingAttr) public static MemberInfo[] GetMembers(this Type type, BindingFlags bindingAttr)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetMembers(bindingAttr); return type.GetMembers(bindingAttr);
} }
public static MethodInfo GetMethod(Type type, string name) public static MethodInfo GetMethod(this Type type, string name)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetMethod(name); return type.GetMethod(name);
} }
public static MethodInfo GetMethod(Type type, string name, BindingFlags bindingAttr) public static MethodInfo GetMethod(this Type type, string name, BindingFlags bindingAttr)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetMethod(name, bindingAttr); return type.GetMethod(name, bindingAttr);
} }
public static MethodInfo GetMethod(Type type, string name, Type[] types) public static MethodInfo GetMethod(this Type type, string name, Type[] types)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetMethod(name, types); return type.GetMethod(name, types);
} }
public static MethodInfo[] GetMethods(Type type) public static MethodInfo[] GetMethods(this Type type)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetMethods(); return type.GetMethods();
} }
public static MethodInfo[] GetMethods(Type type, BindingFlags bindingAttr) public static MethodInfo[] GetMethods(this Type type, BindingFlags bindingAttr)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetMethods(bindingAttr); return type.GetMethods(bindingAttr);
} }
public static Type GetNestedType(Type type, string name, BindingFlags bindingAttr) public static Type GetNestedType(this Type type, string name, BindingFlags bindingAttr)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetNestedType(name, bindingAttr); return type.GetNestedType(name, bindingAttr);
} }
public static Type[] GetNestedTypes(Type type, BindingFlags bindingAttr) public static Type[] GetNestedTypes(this Type type, BindingFlags bindingAttr)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetNestedTypes(bindingAttr); return type.GetNestedTypes(bindingAttr);
} }
public static PropertyInfo[] GetProperties(Type type) public static PropertyInfo[] GetProperties(this Type type)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetProperties(); return type.GetProperties();
} }
public static PropertyInfo[] GetProperties(Type type, BindingFlags bindingAttr) public static PropertyInfo[] GetProperties(this Type type, BindingFlags bindingAttr)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetProperties(bindingAttr); return type.GetProperties(bindingAttr);
} }
public static PropertyInfo GetProperty(Type type, string name) public static PropertyInfo GetProperty(this Type type, string name)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetProperty(name); return type.GetProperty(name);
} }
public static PropertyInfo GetProperty(Type type, string name, BindingFlags bindingAttr) public static PropertyInfo GetProperty(this Type type, string name, BindingFlags bindingAttr)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetProperty(name, bindingAttr); return type.GetProperty(name, bindingAttr);
} }
public static PropertyInfo GetProperty(Type type, string name, Type returnType) public static PropertyInfo GetProperty(this Type type, string name, Type returnType)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetProperty(name, returnType); return type.GetProperty(name, returnType);
} }
public static PropertyInfo GetProperty(Type type, string name, Type returnType, Type[] types) public static PropertyInfo GetProperty(this Type type, string name, Type returnType, Type[] types)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.GetProperty(name, returnType, types); return type.GetProperty(name, returnType, types);
} }
public static bool IsAssignableFrom(Type type, Type c) public static bool IsAssignableFrom(this Type type, Type c)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.IsAssignableFrom(c); return type.IsAssignableFrom(c);
} }
public static bool IsInstanceOfType(Type type, object o) public static bool IsInstanceOfType(this Type type, object o)
{ {
Requires.NotNull(type, nameof(type)); Requires.NotNull(type, nameof(type));
return type.IsInstanceOfType(o); return type.IsInstanceOfType(o);
@ -216,19 +216,19 @@ namespace System.Reflection
public static class AssemblyExtensions public static class AssemblyExtensions
{ {
public static Type[] GetExportedTypes(Assembly assembly) public static Type[] GetExportedTypes(this Assembly assembly)
{ {
Requires.NotNull(assembly, nameof(assembly)); Requires.NotNull(assembly, nameof(assembly));
return assembly.GetExportedTypes(); return assembly.GetExportedTypes();
} }
public static Module[] GetModules(Assembly assembly) public static Module[] GetModules(this Assembly assembly)
{ {
Requires.NotNull(assembly, nameof(assembly)); Requires.NotNull(assembly, nameof(assembly));
return assembly.GetModules(); return assembly.GetModules();
} }
public static Type[] GetTypes(Assembly assembly) public static Type[] GetTypes(this Assembly assembly)
{ {
Requires.NotNull(assembly, nameof(assembly)); Requires.NotNull(assembly, nameof(assembly));
return assembly.GetTypes(); return assembly.GetTypes();
@ -237,37 +237,37 @@ namespace System.Reflection
public static class EventInfoExtensions public static class EventInfoExtensions
{ {
public static MethodInfo GetAddMethod(EventInfo eventInfo) public static MethodInfo GetAddMethod(this EventInfo eventInfo)
{ {
Requires.NotNull(eventInfo, nameof(eventInfo)); Requires.NotNull(eventInfo, nameof(eventInfo));
return eventInfo.GetAddMethod(); return eventInfo.GetAddMethod();
} }
public static MethodInfo GetAddMethod(EventInfo eventInfo, bool nonPublic) public static MethodInfo GetAddMethod(this EventInfo eventInfo, bool nonPublic)
{ {
Requires.NotNull(eventInfo, nameof(eventInfo)); Requires.NotNull(eventInfo, nameof(eventInfo));
return eventInfo.GetAddMethod(nonPublic); return eventInfo.GetAddMethod(nonPublic);
} }
public static MethodInfo GetRaiseMethod(EventInfo eventInfo) public static MethodInfo GetRaiseMethod(this EventInfo eventInfo)
{ {
Requires.NotNull(eventInfo, nameof(eventInfo)); Requires.NotNull(eventInfo, nameof(eventInfo));
return eventInfo.GetRaiseMethod(); return eventInfo.GetRaiseMethod();
} }
public static MethodInfo GetRaiseMethod(EventInfo eventInfo, bool nonPublic) public static MethodInfo GetRaiseMethod(this EventInfo eventInfo, bool nonPublic)
{ {
Requires.NotNull(eventInfo, nameof(eventInfo)); Requires.NotNull(eventInfo, nameof(eventInfo));
return eventInfo.GetRaiseMethod(nonPublic); return eventInfo.GetRaiseMethod(nonPublic);
} }
public static MethodInfo GetRemoveMethod(EventInfo eventInfo) public static MethodInfo GetRemoveMethod(this EventInfo eventInfo)
{ {
Requires.NotNull(eventInfo, nameof(eventInfo)); Requires.NotNull(eventInfo, nameof(eventInfo));
return eventInfo.GetRemoveMethod(); return eventInfo.GetRemoveMethod();
} }
public static MethodInfo GetRemoveMethod(EventInfo eventInfo, bool nonPublic) public static MethodInfo GetRemoveMethod(this EventInfo eventInfo, bool nonPublic)
{ {
Requires.NotNull(eventInfo, nameof(eventInfo)); Requires.NotNull(eventInfo, nameof(eventInfo));
return eventInfo.GetRemoveMethod(nonPublic); return eventInfo.GetRemoveMethod(nonPublic);
@ -337,7 +337,7 @@ namespace System.Reflection
public static class MethodInfoExtensions public static class MethodInfoExtensions
{ {
public static MethodInfo GetBaseDefinition(MethodInfo method) public static MethodInfo GetBaseDefinition(this MethodInfo method)
{ {
Requires.NotNull(method, nameof(method)); Requires.NotNull(method, nameof(method));
return method.GetBaseDefinition(); return method.GetBaseDefinition();
@ -361,37 +361,37 @@ namespace System.Reflection
public static class PropertyInfoExtensions public static class PropertyInfoExtensions
{ {
public static MethodInfo[] GetAccessors(PropertyInfo property) public static MethodInfo[] GetAccessors(this PropertyInfo property)
{ {
Requires.NotNull(property, nameof(property)); Requires.NotNull(property, nameof(property));
return property.GetAccessors(); return property.GetAccessors();
} }
public static MethodInfo[] GetAccessors(PropertyInfo property, bool nonPublic) public static MethodInfo[] GetAccessors(this PropertyInfo property, bool nonPublic)
{ {
Requires.NotNull(property, nameof(property)); Requires.NotNull(property, nameof(property));
return property.GetAccessors(nonPublic); return property.GetAccessors(nonPublic);
} }
public static MethodInfo GetGetMethod(PropertyInfo property) public static MethodInfo GetGetMethod(this PropertyInfo property)
{ {
Requires.NotNull(property, nameof(property)); Requires.NotNull(property, nameof(property));
return property.GetGetMethod(); return property.GetGetMethod();
} }
public static MethodInfo GetGetMethod(PropertyInfo property, bool nonPublic) public static MethodInfo GetGetMethod(this PropertyInfo property, bool nonPublic)
{ {
Requires.NotNull(property, nameof(property)); Requires.NotNull(property, nameof(property));
return property.GetGetMethod(nonPublic); return property.GetGetMethod(nonPublic);
} }
public static MethodInfo GetSetMethod(PropertyInfo property) public static MethodInfo GetSetMethod(this PropertyInfo property)
{ {
Requires.NotNull(property, nameof(property)); Requires.NotNull(property, nameof(property));
return property.GetSetMethod(); return property.GetSetMethod();
} }
public static MethodInfo GetSetMethod(PropertyInfo property, bool nonPublic) public static MethodInfo GetSetMethod(this PropertyInfo property, bool nonPublic)
{ {
Requires.NotNull(property, nameof(property)); Requires.NotNull(property, nameof(property));
return property.GetSetMethod(nonPublic); return property.GetSetMethod(nonPublic);

View File

@ -20,11 +20,9 @@
// THE SOFTWARE. // THE SOFTWARE.
// //
#if !FULL_AOT_RUNTIME
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.ComImportAttribute))] [assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.ComImportAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.DispatchWrapper))] [assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.DispatchWrapper))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.ErrorWrapper))] [assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.InteropServices.ErrorWrapper))]
#endif
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DataMisalignedException))] [assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DataMisalignedException))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DllNotFoundException))] [assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DllNotFoundException))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.Missing))] [assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Reflection.Missing))]

View File

@ -20,28 +20,30 @@
// THE SOFTWARE. // THE SOFTWARE.
// //
using System.Runtime.InteropServices;
namespace System.Security namespace System.Security
{ {
public static class SecureStringMarshal public static class SecureStringMarshal
{ {
public static IntPtr SecureStringToCoTaskMemAnsi (SecureString s) public static IntPtr SecureStringToCoTaskMemAnsi (SecureString s)
{ {
throw new NotImplementedException (); return Marshal.SecureStringToCoTaskMemAnsi (s);
} }
public static IntPtr SecureStringToCoTaskMemUnicode (SecureString s) public static IntPtr SecureStringToCoTaskMemUnicode (SecureString s)
{ {
throw new NotImplementedException (); return Marshal.SecureStringToCoTaskMemUnicode (s);
} }
public static IntPtr SecureStringToGlobalAllocAnsi (SecureString s) public static IntPtr SecureStringToGlobalAllocAnsi (SecureString s)
{ {
throw new NotImplementedException (); return Marshal.SecureStringToGlobalAllocAnsi (s);
} }
public static IntPtr SecureStringToGlobalAllocUnicode (SecureString s) public static IntPtr SecureStringToGlobalAllocUnicode (SecureString s)
{ {
throw new NotImplementedException (); return Marshal.SecureStringToGlobalAllocUnicode (s);
} }
} }
} }

View File

@ -37,208 +37,180 @@ namespace System.ServiceProcess
{ {
public class ServiceController : IDisposable public class ServiceController : IDisposable
{ {
[MonoTODO]
public bool CanPauseAndContinue public bool CanPauseAndContinue
{ {
get get
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
} }
[MonoTODO]
public bool CanShutdown public bool CanShutdown
{ {
get get
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
} }
[MonoTODO]
public bool CanStop public bool CanStop
{ {
get get
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
} }
[MonoTODO]
public ServiceController[] DependentServices public ServiceController[] DependentServices
{ {
get get
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
} }
[MonoTODO]
public string DisplayName public string DisplayName
{ {
get get
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
} }
[MonoTODO]
public string MachineName public string MachineName
{ {
get get
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
} }
[MonoTODO]
public SafeHandle ServiceHandle public SafeHandle ServiceHandle
{ {
get get
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
} }
[MonoTODO]
public string ServiceName public string ServiceName
{ {
get get
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
} }
[MonoTODO]
public ServiceController[] ServicesDependedOn public ServiceController[] ServicesDependedOn
{ {
get get
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
} }
[MonoTODO]
public ServiceType ServiceType public ServiceType ServiceType
{ {
get get
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
} }
[MonoTODO]
public ServiceStartMode StartType public ServiceStartMode StartType
{ {
get get
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
} }
[MonoTODO]
public ServiceControllerStatus Status public ServiceControllerStatus Status
{ {
get get
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
} }
[MonoTODO]
public ServiceController (string name) public ServiceController (string name)
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public ServiceController (string name, string machineName) public ServiceController (string name, string machineName)
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public void Continue () public void Continue ()
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public void Dispose () public void Dispose ()
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
protected virtual void Dispose (bool disposing) protected virtual void Dispose (bool disposing)
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public static ServiceController[] GetDevices () public static ServiceController[] GetDevices ()
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public static ServiceController[] GetDevices (string machineName) public static ServiceController[] GetDevices (string machineName)
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public static ServiceController[] GetServices () public static ServiceController[] GetServices ()
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public static ServiceController[] GetServices (string machineName) public static ServiceController[] GetServices (string machineName)
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public void Pause () public void Pause ()
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public void Refresh () public void Refresh ()
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public void Start () public void Start ()
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public void Start (string[] args) public void Start (string[] args)
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public void Stop () public void Stop ()
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public void WaitForStatus (ServiceControllerStatus desiredStatus) public void WaitForStatus (ServiceControllerStatus desiredStatus)
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public void WaitForStatus (ServiceControllerStatus desiredStatus, TimeSpan timeout) public void WaitForStatus (ServiceControllerStatus desiredStatus, TimeSpan timeout)
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
} }
} }

View File

@ -36,22 +36,19 @@ namespace System.ServiceProcess
{ {
public class TimeoutException : Exception public class TimeoutException : Exception
{ {
[MonoTODO]
public TimeoutException () public TimeoutException ()
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public TimeoutException (string message) public TimeoutException (string message)
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
[MonoTODO]
public TimeoutException (string message, Exception innerException) public TimeoutException (string message, Exception innerException)
{ {
throw new NotImplementedException (); throw new PlatformNotSupportedException ();
} }
} }
} }

View File

@ -36,40 +36,52 @@ namespace System.Threading
{ {
public static class ThreadingAclExtensions public static class ThreadingAclExtensions
{ {
[MonoTODO] public static EventWaitHandleSecurity GetAccessControl (this EventWaitHandle handle)
public static EventWaitHandleSecurity GetAccessControl (EventWaitHandle handle)
{ {
throw new NotImplementedException (); if (handle == null)
throw new ArgumentNullException (nameof (handle));
return handle.GetAccessControl ();
} }
[MonoTODO] public static void SetAccessControl (this EventWaitHandle handle, EventWaitHandleSecurity eventSecurity)
public static void SetAccessControl (EventWaitHandle handle, EventWaitHandleSecurity eventSecurity)
{ {
throw new NotImplementedException (); if (handle == null)
throw new ArgumentNullException (nameof (handle));
handle.SetAccessControl (eventSecurity);
} }
[MonoTODO] public static MutexSecurity GetAccessControl (this Mutex mutex)
public static MutexSecurity GetAccessControl (Mutex mutex)
{ {
throw new NotImplementedException (); if (mutex == null)
throw new ArgumentNullException (nameof (mutex));
return mutex.GetAccessControl ();
} }
[MonoTODO] public static void SetAccessControl (this Mutex mutex, MutexSecurity mutexSecurity)
public static void SetAccessControl (Mutex mutex, MutexSecurity mutexSecurity)
{ {
throw new NotImplementedException (); if (mutex == null)
throw new ArgumentNullException (nameof (mutex));
mutex.SetAccessControl (mutexSecurity);
} }
[MonoTODO] public static SemaphoreSecurity GetAccessControl (this Semaphore semaphore)
public static SemaphoreSecurity GetAccessControl (Semaphore semaphore)
{ {
throw new NotImplementedException (); if (semaphore == null)
throw new ArgumentNullException (nameof (semaphore));
return semaphore.GetAccessControl ();
} }
[MonoTODO] public static void SetAccessControl (this Semaphore semaphore, SemaphoreSecurity semaphoreSecurity)
public static void SetAccessControl (Semaphore semaphore, SemaphoreSecurity semaphoreSecurity)
{ {
throw new NotImplementedException (); if (semaphore == null)
throw new ArgumentNullException (nameof (semaphore));
semaphore.SetAccessControl (semaphoreSecurity);
} }
} }
} }

View File

@ -24,7 +24,7 @@ System.Security.Cryptography.Encryption.Aes System.Security.Cryptography.Encrypt
System.Security.Cryptography.Hashing.Algorithms System.Security.Cryptography.RSA System.Security.Cryptography.RandomNumberGenerator \ System.Security.Cryptography.Hashing.Algorithms System.Security.Cryptography.RSA System.Security.Cryptography.RandomNumberGenerator \
System.Security.Principal.Windows System.Threading.Thread System.Threading.ThreadPool \ System.Security.Principal.Windows System.Threading.Thread System.Threading.ThreadPool \
System.Xml.XPath System.Xml.XmlDocument System.Xml.Xsl.Primitives Microsoft.Win32.Registry.AccessControl System.Diagnostics.StackTrace System.Globalization.Extensions \ System.Xml.XPath System.Xml.XmlDocument System.Xml.Xsl.Primitives Microsoft.Win32.Registry.AccessControl System.Diagnostics.StackTrace System.Globalization.Extensions \
System.IO.FileSystem.AccessControl System.Private.CoreLib.InteropServices System.Reflection.TypeExtensions \ System.IO.FileSystem.AccessControl System.Reflection.TypeExtensions \
System.Security.SecureString System.Threading.AccessControl System.Threading.Overlapped System.Xml.XPath.XDocument \ System.Security.SecureString System.Threading.AccessControl System.Threading.Overlapped System.Xml.XPath.XDocument \
System.Security.Cryptography.Primitives System.Text.Encoding.CodePages System.IO.FileSystem.Watcher \ System.Security.Cryptography.Primitives System.Text.Encoding.CodePages System.IO.FileSystem.Watcher \
System.Security.Cryptography.ProtectedData System.ServiceProcess.ServiceController System.IO.Pipes System.Security.Cryptography.ProtectedData System.ServiceProcess.ServiceController System.IO.Pipes

View File

@ -38,6 +38,8 @@ using Mono.Data.Tds.Protocol;
using System; using System;
using System.IO; using System.IO;
using System.Text; using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Collections; using System.Collections;
using System.ComponentModel; using System.ComponentModel;
using System.Data; using System.Data;
@ -1426,6 +1428,25 @@ namespace System.Data.SqlClient
throw new NotImplementedException (); throw new NotImplementedException ();
} }
override public Task<T> GetFieldValueAsync<T> (int i, CancellationToken cancellationToken)
{
return base.GetFieldValueAsync<T> (i, cancellationToken);
}
override public Stream GetStream (int i)
{
return base.GetStream (i);
}
override public TextReader GetTextReader (int i)
{
return base.GetTextReader (i);
}
override public Task<bool> IsDBNullAsync (int i, CancellationToken cancellationToken)
{
return base.IsDBNullAsync (i, cancellationToken);
}
#endregion // Methods #endregion // Methods
} }
} }

Some files were not shown because too many files have changed in this diff Show More