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:
@@ -10,7 +10,7 @@ namespace Semmle.Extraction.CIL.Entities
|
||||
{
|
||||
private readonly Method m;
|
||||
|
||||
public MethodImplementation(Method m) : base(m.Cx)
|
||||
public MethodImplementation(Method m) : base(m.Context)
|
||||
{
|
||||
this.m = m;
|
||||
}
|
||||
@@ -19,7 +19,7 @@ namespace Semmle.Extraction.CIL.Entities
|
||||
{
|
||||
get
|
||||
{
|
||||
yield return Tuples.cil_method_implementation(this, m, Cx.Assembly);
|
||||
yield return Tuples.cil_method_implementation(this, m, Context.Assembly);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user