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
Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs0171-4.cs
blob
8f909cedfb6ed6b73c2522e2d1786b66016bc8ec
1
// CS0171: Field `S<TKey>.key' must be fully assigned before control leaves the constructor
2
// Line: 13
3
4
public struct
S
<
TKey
> {
5
internal
TKey key
;
6
7
public
TKey Key
{
8
get
{ return key; }
9
private set
{ key = value; }
10
}
11
12
public
S
(
TKey key
)
13
{
14
Key
=
key
;
15
}
16
}