44using System . IO ;
55using System . Linq ;
66using System . Reflection ;
7+ using System . Threading . Tasks ;
78using Microsoft . CodeAnalysis ;
89
910namespace ICSharpCode . CodeConverter . Common ;
@@ -17,8 +18,8 @@ public static class DefaultReferences
1718 // ReSharper disable RedundantNameQualifier
1819 typeof ( System . Object ) ,
1920 typeof ( System . Collections . IEnumerable ) ,
20- typeof ( IEnumerable < > ) ,
21- typeof ( ErrorEventArgs ) ,
21+ typeof ( System . Collections . Generic . IEnumerable < > ) ,
22+ typeof ( System . IO . ErrorEventArgs ) ,
2223 typeof ( System . Text . Encoding ) ,
2324 typeof ( System . Linq . Enumerable ) ,
2425 typeof ( System . Console ) ,
@@ -32,7 +33,8 @@ public static class DefaultReferences
3233 typeof ( System . Xml . Linq . XElement ) ,
3334 typeof ( System . Linq . Expressions . Expression ) ,
3435 typeof ( Microsoft . VisualBasic . Constants ) ,
35- typeof ( System . Data . SqlClient . SqlCommand )
36+ typeof ( System . Data . SqlClient . SqlCommand ) ,
37+ typeof ( System . Threading . Tasks . ParallelOptions )
3638 // ReSharper restore RedundantNameQualifier
3739 } . Select ( t => t . Assembly ) . Concat (
3840 new [ ] { Assembly . Load ( "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" ) }
0 commit comments