<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1728</ErrorName>
  <Examples>
    <string>// CS1728: Cannot create delegate from method `long?.GetValueOrDefault()' because it is a member of System.Nullable&lt;T&gt; type
// Line: 10

using System;

class C
{
	public static void Main ()
	{
		Func&lt;long&gt; a = new long?().GetValueOrDefault;
	}
}
</string>
    <string>// CS1728: Cannot create delegate from method `int?.GetValueOrDefault()' because it is a member of System.Nullable&lt;T&gt; type
// Line: 14

using System;

class C
{
	delegate int Test ();
	event Test MyEvent;

	void Error ()
	{
		int? i = 0;
		MyEvent += new Test (i.GetValueOrDefault);
	}
}
</string>
  </Examples>
</ErrorDocumentation>