Browse Source

Whitespace

pull/1/head
Alex Corrado 15 years ago
parent
commit
58659ff125
  1. 14
      src/Mono.VisualC.Interop/CppField.cs

14
src/Mono.VisualC.Interop/CppField.cs

@ -38,8 +38,8 @@ namespace Mono.VisualC.Interop { @@ -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 { @@ -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 { @@ -104,7 +104,7 @@ namespace Mono.VisualC.Interop {
throw new NotSupportedException ("Cannot write C++ fields of type " + setType.Name);
}
}
}
}
}
}
}
}

Loading…
Cancel
Save