Merge pull request #4615 from alexanderkyte/string_error_handling
[mono.git] / mcs / errors / cs9030.cs
1 // CS9030: The left-hand side of an assignment cannot contain a null propagating operator
2 // Line: 11
3
4 using System;
5
6 class MainClass
7 {
8         public static void Main ()
9         {
10                 System.AppDomain a = null;
11                 a?.AssemblyLoad += (sender, args) => Console.Write (args);
12         }
13 }