Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA 2463: suggestion errs with nullables

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Uniwares Posted - Dec 16 2022 : 08:59:37 AM
I think the picture says it all.



1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Dec 16 2022 : 11:46:04 AM
Interestingly enough, when using C# 8, both of the following lines compile quite happily:

Dictionary<string, string?> newNotNullable = new Dictionary<string, string>();
Dictionary<string, string?> newIsNullable = new Dictionary<string, string?>();


but yes, VA should be suggesting the actual type, not a version of it:

case=148939

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000