a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
385 B
C#
22 lines
385 B
C#
// CS0579: The attribute `System.ObsoleteAttribute' cannot be applied multiple times
|
|
// Line : 17
|
|
|
|
using System;
|
|
|
|
[AttributeUsage (AttributeTargets.ReturnValue)]
|
|
public class ReturnAttribute : Attribute
|
|
{
|
|
public ReturnAttribute ()
|
|
{
|
|
}
|
|
}
|
|
|
|
class MainClass {
|
|
[Obsolete]
|
|
[return: Return]
|
|
[Obsolete]
|
|
static void Main()
|
|
{
|
|
}
|
|
}
|