From 6fadf582139a249dc766c5bfe19535fd3bd80cfa Mon Sep 17 00:00:00 2001 From: Pavel Mikula Date: Mon, 18 Nov 2024 11:39:46 +0100 Subject: [PATCH] NET-700 Modify S7133: Remove Monitor and events --- rules/S7133/description-dotnet.adoc | 4 ---- rules/S7133/resources-dotnet.adoc | 1 - 2 files changed, 5 deletions(-) diff --git a/rules/S7133/description-dotnet.adoc b/rules/S7133/description-dotnet.adoc index 918389f93d6..c998bb6955b 100644 --- a/rules/S7133/description-dotnet.adoc +++ b/rules/S7133/description-dotnet.adoc @@ -10,10 +10,6 @@ This rule raises if you acquire a lock with one of the following methods, and do * https://learn.microsoft.com/en-us/dotnet/api/system.threading.readerwriterlockslim.tryenterwritelock[ReaderWriterLockSlim.TryEnterWriteLock] * https://learn.microsoft.com/en-us/dotnet/api/system.threading.spinlock.enter[SpinLock.Enter] * https://learn.microsoft.com/en-us/dotnet/api/system.threading.spinlock.tryenter[SpinLock.TryEnter] -* https://learn.microsoft.com/en-us/dotnet/api/system.threading.monitor.enter[Monitor.Enter] -* https://learn.microsoft.com/en-us/dotnet/api/system.threading.monitor.tryenter[Monitor.TryEnter] - - == Why is this an issue? diff --git a/rules/S7133/resources-dotnet.adoc b/rules/S7133/resources-dotnet.adoc index 9072b7fdb58..62024b2f37f 100644 --- a/rules/S7133/resources-dotnet.adoc +++ b/rules/S7133/resources-dotnet.adoc @@ -5,4 +5,3 @@ * Microsoft Learn - https://learn.microsoft.com/en-us/dotnet/api/system.threading.readerwriterlock[ReaderWriterLock Class] * Microsoft Learn - https://learn.microsoft.com/en-us/dotnet/api/system.threading.readerwriterlockslim[ReaderWriterLockSlim Classs] * Microsoft Learn - https://learn.microsoft.com/en-us/dotnet/api/system.threading.spinlock[SpinLock Struct] -* Microsoft Learn - https://learn.microsoft.com/en-us/dotnet/api/system.threading.monitor[Monitor Classs]