File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,10 @@ namespace Semmle.Extraction.CSharp.Entities
11
11
{
12
12
internal abstract class CachedSymbol < T > : CachedEntity < T > where T : class , ISymbol
13
13
{
14
- #nullable disable warnings
15
- protected CachedSymbol ( Context cx , T ? init )
14
+ protected CachedSymbol ( Context cx , T init )
16
15
: base ( cx , init )
17
16
{
18
17
}
19
- #nullable restore warnings
20
18
21
19
public virtual Type ? ContainingType => Symbol . ContainingType != null ? Type . Create ( Context , Symbol . ContainingType ) : null ;
22
20
Original file line number Diff line number Diff line change @@ -10,9 +10,10 @@ namespace Semmle.Extraction.CSharp.Entities
10
10
{
11
11
internal abstract class Type : CachedSymbol < ITypeSymbol >
12
12
{
13
+ #nullable disable warnings
13
14
protected Type ( Context cx , ITypeSymbol ? init )
14
15
: base ( cx , init ) { }
15
-
16
+ #nullable restore warnings
16
17
17
18
public override bool NeedsPopulation =>
18
19
base . NeedsPopulation || Symbol . TypeKind == TypeKind . Dynamic || Symbol . TypeKind == TypeKind . TypeParameter ;
You can’t perform that action at this time.
0 commit comments