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
Fix DateTime.Now and CurrentTimeToUtc during DST transition time (#4172)
[mono-project.git]
/
mcs
/
tests
/
gtest-implicitarray-02.cs
blob
ef70f82490dd5aedfcadfb169ca5feefc77534df
1
class
MyString
2
{
3
public static implicit operator string
(
MyString s
)
4
{
5
return
"ggtt"
;
6
}
7
}
8
9
public class
Test
10
{
11
public static int
Main
()
12
{
13
var
v
=
new
[]
{ new MyString (), "a" }
;
14
if
(
v
[
0
] !=
"ggtt"
)
15
return
1
;
16
return
0
;
17
}
18
}