Loading

csharp_place_event_attribute_on_same_line

Where an event's attribute section goes.

Value Notes
own_line
if_owner_is_single_line

Default: own_line

csharp_place_event_attribute_on_same_line = own_line
		
namespace N;

public class Widget
{
    [Obsolete]
    public void OldWay() { }

    [Obsolete("use NewWay")]
    public string OldName { get; set; } = "";
}
		
namespace N;

public class Widget
{
    [Obsolete]
    public void OldWay() { }

    [Obsolete("use NewWay")]
    public string OldName { get; set; } = "";
}
		
csharp_place_event_attribute_on_same_line = if_owner_is_single_line
		
namespace N;

public class Widget
{
    [Obsolete]
    public void OldWay() { }

    [Obsolete("use NewWay")]
    public string OldName { get; set; } = "";
}
		
namespace N;

public class Widget
{
    [Obsolete]
    public void OldWay() { }

    [Obsolete("use NewWay")]
    public string OldName { get; set; } = "";
}