Skip to content

Commit fcab5c7

Browse files
committed
Update documentation to 3.0
1 parent 62e770e commit fcab5c7

File tree

143 files changed

+1180
-323
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+1180
-323
lines changed

docs/analyzers/RCS0011.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RCS0011: Add empty line between single\-line accessors
1+
# RCS0011: Add empty line between single\-line accessors \(or vice versa\)
22

33
| Property | Value |
44
| -------- | ---------- |
@@ -29,12 +29,17 @@ string P
2929
}
3030
```
3131

32+
## Options
33+
34+
* [RCS0011i](RCS0011i.md) \- Remove empty line between single\-line accessors\.
35+
3236
## Applies to
3337

3438
* [Roslynator.Formatting.Analyzers](https://www.nuget.org/packages/Roslynator.Formatting.Analyzers)
3539

3640
## See Also
3741

42+
* [Analyzer Options](../AnalyzerOptions.md)
3843
* [How to Suppress a Diagnostic](../HowToConfigureAnalyzers.md#how-to-suppress-a-diagnostic)
3944

4045

docs/analyzers/RCS0011i.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# RCS0011i: Remove empty line between single\-line accessors
2+
3+
| Property | Value |
4+
| -------- | -------------- |
5+
| Id | RCS0011i |
6+
| Category | AnalyzerOption |
7+
| Severity | None |
8+
9+
This option modifies behavior of analyzer [RCS0011](RCS0011.md)\. It requires [RCS0011](RCS0011.md) to be enabled\.
10+
11+
## Example
12+
13+
### Code with Diagnostic
14+
15+
```csharp
16+
string P
17+
{
18+
get { return _p; }
19+
// [|Id|]
20+
set { _p = value; }
21+
}
22+
```
23+
24+
### Code with Fix
25+
26+
```csharp
27+
string P
28+
{
29+
get { return _p; }
30+
set { _p = value; }
31+
}
32+
```
33+
34+
## Applies to
35+
36+
* [Roslynator.Formatting.Analyzers](https://www.nuget.org/packages/Roslynator.Formatting.Analyzers)
37+
38+
## See Also
39+
40+
* [Analyzer Options](../AnalyzerOptions.md)
41+
* [How to Suppress a Diagnostic](../HowToConfigureAnalyzers.md#how-to-suppress-a-diagnostic)
42+
43+
44+
*\(Generated with [DotMarkdown](http://github.com/JosefPihrt/DotMarkdown)\)*

docs/analyzers/RCS0015.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RCS0015: Add empty line between using directives with different root namespace
1+
# RCS0015: Add empty line between using directives with different root namespace \(or vice versa\)
22

33
| Property | Value |
44
| -------- | ---------- |
@@ -31,12 +31,17 @@ namespace N
3131
}
3232
```
3333

34+
## Options
35+
36+
* [RCS0015i](RCS0015i.md) \- Remove empty line between using directives with different root namespace\.
37+
3438
## Applies to
3539

3640
* [Roslynator.Formatting.Analyzers](https://www.nuget.org/packages/Roslynator.Formatting.Analyzers)
3741

3842
## See Also
3943

44+
* [Analyzer Options](../AnalyzerOptions.md)
4045
* [How to Suppress a Diagnostic](../HowToConfigureAnalyzers.md#how-to-suppress-a-diagnostic)
4146

4247

docs/analyzers/RCS0015i.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# RCS0015i: Remove empty line between using directives with different root namespace
2+
3+
| Property | Value |
4+
| -------- | -------------- |
5+
| Id | RCS0015i |
6+
| Category | AnalyzerOption |
7+
| Severity | None |
8+
9+
This option modifies behavior of analyzer [RCS0015](RCS0015.md)\. It requires [RCS0015](RCS0015.md) to be enabled\.
10+
11+
## Example
12+
13+
### Code with Diagnostic
14+
15+
```csharp
16+
using System;
17+
// [|Id|]
18+
using Microsoft.CodeAnalysis;
19+
20+
namespace N
21+
{
22+
}
23+
```
24+
25+
### Code with Fix
26+
27+
```csharp
28+
using System;
29+
using Microsoft.CodeAnalysis;
30+
31+
namespace N
32+
{
33+
}
34+
```
35+
36+
## Applies to
37+
38+
* [Roslynator.Formatting.Analyzers](https://www.nuget.org/packages/Roslynator.Formatting.Analyzers)
39+
40+
## See Also
41+
42+
* [Analyzer Options](../AnalyzerOptions.md)
43+
* [How to Suppress a Diagnostic](../HowToConfigureAnalyzers.md#how-to-suppress-a-diagnostic)
44+
45+
46+
*\(Generated with [DotMarkdown](http://github.com/JosefPihrt/DotMarkdown)\)*

docs/analyzers/RCS0017.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RCS0017: Add newline after binary operator instead of before it
1+
# \[deprecated\] RCS0017: Add newline after binary operator instead of before it
22

33
| Property | Value |
44
| -------- | ---------- |

docs/analyzers/RCS0018.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RCS0018: Add newline after conditional operator instead of before it
1+
# \[deprecated\] RCS0018: Add newline after conditional operator instead of before it
22

33
| Property | Value |
44
| -------- | ---------- |

docs/analyzers/RCS0019.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RCS0019: Add newline after expression\-body arrow instead of before it
1+
# \[deprecated\] RCS0019: Add newline after expression\-body arrow instead of before it
22

33
| Property | Value |
44
| -------- | ---------- |

docs/analyzers/RCS0021.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
### Code with Diagnostic
1212

1313
```csharp
14-
void Foo() { Bar(); } // RCS0021
14+
void Foo() { Bar(); }
1515
```
1616

1717
### Code with Fix

docs/analyzers/RCS0025.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
### Code with Diagnostic
1212

1313
```csharp
14-
string Foo { get { return _foo; } set { _foo = value; } } // RCS0025
14+
string Foo { get { return _foo; } set { _foo = value; } }
1515
```
1616

1717
### Code with Fix

docs/analyzers/RCS0027.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RCS0027: Add newline before binary operator instead of after it
1+
# RCS0027: Add newline before binary operator instead of after it \(or vice versa\)
22

33
| Property | Value |
44
| -------- | ---------- |
@@ -28,6 +28,10 @@ if (x
2828
}
2929
```
3030

31+
## Options
32+
33+
* [RCS0027i](RCS0027i.md) \- Add newline after binary operator instead of before it\.
34+
3135
## Remarks
3236

3337
This rule was originally introduced as [RCS1029](RCS1029.md)
@@ -38,6 +42,7 @@ This rule was originally introduced as [RCS1029](RCS1029.md)
3842

3943
## See Also
4044

45+
* [Analyzer Options](../AnalyzerOptions.md)
4146
* [How to Suppress a Diagnostic](../HowToConfigureAnalyzers.md#how-to-suppress-a-diagnostic)
4247

4348

0 commit comments

Comments
 (0)