Using Linq methods causes missing references to DependencyObject in WindowsBase
- by Jason Coyne
I have some c# source that I want to compile using CodeDom within my application (for a plugin)
Everything works fine, except if I use a Linq extension function on some of my collections
var dict = new Dictionary<KeyType, ValueType>();
....
dict.Any(KV=>KV.Key == "Some Key);
When I try to compile source that has this code, it CodeDom…