chevron-thin-right
chevron-thin-left
brand
cancel-circle
search
youtube-icon
google-plus-icon
linkedin-icon
facebook-icon
twitter-icon
toolbox
download
check
linkedin
phone
twitter-old
google-plus
facebook
profile-male
chat
calendar
profile-male
Products
Isolator for C++
Isolate ++
Isolator for .NET
Suggest
Isolate
Smart Runner
Coverage – Part of Typemock Isolator Complete .NET
Isolator for Build Server
Download
C++
.NET
Pricing
Resources
Documentation
Isolator++
Isolator
Learning Center
Tutorials
Webinars
Articles
Case Studies
Partners
Blog
Support
C++ Community
.NET Community
Premium Support
Products
Isolator for C++
Isolate ++
Isolator for .NET
Suggest
Isolate
Smart Runner
Coverage – Part of Typemock Isolator Complete .NET
Isolator for Build Server
Download
C++
.NET
Pricing
Resources
Documentation
Isolator++
Isolator
Learning Center
Tutorials
Webinars
Articles
Case Studies
Partners
Blog
Support
C++ Community
.NET Community
Premium Support
Menu
Search
Remember
Register
Typemock Q&A
Ask a question
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
The Unit Testing Company
Development Resources
Knowledge Base
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
Related questions
Error while call WhenCalled on GUI-Issues
Visual Studio 2010 throws error Check that the test adapter
Typemock version 7.2.0.0 - Assign Parameter Error
CLR error: 80004005
Error: TestRunner process crashed too fast, pausing runner.
TPL DataFlow error
0
votes
Hi
I've tried to mock some objects from TPL DataFlow library (can found
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0c52d6cd-2104-4983-9932-930b0225e46e
)
and get "System.Security.VerificationException: Operation could destabilize the runtime."
for example - this line
var mocked = isolate.Fake.Instance<ActionBlock<int>>();
or - var mocked = Isolate.Fake.Instance<BufferBlock<int>>();
and so on.
Any ideas?
Thanks
Adiel
asked
Mar 2, 2011
by
adiel.sharabi
Report User
(
3.4k
points)
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
Hi Adiel,
We need to check this out, I assume the exception is because of changes in the security attributes in .net 4.0
answered
Mar 3, 2011
by
ohad
Report User
(
35.4k
points)
Please
log in
or
register
to add a comment.
...
Typemock for Enterprise
Struggling with legacy code?
Let’s solve it together
Name
(Required)
First
Last
Email
(Required)
CAPTCHA
Email
This field is for validation purposes and should be left unchanged.
Δ
×
×
Choose the product type:
WINDOWS
LINUX DEB
LINUX RMP
×
Notifications