Browse Source

Turn off implicit method group conversions, if C# 1.0 is selected.

pull/1213/head
Siegfried Pammer 7 years ago
parent
commit
7c2e1fca35
  1. 3
      ICSharpCode.Decompiler/DecompilerSettings.cs

3
ICSharpCode.Decompiler/DecompilerSettings.cs

@ -50,6 +50,7 @@ namespace ICSharpCode.Decompiler @@ -50,6 +50,7 @@ namespace ICSharpCode.Decompiler
anonymousMethods = false;
liftNullables = false;
yieldReturn = false;
useImplicitMethodGroupConversion = false;
}
if (languageVersion < CSharp.LanguageVersion.CSharp3) {
anonymousTypes = false;
@ -61,7 +62,7 @@ namespace ICSharpCode.Decompiler @@ -61,7 +62,7 @@ namespace ICSharpCode.Decompiler
if (languageVersion < CSharp.LanguageVersion.CSharp4) {
dynamic = false;
namedArguments = false;
// * named and optional arguments (not supported yet)
// * optional arguments (not supported yet)
}
if (languageVersion < CSharp.LanguageVersion.CSharp5) {
asyncAwait = false;

Loading…
Cancel
Save