mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
C#: Populate expression type nullability and nullable flow state.
This commit is contained in:
@@ -58,7 +58,7 @@ namespace Semmle.Extraction.CSharp.Entities
|
||||
}
|
||||
|
||||
var initInfo = new ExpressionInfo(Context,
|
||||
new AnnotatedType(initializerType, Kinds.TypeAnnotation.NotAnnotated),
|
||||
new AnnotatedType(initializerType, NullableAnnotation.None),
|
||||
Context.Create(initializer.ThisOrBaseKeyword.GetLocation()),
|
||||
Kinds.ExprKind.CONSTRUCTOR_INIT,
|
||||
this,
|
||||
|
||||
Reference in New Issue
Block a user