Permalink
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (30 sloc) 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)