I'm trying to write a binding for my C# object but when I run the binding it causes a stack overflow error.  Stepping through the debugger when it makes that the cake to void_objc_msgSend_IntPtr is recalls the setter.<div>
<br></div><div>This is a snippet of my property wrapper ...</div><div><br></div><div><span class="Apple-style-span" style="font-family:Monaco;font-size:12px"><span style="color:#223cfb"><p style="margin:0px 0px 0px 0px;font:12.0px Monaco">
<span style="color:#223cfb">static</span> Selector selProductIdentifier = <span style="color:#223cfb">new</span> Selector(<span style="color:#d63ad3">"productIdentifier"</span>);</p></span></span></div><div><span class="Apple-style-span" style="font-family:Monaco;font-size:12px"><span style="color:#223cfb">static</span></span><span class="Apple-style-span" style="font-family:Monaco;font-size:12px"> Selector selSetProductIdentifier = </span><span class="Apple-style-span" style="font-family:Monaco;font-size:12px"><span style="color:#223cfb">new</span></span><span class="Apple-style-span" style="font-family:Monaco;font-size:12px"> Selector(</span><span class="Apple-style-span" style="font-family:Monaco;font-size:12px"><span style="color:#d63ad3">"setProductIdentifier:"</span></span><span class="Apple-style-span" style="font-family:Monaco;font-size:12px">);</span></div>
<div><br></div><div><p style="margin:0px 0px 0px 0px;font:12.0px Monaco"><span style="color:#223cfb">public</span> <span style="color:#223cfb">new</span> <span style="color:#223cfb">virtual</span> <span style="color:#223cfb">string</span> ProductIdentifier {</p>

<p style="margin:0px 0px 0px 0px;font:12.0px Monaco">    [Export (<span style="color:#d63ad3">"productIdentifier"</span>, ArgumentSemantic.Copy)]</p>
<p style="margin:0px 0px 0px 0px;font:12.0px Monaco"><span style="color:#223cfb">    get</span> {</p>
<p style="margin:0px 0px 0px 0px;font:12.0px Monaco"><span style="color:#223cfb">        return</span> NSString.FromHandle (MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSend (<span style="color:#223cfb">this</span>.Handle, selProductIdentifier.Handle));</p>

<p style="margin:0px 0px 0px 0px;font:12.0px Monaco">    }</p>
<p style="margin:0px 0px 0px 0px;font:12.0px Monaco;min-height:16.0px"><span class="Apple-tab-span" style="white-space:pre">                  </span></p>
<p style="margin:0px 0px 0px 0px;font:12.0px Monaco">    [Export (<span style="color:#d63ad3">"setProductIdentifier:"</span>, ArgumentSemantic.Copy)]</p>
<p style="margin:0px 0px 0px 0px;font:12.0px Monaco">    <span style="color:#223cfb">set</span> {</p>
<p style="margin:0px 0px 0px 0px;font:12.0px Monaco">        <span style="color:#223cfb">if</span> (<span style="color:#223cfb">value</span> == <span style="color:#d63ad3">null</span>)</p>
<p style="margin:0px 0px 0px 0px;font:12.0px Monaco">            <span style="color:#223cfb">throw</span> <span style="color:#223cfb">new</span> ArgumentNullException (<span style="color:#d63ad3">"value"</span>);</p>
<p style="margin:0px 0px 0px 0px;font:12.0px Monaco"><br></p><p style="margin:0px 0px 0px 0px;font:12.0px Monaco">        <span style="color:#223cfb">var</span> nsvalue = <span style="color:#223cfb">new</span> NSString (<span style="color:#223cfb">value</span>);</p>

<p style="margin:0px 0px 0px 0px;font:12.0px Monaco;min-height:16.0px"><span class="Apple-tab-span" style="white-space:pre">                          </span></p>
<p style="margin:0px 0px 0px 0px;font:12.0px Monaco">        MonoMac.ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (<span style="color:#223cfb">this</span>.Handle, selSetProductIdentifier.Handle, nsvalue.Handle); // will call setter recursively causing stack overflow.</p>

<p style="margin:0px 0px 0px 0px;font:12.0px Monaco">        nsvalue.Dispose ();</p>
<p style="margin:0px 0px 0px 0px;font:12.0px Monaco;min-height:16.0px"><span class="Apple-tab-span" style="white-space:pre">                          </span></p>
<p style="margin:0px 0px 0px 0px;font:12.0px Monaco">        }</p>
<p style="margin:0px 0px 0px 0px;font:12.0px Monaco">}</p></div><div><br></div><div>Has anyone here run into the same or similar problem?  Or am I missing a step with the binding?</div><div><br></div><div>Thanks,</div><div>
Chris.</div>