using System.Collections.Generic;
namespace Semmle.Extraction.CIL
{
///
/// A generic context which does not contain any type parameters.
///
internal class EmptyContext : IGenericContext
{
public EmptyContext(Context cx)
{
Context = cx;
}
public Context Context { get; }
public IEnumerable TypeParameters { get { yield break; } }
public IEnumerable MethodParameters { get { yield break; } }
}
}