-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b925c3
commit 5294c25
Showing
141 changed files
with
10,287 additions
and
9,719 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# DUR0501 - Error | ||
### Type marked with the GlobalScopeAttribute must be static. | ||
|
||
## Example 1 | ||
|
||
### Code with diagnostic: | ||
```csharp | ||
using Durian; | ||
|
||
// DUR0501 | ||
[GlobalScope] | ||
public class Test | ||
{ | ||
public static void DoStuff() | ||
{ | ||
} | ||
} | ||
|
||
``` | ||
## | ||
|
||
*\(Written by Piotr Stenke\)* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# DUR0502 - Error | ||
### Type marked with the GlobalScopeAttribute cannot be a nested type. | ||
|
||
## Example 1 | ||
|
||
### Code with diagnostic: | ||
```csharp | ||
using Durian; | ||
|
||
public static class Test | ||
{ | ||
// DUR0502 | ||
[GlobalScope] | ||
public static class Inner | ||
{ | ||
} | ||
} | ||
|
||
``` | ||
## | ||
|
||
*\(Written by Piotr Stenke\)* |
Oops, something went wrong.