diff --git a/bindings/dotnet/src/Sigar.cs b/bindings/dotnet/src/Sigar.cs index 615f5760..393ce025 100644 --- a/bindings/dotnet/src/Sigar.cs +++ b/bindings/dotnet/src/Sigar.cs @@ -107,7 +107,8 @@ namespace Hyperic.Sigar { private readonly ulong NA_cached; [DllImport(Sigar.LIBSIGAR)] - private static extern int sigar_mem_get(IntPtr sigar, IntPtr mem); + private static extern int + sigar_mem_get(IntPtr sigar, IntPtr mem); internal static Mem NativeGet(Sigar sigar) { Type type = typeof(Mem); @@ -135,7 +136,8 @@ namespace Hyperic.Sigar { public readonly ulong Free; [DllImport(Sigar.LIBSIGAR)] - private static extern int sigar_swap_get(IntPtr sigar, IntPtr swap); + private static extern int + sigar_swap_get(IntPtr sigar, IntPtr swap); internal static Swap NativeGet(Sigar sigar) { Type type = typeof(Swap); @@ -164,7 +166,8 @@ namespace Hyperic.Sigar { public readonly ulong Total; [DllImport(Sigar.LIBSIGAR)] - private static extern int sigar_cpu_get(IntPtr sigar, IntPtr cpu); + private static extern int + sigar_cpu_get(IntPtr sigar, IntPtr cpu); internal static Cpu NativeGet(Sigar sigar) { Type type = typeof(Cpu); @@ -201,12 +204,12 @@ namespace Hyperic.Sigar { private readonly IntPtr data; [DllImport(Sigar.LIBSIGAR)] - private static extern int sigar_cpu_info_list_get(IntPtr sigar, - IntPtr cpu_infos); + private static extern int + sigar_cpu_info_list_get(IntPtr sigar, IntPtr cpu_infos); [DllImport(Sigar.LIBSIGAR)] - private static extern int sigar_cpu_info_list_destroy(IntPtr sigar, - IntPtr cpu_infos); + private static extern int + sigar_cpu_info_list_destroy(IntPtr sigar, IntPtr cpu_infos); internal static CpuInfo[] NativeGet(Sigar sigar) { Type type = typeof(CpuInfoList); @@ -228,7 +231,8 @@ namespace Hyperic.Sigar { int size = Marshal.SizeOf(infos[0]); for (int i=0; i