Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 864 Bytes

RR0202.md

File metadata and controls

40 lines (30 loc) · 864 Bytes

Move unsafe context to containing declaration

Property Value
Id RR0202
Title Move unsafe context to containing declaration
Syntax unsafe declaration
Span unsafe modifier
Enabled by Default

Usage

Before

public class Foo
{
  public unsafe void Bar()
  {
  }
}

After

public unsafe class Foo
{
  public void Bar()
  {
  }
}

See Also

(Generated with DotMarkdown)