Last active
December 14, 2015 01:09
-
-
Save hmemcpy/5003775 to your computer and use it in GitHub Desktop.
An external annotations file for FakeItEasy, so ReSharper won't complain about implicit captures on CallTo() lambdas. Place this file alongside FakeItEasy.dll and reload your solution.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<assembly name="FakeItEasy"> | |
<member name="M:FakeItEasy.A.CallTo(System.Linq.Expressions.Expression{System.Action})"> | |
<parameter name="callSpecification"> | |
<attribute ctor="M:JetBrains.Annotations.InstantHandleAttribute.#ctor" /> | |
</parameter> | |
</member> | |
<member name="M:FakeItEasy.A.CallTo``1(System.Linq.Expressions.Expression{System.Func{``0}})"> | |
<parameter name="callSpecification"> | |
<attribute ctor="M:JetBrains.Annotations.InstantHandleAttribute.#ctor" /> | |
</parameter> | |
</member> | |
</assembly> |
Thanks, Matt, I amended the description (and the filename)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should also be able to ship it as FakeItEasy.ExternalAnnotations.xml side-by-side with FakeItEasy.dll (assuming that's the name of the dll, 'fraid I haven't used FakeItEasy)