dotnet / codeformatter

Tool that uses Roslyn to automatically rewrite the source to follow our coding styles
MIT License
1.24k stars 244 forks source link

The rule that makes types explicit should add a using when it needs to qualify type. #210

Closed srivatsn closed 8 years ago

srivatsn commented 8 years ago

If there's code that's being converted from var to an explicit type and there's no using for that type in the file, the fix should add the using instead of generating a fully qualified name.

@lgolding @genlu @mavasani

ghost commented 8 years ago

:+1: (assuming that the answer to my comment is "no, don't worry, that can't happen")

genlu commented 8 years ago

:+1: , other than @lgolding 's concern.