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

GetConstantsInScope() public method

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