Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs1637.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7e6237f7fa8f4433b4ddb10b66afab4e7bbb01fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS1637: Iterators cannot have unsafe parameters or yield types
// Line: 6
// Compiler options: /unsafe

unsafe class C
{
    public System.Collections.IEnumerator GetEnumerator (int* p)
    {
        yield return 1;
    }
    
}