Microsoft.Cci.AggregatingLocalScopeProvider.GetLocalScopes C# (CSharp) Method

GetLocalScopes() public method

Returns zero or more local (block) scopes into which the CLR IL operations in the given method body is organized.
public GetLocalScopes ( IMethodBody methodBody ) : IEnumerable
methodBody IMethodBody
return IEnumerable
    public IEnumerable<ILocalScope> GetLocalScopes(IMethodBody methodBody) {
      ILocalScopeProvider/*?*/ provider = this.GetProvider(methodBody.MethodDefinition);
      if (provider == null) {
        return Enumerable<ILocalScope>.Empty;
      } else {
        return provider.GetLocalScopes(methodBody);
      }
    }