projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[651547] Check definitely assigned struct this access correctly.
[mono.git]
/
mcs
/
errors
/
cs0188-9.cs
1
// CS0188: The `this' object cannot be used before all of its fields are assigned to
2
// Line: 11
3
4
using System;
5
6
public struct S
7
{
8
public int A { get; private set;}
9
event EventHandler eh;
10
11
public S (int a)
12
{
13
this.eh = null;
14
A = a;
15
}
16
}