1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

ToArray creates items in "pop" order. So parent is at position [1]

This commit is contained in:
Kevin Glynn 2011-01-07 16:12:23 +01:00
parent a5912958f3
commit 6c19bc33a7

View File

@ -51,7 +51,7 @@ scope TypeContext {
protected string ParentNameSpace {
get {
return ((NSContext_scope)$NSContext.ToArray()[$NSContext.Count-2]).currentNS;
return ((NSContext_scope)$NSContext.ToArray()[1]).currentNS;
}
}