projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Add new test
[mono.git]
/
mcs
/
errors
/
cs0117-3.cs
1
// CS0117: `Color' does not contain a definition for `Transparent'
2
// Line:
3
4
using System;
5
6
struct Color
7
{
8
}
9
10
static class ExtensionMethods
11
{
12
public static Color Transparent (this Color c)
13
{
14
return new Color ();
15
}
16
}
17
18
class MainClass
19
{
20
public static void Main ()
21
{
22
var c = Color.Transparent ();
23
}
24
}