C#: Fix nullability warnings after .net 5 upgrade

This commit is contained in:
Tamas Vajk
2021-03-03 14:25:59 +01:00
parent 828e1f81ae
commit cfd8a87496
6 changed files with 9 additions and 9 deletions

View File

@@ -101,7 +101,7 @@ namespace Semmle.Extraction.CSharp.Entities
protected virtual T BodyDeclaringSymbol => Symbol;
public BlockSyntax Block
public BlockSyntax? Block
{
get
{
@@ -112,7 +112,7 @@ namespace Semmle.Extraction.CSharp.Entities
}
}
public ExpressionSyntax ExpressionBody
public ExpressionSyntax? ExpressionBody
{
get
{