public Scope ReturningScope() { if (Calling.Type() == null) { return(Calling.ReturningScope()); } else { return(Type()?.GetObjectScope()); } }
public CodeType Type() { var type = Calling.Type(); for (int i = 0; i < Index.Length; i++) { if (type is ArrayType) { type = ((ArrayType)type).ArrayOfType; } else { type = null; break; } } return(type); }