repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
gcs0171.cs
blob
f6127ab5067ab3fd8d9ed5f98a1fb22f9d1696f3
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
private
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
}