TypeCatalogueInstanceProvider throws first chance MissingMethodException trying to instantiate DefaultEnumerableValueFormatter
See original GitHub issueA first chance exception is happening down in the bowels of FIE due to the TypeCatalogueInstanceProvider
attempting to create an instance of DefaultEnumerableValueFormatter
which does not have a no-arg constructor.
System.MissingMethodException: No parameterless constructor defined for type 'FakeItEasy.Core.ArgumentValueFormatter+DefaultEnumerableValueFormatter'.
at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at FakeItEasy.Core.TypeCatalogueInstanceProvider.InstantiateAllOfType[T]() in C:\projects\fakeiteasy\src\FakeItEasy\Core\TypeCatalogueInstanceProvider.cs:line 35
Other cases of First Chance Exceptions have been corrected in the past.
FIE Version: 6.2.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
FakeItEasy latest version - Awesome .NET - LibHunt
0️⃣ TypeCatalogueInstanceProvider throws first chance MissingMethodException trying to instantiate DefaultEnumerableValueFormatter (#1790) ...
Read more >FakeItEasy/CHANGELOG and FakeItEasy Releases | LibHunt
0️⃣ TypeCatalogueInstanceProvider throws first chance MissingMethodException trying to instantiate DefaultEnumerableValueFormatter (#1790) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@blairconrad Sounds good. I will take a stab at it.
Thanks, @akrock. We appreciate your work! Look for your name in the release notes. 🥇