Falha ao atribuir à propriedade 'System.Windows.Controls.Primitives.ButtonBase.Click'

Tem uma situação interessante que eu não entendo.

Aqui está o cenário:

Eu crio um aplicativo simples do Silverlight 5. Eu coloco um controle de botão na página principal e cria um manipulador de eventos Click.

XAML é mostrado abaixo .....

<UserControl x:Class="SilverlightApplication6.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot" Background="White">
        <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="130,43,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
    </Grid>
</UserControl>

Por enquanto, tudo bem.

Ligue um manipulador de eventos no código por trás, como assim ....

private void button1_Click(object sender, RoutedEventArgs e)
{
    MessageBox.Show("Hi There!!!");
}

Compile e execute o aplicativo. Eu clico no botão e recebo uma pequena caixa de mensagem. Mais uma vez, até agora, tudo bem.

Adicione um novo método (conforme mostrado abaixo) ao código por trás com o mesmo nome de método que o manipulador de eventos de clique de botão, mas com uma assinatura diferente.

private void button1_Click()
{
    MessageBox.Show("This method causes a XamlParseException!");
}

Compile e execute o código. Chame o aplicativo e clique no botão e recebo a seguinte exceção:

System.Windows.Markup.XamlParseException was unhandled by user code
  Message=Failed to assign to property 'System.Windows.Controls.Primitives.ButtonBase.Click'. [Line: 10 Position: 149]
  LineNumber=10
  LinePosition=149
  StackTrace:
       at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       at SilverlightApplication6.MainPage.InitializeComponent()
       at SilverlightApplication6.MainPage..ctor()
       at SilverlightApplication6.App.Application_Startup(Object sender, StartupEventArgs e)
       at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
  InnerException: 

Por que isso acontece?

questionAnswers(2)

yourAnswerToTheQuestion