conwid / DependencyInjectionToolset

Other
12 stars 5 forks source link

Syntax error in CodeRefactoringProvider.cs #6

Closed ddagsan closed 6 years ago

ddagsan commented 6 years ago

I'm using VS2015 and getting the followinr error in CodeRefactoringProvider.cs image

conwid commented 6 years ago

Thanks for reporting the issue. You're getting this syntax error because your are using VS2015, which probably uses the C# 5.0 compiler by default and the pattern matching feature that's used in the if block was introduced in C# 6.0. Please upgrade your Visual Studio or make sure to use the C# 6.0 compiler.