From 58659ff1257e3beec75247e076492415ae0c9ee0 Mon Sep 17 00:00:00 2001 From: Alex Corrado Date: Mon, 4 Apr 2011 06:53:40 -0700 Subject: [PATCH] Whitespace --- src/Mono.VisualC.Interop/CppField.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Mono.VisualC.Interop/CppField.cs b/src/Mono.VisualC.Interop/CppField.cs index e6530650..aed2052b 100644 --- a/src/Mono.VisualC.Interop/CppField.cs +++ b/src/Mono.VisualC.Interop/CppField.cs @@ -38,8 +38,8 @@ namespace Mono.VisualC.Interop { this.fieldOffset = fieldOffset; } - public T this [CppInstancePtr ip] { - get { + public T this [CppInstancePtr ip] { + get { Type retType = typeof (T).IsEnum? Enum.GetUnderlyingType (typeof (T)) : typeof (T); object retVal; @@ -75,8 +75,8 @@ namespace Mono.VisualC.Interop { } return (T)retVal; - } - set { + } + set { Type setType = typeof (T).IsEnum? Enum.GetUnderlyingType (typeof (T)) : typeof (T); object setVal = value; @@ -104,7 +104,7 @@ namespace Mono.VisualC.Interop { throw new NotSupportedException ("Cannot write C++ fields of type " + setType.Name); } - } - } - } + } + } + } }