projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* ecore.cs (Expression.Error_ValueCannotBeConverted): Add special
[mono.git]
/
mcs
/
errors
/
cs1623.cs
1
// CS1623: Iterators cannot have ref or out parameters
2
// Line: 8
3
using System;
4
using System.Collections;
5
6
class X
7
{
8
public static IEnumerable Test (ref int a)
9
{
10
yield return 0;
11
}
12
13
static void Main ()
14
{
15
int i = 3;
16
IEnumerable a = Test (ref i);
17
Console.WriteLine (a);
18
}
19
}