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
[loader] LoadFrom of problematic images should reprobe
[mono-project.git]
/
mcs
/
errors
/
cs0523-5.cs
blob
63ca1e87a54c093af1b04ad44d83915a1a3ce2c0
1
// CS0523: Struct member `Foo.Handle' of type `Handle<Foo>' causes a cycle in the struct layout
2
// Line: 13
3
// NOTE: Not detected by csc only by runtime loader
4
5
using
System
;
6
7
struct
Handle
<
T
>
8
{
9
public
IntPtr Value
;
10
}
11
12
struct
Foo
13
{
14
public readonly
Handle
<
Foo
>
Handle
;
15
}