Skip to content

Commit

Permalink
Fix AnalyzerReleases.Shipped.md for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpeppers committed Oct 24, 2023
1 parent c929160 commit 9ee4de2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
22 changes: 21 additions & 1 deletion MemoryAnalyzers/MemoryAnalyzers/AnalyzerReleases.Shipped.md
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 MemoryAnalyzers/MemoryAnalyzers/AnalyzerReleases.Unshipped.md
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.

0 comments on commit 9ee4de2

Please sign in to comment.