Bug In SonarQube :- 'model' is null on at least one execution path.

return model?.BuildingSpace?.Description + " - " + model?.BuildingSpace?.Number + " / " + BuildingResources.Floor.ToLower() + " " + (!string.IsNullOrEmpty(model.BuildingFloor.Orientation) ? $"{model.BuildingFloor.Number} ({model.BuildingFloor.Orientation})"

I am getting  'model' is null on at least one execution path.  error in sonarQube at high lighted model in above code 
Sign In or Register to comment.