linux-packaging-mono/mcs/tests/gtest-iter-28.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

37 lines
417 B
C#

using System;
using System.Collections.Generic;
class A
{
public IEnumerable<string> Test (B b)
{
string s = "s";
yield return "a";
{
string stringValue = "two";
Console.WriteLine (b.ToString ());
{
Action a = () => {
Console.WriteLine (s + c.GetType () + stringValue);
};
a ();
}
}
}
C c = new C ();
}
class B
{
}
class C
{
public static void Main ()
{
}
}