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:
parent
a5912958f3
commit
6c19bc33a7
@ -51,7 +51,7 @@ scope TypeContext {
|
|||||||
|
|
||||||
protected string ParentNameSpace {
|
protected string ParentNameSpace {
|
||||||
get {
|
get {
|
||||||
return ((NSContext_scope)$NSContext.ToArray()[$NSContext.Count-2]).currentNS;
|
return ((NSContext_scope)$NSContext.ToArray()[1]).currentNS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user