Get-only property with Expression-bodied leftout semicolon
xzp_ater
Posts: 8
.net reflector pro 9.0.1.318
decompile using reflector vsix not desktop
C:WindowsMicrosoft.NETassemblyGAC_32mscorlibv4.0_4.0.0.0__b77a5c561934e089mscorlib.dll
public sealed class AppDomainSetup : IAppDomainSetup
{
internal Dictionary<string, object> GetCompatibilityFlags() =>
this._CompatFlags //no semicolon provided here
}
Actually, every get-only property with expression-bodied in a class do have the problem aforementioned.
Any help will be appreciated.
decompile using reflector vsix not desktop
C:WindowsMicrosoft.NETassemblyGAC_32mscorlibv4.0_4.0.0.0__b77a5c561934e089mscorlib.dll
public sealed class AppDomainSetup : IAppDomainSetup
{
internal Dictionary<string, object> GetCompatibilityFlags() =>
this._CompatFlags //no semicolon provided here
}
Actually, every get-only property with expression-bodied in a class do have the problem aforementioned.
Any help will be appreciated.
Comments
The reason is simple: Get-only property with Expressions-bodied are supported since C# 6.0.
But I do hope redgate fix this bug soon!
I wonder redgate really care bugs of vs extension, but we programmers spend most of our time in the VS IDE
update 9.0.1.374 Url link:
http://www.red-gate.com/updatecontrols/ ... pdate=1238