Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cannot find type or namespace "SafeIntDictionary"

While I compile PexExtension, i run into an error in line line

SafeIntDictionary<int> undoMarkers = new SafeIntDictionary<int>();

The compiler shows "error 6 cannot find type or namespace "SafeIntDictionary" (whether lack of using instructor or assembly?)

I compile it using visual studio 2010.

错误 6 未能找到类型或命名空间名称“SafeIntDictionary”(是否缺少 using 指令或程序集引用?) E:\docs\Colected papers\Loop Invariant\tools\PexExtensions\Sources\DySy\Engine\DySyPathAnalyzer.cs 257 13 DySy (DySy\DySy)

like image 300
Wang Yisong Avatar asked Jul 06 '26 19:07

Wang Yisong


1 Answers

What namespace does this come from? Do you have it declared in a using statement in that code file? Also, do you have it added as a Reference in your project? If both of those requirements are not met, you will receive an error like you have.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!