title: VS2017 Conditional Breakpoints - "Evaluation of native methods in this context is not supported"
body: <p>I am debugging a Service Fabric application and need to use a conditional breakpoint based on the value of the id of an object.  So I placed a conditional breakpoint to the effect of</p>
  <pre><code>c.id == &quot;43rregfjlh32&quot;;
  </code></pre>
  <p>However, when the breakpoint is hit by the debugger, I get the following message:</p>
  <blockquote>
  <p>The condition for a breakpoint failed to execute.  The condition was
  <code>c.id == &quot;43rregfjlh32&quot;</code>.  The error returned was `Evaluation of
  method System.String.op_Equality() calls into native method
  System.Environment.FailFast().  Evaluation of native methods in this
  context is not supported.  Click OK to stop at this breakpoint.</p>
  </blockquote>
  <p>I've looked online and tried enabling things like Managed Compatibility Mode as was suggested in some posts.  However, this does not work.</p>