[mono-api-html] Allow ignoring parameter names, virtual.
[mono.git] / mcs / tools / corcompare / mono-api-html / PropertyComparer.cs
index 0d0a9bdd548dc3112d54a97d2760affc8cff90ee..4a5f34fd2ec8978d0b94cf5788e4f03ec1be8bca 100644 (file)
@@ -77,7 +77,7 @@ namespace Xamarin.ApiDiff {
                        var sb = new StringBuilder ();
 
                        sb.Append (family ? "protected " : "public ");
-                       if (virt)
+                       if (virt && !State.IgnoreVirtualChanges)
                                sb.Append (over ? "override " : "virtual ");
                        else if (stat)
                                sb.Append ("static ");