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
[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git]
/
mcs
/
errors
/
cs0592-5.cs
blob
3a165ff48cf06adada7708f331f05837279fda43
1
// CS0592: The attribute `TestAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only
2
// Line: 6
3
4
using
System
;
5
6
[
TestAttribute
()]
7
enum
E
{
8
}
9
10
[
AttributeUsage
(
AttributeTargets
.
Constructor
)]
11
public class
TestAttribute
:
Attribute
{
12
}