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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs1503-17.cs
blob
23921edc939676cea5a155564c638eef4b7728fe
1
// CS1503: Argument `#1' cannot convert `ref long' expression to type `ref int'
2
// Line: 18
3
4
using
System
;
5
6
class
X
7
{
8
long
field
;
9
10
static void
Main
()
11
{
12
var
x
=
new
X
();
13
x
.
Run
();
14
}
15
16
void
Run
()
17
{
18
Test
(
ref
Prop
);
19
}
20
21
static int
Test
(
ref int
y
)
22
{
23
return
y
;
24
}
25
26
ref long
Prop
{
27
get
{
28
return ref
field
;
29
}
30
}
31
}