Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'attribute modifier' is not a recognized attribute location. All attributes in this block will be ignored.
An invalid attribute modifier was specified. See Attribute Targets for more information.
The following sample generates CS0658:
// CS0658.cs
using System;
public class TestAttribute : Attribute{}
[badAttributeLocation: Test] // CS0658, badAttributeLocation is invalid
class ClassTest
{
public static void Main()
{
}
}