<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Moq &amp;mdash; Attach to Process</title>
    <link>https://devblog.dinobansigan.com/tag:Moq</link>
    <description>Thoughts and Notes on Software Development</description>
    <pubDate>Mon, 27 Apr 2026 18:22:47 +0000</pubDate>
    <image>
      <url>https://i.snap.as/4wmUdb6N.png</url>
      <title>Moq &amp;mdash; Attach to Process</title>
      <link>https://devblog.dinobansigan.com/tag:Moq</link>
    </image>
    <item>
      <title>To prevent an unsafe abort when evaluating the function &#34;Moq.Internals.InterfaceProxy.ToString()&#34;</title>
      <link>https://devblog.dinobansigan.com/to-prevent-an-unsafe-abort-when-evaluating-the-function?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[Was getting this error from Visual Studio 2022 while debugging a unit test.&#xA;Moq error in Visual Studio 2022&#xA;&#xA;The solution for me was to uncheck the &#34;Call string-conversion function on objects in variables windows&#34; checkbox.&#xA;Solution for Moq error in Visual Studio 2022&#xA;&#xA;Tags: #Debugging #Moq #Tests #VisualStudio&#xA;&#xA;a href=&#34;https://remark.as/p/devblog.dinobansigan.com/to-prevent-an-unsafe-abort-when-evaluating-the-function&#34;Discuss.../a or leave a comment below.]]&gt;</description>
      <content:encoded><![CDATA[<p>Was getting this error from Visual Studio 2022 while debugging a unit test.
<img src="https://i.snap.as/1ywkq6ZW.png" alt="Moq error in Visual Studio 2022"/></p>

<p>The solution for me was to uncheck the “Call string-conversion function on objects in variables windows” checkbox.
<img src="https://i.snap.as/I7Eaxx8y.png" alt="Solution for Moq error in Visual Studio 2022"/></p>

<p>Tags: <a href="https://devblog.dinobansigan.com/tag:Debugging" class="hashtag"><span>#</span><span class="p-category">Debugging</span></a> <a href="https://devblog.dinobansigan.com/tag:Moq" class="hashtag"><span>#</span><span class="p-category">Moq</span></a> <a href="https://devblog.dinobansigan.com/tag:Tests" class="hashtag"><span>#</span><span class="p-category">Tests</span></a> <a href="https://devblog.dinobansigan.com/tag:VisualStudio" class="hashtag"><span>#</span><span class="p-category">VisualStudio</span></a></p>

<p><strong><a href="https://remark.as/p/devblog.dinobansigan.com/to-prevent-an-unsafe-abort-when-evaluating-the-function">Discuss...</a></strong> or leave a comment below.</p>
]]></content:encoded>
      <guid>https://devblog.dinobansigan.com/to-prevent-an-unsafe-abort-when-evaluating-the-function</guid>
      <pubDate>Tue, 09 Jul 2024 19:36:00 +0000</pubDate>
    </item>
  </channel>
</rss>