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
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
errors
/
cs0131-5.cs
blob
f6300702694a53da34912f84b7ee02c15a1dde0c
1
// CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
2
// Line: 15
3
// Compiler options: -unsafe
4
5
unsafe struct
MyStruct
6
{
7
public fixed char
Name
[
32
];
8
}
9
10
unsafe class
MainClass
11
{
12
public static void
Main
()
13
{
14
var
str
=
new
MyStruct
();
15
str
.
Name
=
null
;
16
}
17
}