mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
25 lines
687 B
C#
25 lines
687 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Semmle.Extraction.CIL
|
|
{
|
|
/// <summary>
|
|
/// When we decode a type/method signature, we need access to
|
|
/// generic parameters.
|
|
/// </summary>
|
|
internal interface IGenericContext
|
|
{
|
|
Context Context { get; }
|
|
|
|
/// <summary>
|
|
/// The list of generic type parameters/arguments, including type parameters/arguments of
|
|
/// containing types.
|
|
/// </summary>
|
|
IEnumerable<Entities.Type> TypeParameters { get; }
|
|
|
|
/// <summary>
|
|
/// The list of generic method parameters/arguments.
|
|
/// </summary>
|
|
IEnumerable<Entities.Type> MethodParameters { get; }
|
|
}
|
|
}
|