SynchronizedCollection<T> doesn't work in LINQPad 6
I tried to use System.ServiceModel.Primitives NuGet package and specifically the SynchronizedCollection<T>. However after installing the package I'm getting the following error when declaring variable of type SynchronizedCollection<string>:
CS0433 The type 'SynchronizedCollection<T>' exists in both 'System.Private.ServiceModel, Version=4.7.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'System.ServiceModel.Primitives, Version=4.7.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
The same works fine in Visual Studio (.NET Core Console App project).
LINQPad 6.8.1.
1
vote
chojrak11
shared this idea