Source position: pasresolver.pp line 1606
protected procedure TPasResolver.CheckTopScope(
ExpectedClass: TPasScopeClass;
AllowDescendants: Boolean = False
);