"Non-nullable field..." warning even though the value is ensured to be declared - C#