Remove ChangeLog files from the repo
[mono.git] / mcs / class / System.Web / System.Web.Util / ICalls.cs
index cf2fcbde1a788e40049fafaf28e04e1fb4e2f372..92bab8b35d25ae8deb06b3a7b98a48f0a2c3c9d1 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Reflection;
 using System.Runtime.CompilerServices;
 namespace System.Web.Util
 {
        class ICalls
        {
-               private ICalls () {}
+               ICalls () {}
 
+#if TARGET_DOTNET
+               static public string GetMachineConfigPath () {
+                       return System.Runtime.InteropServices.RuntimeEnvironment.SystemConfigurationFile;
+               }
+#else
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                extern static public string GetMachineConfigPath ();
+#endif
 
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                extern static public string GetMachineInstallDirectory ();
+
+               [MethodImplAttribute(MethodImplOptions.InternalCall)]
+               extern static public bool GetUnmanagedResourcesPtr (Assembly assembly, out IntPtr ptr, out int length);
        }
 }