Browse Source

fix Utils.cs(169,57): error CS0118: 'Properties' is a namespace but is used like a type

pull/1299/head
MysticBoy 7 years ago
parent
commit
dd0738824a
  1. 4
      ILSpy.AddIn/Utils.cs

4
ILSpy.AddIn/Utils.cs

@ -146,7 +146,7 @@ namespace ICSharpCode.ILSpy.AddIn
} }
} }
public static object[] GetProperties(Properties properties, params string[] names) public static object[] GetProperties(EnvDTE.Properties properties, params string[] names)
{ {
var values = new object[names.Length]; var values = new object[names.Length];
foreach (object p in properties) { foreach (object p in properties) {
@ -166,7 +166,7 @@ namespace ICSharpCode.ILSpy.AddIn
return values; return values;
} }
public static List<(string, object)> GetAllProperties(Properties properties) public static List<(string, object)> GetAllProperties(EnvDTE.Properties properties)
{ {
var result = new List<(string, object)>(); var result = new List<(string, object)>();
for (int i = 0; i < properties.Count; i++) { for (int i = 0; i < properties.Count; i++) {

Loading…
Cancel
Save