[mono-api-html] Fix ending quote for non-string fields
[mono.git] / mcs / tools / corcompare / mono-api-html / FieldComparer.cs
index aedc911f30c2df0813088e44d42979b2713db835..221bac7b1d996409a2eb229192cfb42f763e26ba 100644 (file)
@@ -69,8 +69,8 @@ namespace Xamarin.ApiDiff {
                                sb.Append (ftype).Append (' ');
                                sb.Append (name);
                                if (ftype == "string")
-                                       sb.Append (" = \"").Append (e.Attribute ("value").Value);
-                               sb.Append ("\";");
+                                       sb.Append (" = \"").Append (e.Attribute ("value").Value).Append ('"');
+                               sb.Append (';');
                        }
 
                        if (obsolete)