public static IEnumerable <string> ResolveNamespace(string namespaceName, string windowsSdkFilePath, IEnumerable <string> packageGraphFilePaths) { if (namespaceName == null) { throw new ArgumentNullException("namespaceName"); } string[] strArray = (string[])null; if (packageGraphFilePaths != null) { List <string> stringList = new List <string>(packageGraphFilePaths); strArray = new string[stringList.Count]; int index = 0; foreach (string str in stringList) { strArray[index] = str; ++index; } } string[] o = (string[])null; string namespaceName1 = namespaceName; string windowsSdkFilePath1 = windowsSdkFilePath; string[] packageGraphFilePaths1 = strArray; int cPackageGraphFilePaths = packageGraphFilePaths1 == null ? 0 : strArray.Length; ObjectHandleOnStack objectHandleOnStack = JitHelpers.GetObjectHandleOnStack <string[]>(ref o); WindowsRuntimeMetadata.nResolveNamespace(namespaceName1, windowsSdkFilePath1, packageGraphFilePaths1, cPackageGraphFilePaths, objectHandleOnStack); return((IEnumerable <string>)o); }
public static IEnumerable <string> ResolveNamespace(string namespaceName, string windowsSdkFilePath, IEnumerable <string> packageGraphFilePaths) { if (namespaceName == null) { throw new ArgumentNullException("namespaceName"); } string[] array = null; if (packageGraphFilePaths != null) { List <string> list = new List <string>(packageGraphFilePaths); array = new string[list.Count]; int num = 0; foreach (string text in list) { array[num] = text; num++; } } string[] result = null; WindowsRuntimeMetadata.nResolveNamespace(namespaceName, windowsSdkFilePath, array, (array == null) ? 0 : array.Length, JitHelpers.GetObjectHandleOnStack <string[]>(ref result)); return(result); }
public static IEnumerable <string> ResolveNamespace(string namespaceName, IEnumerable <string> packageGraphFilePaths) { return(WindowsRuntimeMetadata.ResolveNamespace(namespaceName, null, packageGraphFilePaths)); }