mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
C#: Use covariant return for context overrides
This commit is contained in:
@@ -9,10 +9,10 @@ namespace Semmle.Extraction.CIL
|
||||
{
|
||||
public EmptyContext(Context cx)
|
||||
{
|
||||
Cx = cx;
|
||||
Context = cx;
|
||||
}
|
||||
|
||||
public Context Cx { get; }
|
||||
public Context Context { get; }
|
||||
|
||||
public IEnumerable<Entities.Type> TypeParameters { get { yield break; } }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user