2 // Sample for bug 75674
5 using System
.Collections
;
8 static void Metodo (Exception e
)
10 if (e
is NotImplementedException
){
11 Console
.WriteLine ("OK");
13 Console
.WriteLine ("Fail");
17 static IEnumerable
X ()
20 throw new NotImplementedException ();
21 } catch (Exception e
){
29 foreach (int a
in X ()){