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
[ci] Only build the additional profiles on one arch instead of everywhere
[mono-project.git]
/
mcs
/
errors
/
cs1612-9.cs
blob
d9b0f65ae8baefb81ac8760b36c0c1447e56e637
1
// CS1612: Cannot modify a value type return value of `R.Size'. Consider storing the value in a temporary variable
2
// Line: 19
3
4
struct
R
5
{
6
public
S Size { get; set; }
7
}
8
9
struct
S
10
{
11
public float
Height { get; set; }
12
}
13
14
public class
Test
15
{
16
public static void
Main
()
17
{
18
var
r
=
new
R
();
19
r
.
Size
.
Height
=
3
;
20
}
21
}