diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2012-02-20 18:04:38 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2012-02-20 18:04:38 +0400 |
commit | a1431ba6df898f49894e06ad8c2ae175258cfbe9 (patch) | |
tree | f032e09d90d875f4560490dc4d29f37ebd136296 /main/src/addins/MonoDevelop.Moonlight | |
parent | 99dd9729f5e2e4dcb6c9cb025f99cf7aaed115d3 (diff) |
Track API changes (found a better API).
Diffstat (limited to 'main/src/addins/MonoDevelop.Moonlight')
-rwxr-xr-x | main/src/addins/MonoDevelop.Moonlight/MonoDevelop.Moonlight/MoonlightEditorExtension.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/addins/MonoDevelop.Moonlight/MonoDevelop.Moonlight/MoonlightEditorExtension.cs b/main/src/addins/MonoDevelop.Moonlight/MonoDevelop.Moonlight/MoonlightEditorExtension.cs index 1b90bb6b92..cfd34f3075 100755 --- a/main/src/addins/MonoDevelop.Moonlight/MonoDevelop.Moonlight/MoonlightEditorExtension.cs +++ b/main/src/addins/MonoDevelop.Moonlight/MonoDevelop.Moonlight/MoonlightEditorExtension.cs @@ -85,14 +85,14 @@ namespace MonoDevelop.Moonlight //add atts only if they're not already in the tag foreach (IProperty prop in GetUniqueMembers<IProperty> (controlClass.GetProperties ())) if (prop.IsPublic && (existingAtts == null || !existingAtts.ContainsKey (prop.Name))) - list.Add (prop.Name, prop.GetStockIcon (), prop.Documentation.Xml); + list.Add (prop.Name, prop.GetStockIcon (), prop.Documentation); //similarly add events foreach (var eve in GetUniqueMembers<IEvent> (controlClass.GetEvents ())) { string eveName = eve.Name; if (eve.IsPublic && (existingAtts == null || !existingAtts.ContainsKey (eveName))) - list.Add (eveName, eve.GetStockIcon (), eve.Documentation.Xml); + list.Add (eveName, eve.GetStockIcon (), eve.Documentation); } } @@ -135,7 +135,7 @@ namespace MonoDevelop.Moonlight ns = ns.GetChildNamespace (sn); } foreach (IType t in ListControlClasses (database, ns)) - list.Add (t.Name, Gtk.Stock.GoForward, t.GetDefinition ().Documentation.Xml); + list.Add (t.Name, Gtk.Stock.GoForward, t.GetDefinition ().Documentation); } } @@ -190,7 +190,7 @@ namespace MonoDevelop.Moonlight if (retCls != null && retCls.Kind == TypeKind.Enum) { foreach (var enumVal in retCls.GetFields ()) if (enumVal.IsPublic && enumVal.IsStatic) - list.Add (enumVal.Name, "md-literal", enumVal.Documentation.Xml); + list.Add (enumVal.Name, "md-literal", enumVal.Documentation); return; } } |