This project is read-only.
1

Resolved

Null-propagation expression with complex qualifier + expression tree

description

using System;
using System.Linq.Expressions;

public class C {
    public void M() {
        Expression<Func<string, string>> f = x =>
           x.Substring(0, 42)?.ToString();
    }
}
Crashes the compiler...

comments

VSadov wrote Aug 1, 2014 at 10:53 PM

Fixed in changeset 4fc925eedab2d0dfeca9377ffba62f18cd159a2f