[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs8122.cs
blob3f31be006517c76c4983ad96d1378315e1d6fe7a
1 // CS8122: An expression tree cannot contain a pattern matching operator
2 // Line: 12
4 using System;
5 using System.Linq.Expressions;
7 class X
9 public static void Main ()
11 object o = 1;
12 Expression<Func<bool>> e = () => o is int y;