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
[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git]
/
mcs
/
errors
/
cs0592-3.cs
blob
5ba255466fa68639fc74f745e620bb225eb9dc3c
1
// CS0592: The attribute `System.Runtime.CompilerServices.IndexerNameAttribute' is not valid on this declaration type. It is valid on `property, indexer' declarations only
2
// Line : 6
3
4
using
System
.
Runtime
.
CompilerServices
;
5
6
[
IndexerName
(
"XXX"
)]
7
class
A
{
8
public static void
Main
()
{ }
9
10
}