-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
AnalyzerReleases.Shipped.md
for next release
- Loading branch information
1 parent
c929160
commit 9ee4de2
Showing
2 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
22 changes: 21 additions & 1 deletion
22
MemoryAnalyzers/MemoryAnalyzers/AnalyzerReleases.Shipped.md
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 |
---|---|---|
@@ -1,10 +1,30 @@ | ||
; Shipped analyzer releases | ||
; Shipped analyzer releases | ||
; https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md | ||
|
||
## Release 0.1.0.2 | ||
|
||
### New Rules | ||
|
||
Rule ID | Category | Severity | Notes | ||
--------|----------|----------|------- | ||
MA0001 | Memory | Warning | C# events can cause memory leaks in an NSObject subclass. Remove the event or add the [UnconditionalSuppressMessage("Memory", "MA0001")] attribute with a justification as to why the event will not leak. | ||
MA0002 | Memory | Warning | Reference type members can cause memory leaks in an NSObject subclass. Remove the member, store the value as a WeakReference, or add the [UnconditionalSuppressMessage("Memory", "MA0002")] attribute with a justification as to why the member will not leak. | ||
MA0003 | Memory | Warning | Subscribing to events with instance methods can cause memory leaks in an NSObject subclass. Remove the subscription or convert the method to a static method. | ||
|
||
## Release 0.1.0.4 | ||
|
||
### Removed Rules | ||
|
||
Rule ID | Category | Severity | Notes | ||
--------|----------|----------|------- | ||
MA0001 | Memory | Warning | C# events can cause memory leaks in an NSObject subclass. Remove the event or add the [UnconditionalSuppressMessage("Memory", "MA0001")] attribute with a justification as to why the event will not leak. | ||
MA0002 | Memory | Warning | Reference type members can cause memory leaks in an NSObject subclass. Remove the member, store the value as a WeakReference, or add the [UnconditionalSuppressMessage("Memory", "MA0002")] attribute with a justification as to why the member will not leak. | ||
MA0003 | Memory | Warning | Subscribing to events with instance methods can cause memory leaks in an NSObject subclass. Remove the subscription or convert the method to a static method. | ||
|
||
### New Rules | ||
|
||
Rule ID | Category | Severity | Notes | ||
--------|----------|----------|------- | ||
MEM0001 | Memory | Warning | C# events can cause memory leaks in an NSObject subclass. Remove the event or add the [UnconditionalSuppressMessage("Memory", "MA0001")] attribute with a justification as to why the event will not leak. | ||
MEM0002 | Memory | Warning | Reference type members can cause memory leaks in an NSObject subclass. Remove the member, store the value as a WeakReference, or add the [UnconditionalSuppressMessage("Memory", "MA0002")] attribute with a justification as to why the member will not leak. | ||
MEM0003 | Memory | Warning | Subscribing to events with instance methods can cause memory leaks in an NSObject subclass. Remove the subscription or convert the method to a static method. |
10 changes: 1 addition & 9 deletions
10
MemoryAnalyzers/MemoryAnalyzers/AnalyzerReleases.Unshipped.md
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 |
---|---|---|
@@ -1,10 +1,2 @@ | ||
; Unshipped analyzer release | ||
; Unshipped analyzer release | ||
; https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md | ||
|
||
### New Rules | ||
|
||
Rule ID | Category | Severity | Notes | ||
--------|----------|----------|------- | ||
MEM0001 | Memory | Warning | C# events can cause memory leaks in an NSObject subclass. Remove the event or add the [UnconditionalSuppressMessage("Memory", "MA0001")] attribute with a justification as to why the event will not leak. | ||
MEM0002 | Memory | Warning | Reference type members can cause memory leaks in an NSObject subclass. Remove the member, store the value as a WeakReference, or add the [UnconditionalSuppressMessage("Memory", "MA0002")] attribute with a justification as to why the member will not leak. | ||
MEM0003 | Memory | Warning | Subscribing to events with instance methods can cause memory leaks in an NSObject subclass. Remove the subscription or convert the method to a static method. |