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

GetVariablesInScope() public method

Returns zero or more local variable definitions that are local to the given scope.
public GetVariablesInScope ( ILocalScope scope ) : IEnumerable
scope ILocalScope
return IEnumerable
    public IEnumerable<ILocalDefinition> GetVariablesInScope(ILocalScope scope) {
      ILocalScopeProvider/*?*/ provider = this.GetProvider(scope.MethodDefinition);
      if (provider == null) {
        return Enumerable<ILocalDefinition>.Empty;
      } else {
        return provider.GetVariablesInScope(scope);
      }
    }