mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
19 lines
494 B
C#
19 lines
494 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Semmle.Extraction.CIL
|
|
{
|
|
/// <summary>
|
|
/// A generic context which does not contain any type parameters.
|
|
/// </summary>
|
|
public class EmptyContext : GenericContext
|
|
{
|
|
public EmptyContext(Context cx) : base(cx)
|
|
{
|
|
}
|
|
|
|
public override IEnumerable<Entities.Type> TypeParameters { get { yield break; } }
|
|
|
|
public override IEnumerable<Entities.Type> MethodParameters { get { yield break; } }
|
|
}
|
|
}
|