Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ClassReference: Add a default constructor

Trying to deserialize an instance of ClassReference would cause a crash,
due to a MissingMethodException.

This fixes the initial issue in the following bug reported against
Banshee: https://bugzilla.gnome.org/show_bug.cgi?id=672671
  • Loading branch information...
commit ee4f4dfdd9b4af45bb25306f4916b496857733cf 1 parent e84c2bc
@bl8 bl8 authored
View
4 ...p.MediaServer1/Mono.Upnp.Dcp.MediaServer1/Mono.Upnp.Dcp.MediaServer1.ContentDirectory1/ClassReference.cs
@@ -33,6 +33,10 @@ namespace Mono.Upnp.Dcp.MediaServer1.ContentDirectory1
{
public class ClassReference : Class, IComparable<ClassReference>, IEquatable<ClassReference>
{
+ protected ClassReference ()
+ {
+ }
+
public ClassReference (bool includeDerived, string fullClassName)
: this (includeDerived, fullClassName, null)
{
Please sign in to comment.
Something went wrong with that request. Please try again.