a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
34 lines
452 B
C#
34 lines
452 B
C#
// CS1671: A namespace declaration cannot have modifiers or attributes
|
|
// Line: 5
|
|
using System;
|
|
|
|
[error_1518(11)]
|
|
namespace Mono.Tests
|
|
{
|
|
[AttributeUsage(AttributeTargets.All)]
|
|
public class error_1518Attribute : Attribute
|
|
{
|
|
private int x;
|
|
|
|
public error_1518Attribute(int x)
|
|
{
|
|
this.x = x;
|
|
}
|
|
|
|
public int X
|
|
{
|
|
get
|
|
{
|
|
return x;
|
|
}
|
|
}
|
|
}
|
|
|
|
[error_1518(10)]
|
|
public class error_1518Class
|
|
{
|
|
public error_1518Class()
|
|
{
|
|
}
|
|
}
|
|
} |