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
Remove unnecessary !s for [DoesNotReturn] (dotnet/coreclr#26512)
[mono-project.git]
/
mcs
/
errors
/
cs8151.cs
blob
934faefff7cfce6f488b65731241ec2134955dca
1
// CS8151: The return by reference expression must be of type `string' because this method returns by reference
2
// Line: 10
3
4
public class
X
5
{
6
int
field
;
7
8
ref string
TestMethod
()
9
{
10
return ref
field
;
11
}
12
}