C#: Use covariant return for context overrides

This commit is contained in:
Tamas Vajk
2021-03-03 14:35:07 +01:00
parent cfd8a87496
commit bd2b3e72f8
38 changed files with 168 additions and 176 deletions

View File

@@ -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; } }