You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicclassC{publicvoidM(inti1=1,inti2)// CS1737: Optional parameters must appear after all required parameters{}}
Expected Behavior:
Offer fix: "Make 'i2' optional"
publicclassC{publicvoidM(inti1=1,inti2=0){}}
Related diagnostic id in VB: BC30202: 'Optional' expected. (and maybe BC30812: Optional parameters must specify a default value. can be fixed by this code fixer too).
Steps to Reproduce:
Expected Behavior:
Offer fix: "Make 'i2' optional"
Related diagnostic id in VB: BC30202: 'Optional' expected. (and maybe BC30812: Optional parameters must specify a default value. can be fixed by this code fixer too).
Related #23326.
The text was updated successfully, but these errors were encountered: