|
|
|
@ -17,6 +17,8 @@
@@ -17,6 +17,8 @@
|
|
|
|
|
// DEALINGS IN THE SOFTWARE.
|
|
|
|
|
|
|
|
|
|
using System; |
|
|
|
|
using System.Collections; |
|
|
|
|
using System.Collections.Generic; |
|
|
|
|
|
|
|
|
|
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty |
|
|
|
|
{ |
|
|
|
@ -258,6 +260,11 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
@@ -258,6 +260,11 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
|
|
|
|
|
return t?.Int(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public int? Issue1709(object obj) |
|
|
|
|
{ |
|
|
|
|
return (obj as ICollection)?.Count + (obj as ICollection<int>)?.Count; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static dynamic DynamicNullProp(dynamic a) |
|
|
|
|
{ |
|
|
|
|
return a?.b.c(1)?.d[10]; |
|
|
|
|