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
resync
[mcs.git]
/
errors
/
cs0619-41.cs
blob
2527e65295d284077fcfb670a0a12648faece7ec
1
// cs0619-41.cs: `A.Filename' is obsolete: `Obsolete'
2
// Line: 8
3
4
class
A
:
Error
{
5
[
System
.
ObsoleteAttribute
(
"Obsolete"
,
true
)]
6
public override string
Filename
{
7
set
{
8
}
9
}
10
11
public static void
Main
() {}
12
}
13
14
public class
Error
{
15
public virtual string
Filename
{
16
set
{
17
}
18
get
{
19
return
"aa"
;
20
}
21
}
22
}
23
24
class
B
{
25
void
TT
() {
26
new
A
().
Filename
=
"Filename"
;
27
}
28
}