repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
gcs1935-2.cs
blob
165b566c98182f1e14eab5d0d9e4d5555ee085e4
1
// CS1935: An implementation of `Cast' query expression pattern could not be found. Are you missing `System.Linq' using directive or `System.Core.dll' assembly reference?
2
// Line: 12
3
4
5
public class
Test
6
{
7
class
Enumerable
{}
8
9
static void
Main
()
10
{
11
var
v
=
new int
[
0
];
12
var
foo
=
from int
a
in
v where a
>
0
select
a
;
13
}
14
}