repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixes the mono/tests/gc-graystack-stress test on Windows x64
[mono-project.git]
/
mcs
/
errors
/
cs0117-3.cs
blob
63e2027bcffb162f14583c6b06192ec789f67298
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
}