Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
ClassReference: Add a default constructor
Browse files Browse the repository at this point in the history
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
bl8 committed Mar 24, 2012
1 parent e84c2bc commit ee4f4df
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -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)
{
Expand Down

0 comments on commit ee4f4df

Please sign in to comment.