Interpolate string c# 6.0 and Stylecop

后端 未结 2 1812
一整个雨季
一整个雨季 2021-02-07 02:23

I am using Stylecop version : 4.7.49.0

Has anyone used the latest interpolate string functionality in c# 6.0

example

var totalUnits = GetUnitsGe         


        
2条回答
  •  青春惊慌失措
    2021-02-07 02:43

    StyleCop should be able to handle C# 6 now:

    Changes Beta 4.7.51: Added initial (and untested) support for C# 6.0 syntax

    So with stable build 4.7.54 or later you should not encounter this anymore: http://stylecop.codeplex.com/releases/view/621306

提交回复
热议问题