@@ -14,12 +14,14 @@ namespace ICSharpCode.CodeConverter.Common;
1414public static class DefaultReferences
1515{
1616 private static readonly Assembly [ ] DefaultAssemblies = new [ ] {
17- typeof ( object ) ,
18- typeof ( IEnumerable ) ,
17+ // ReSharper disable RedundantNameQualifier
18+ typeof ( System . Object ) ,
19+ typeof ( System . Collections . IEnumerable ) ,
1920 typeof ( IEnumerable < > ) ,
2021 typeof ( ErrorEventArgs ) ,
2122 typeof ( System . Text . Encoding ) ,
22- typeof ( Enumerable ) ,
23+ typeof ( System . Linq . Enumerable ) ,
24+ typeof ( System . Console ) ,
2325 typeof ( System . ComponentModel . BrowsableAttribute ) ,
2426 typeof ( System . Dynamic . DynamicObject ) ,
2527 typeof ( System . Data . DataRow ) ,
@@ -30,7 +32,10 @@ public static class DefaultReferences
3032 typeof ( System . Xml . Linq . XElement ) ,
3133 typeof ( System . Linq . Expressions . Expression ) ,
3234 typeof ( Microsoft . VisualBasic . Constants ) ,
33- typeof ( System . Data . Common . DbCommand )
35+ typeof ( System . Data . Common . DbCommand ) ,
36+ typeof ( Microsoft . VisualBasic . Devices . Computer ) ,
37+ typeof ( System . Windows . Forms . Form )
38+ // ReSharper restore RedundantNameQualifier
3439 } . Select ( t => t . Assembly ) . Concat (
3540 new [ ] { Assembly . Load ( "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" ) }
3641 ) . ToArray ( ) ;
0 commit comments