projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] C#7 type pattern matching
[mono.git]
/
mcs
/
errors
/
cs1644-52.cs
1
// CS1644: Feature `pattern matching' cannot be used because it is not part of the C# 6.0 language specification
2
// Line: 9
3
// Compiler options: -langversion:6
4
5
class Class
6
{
7
static void Foo (object arg)
8
{
9
if (arg is Type v) {
10
return;
11
}
12
}
13
}