Skip to content

Commit cb07c03

Browse files
authored
Update ImmutabilityContext.Factory.cs (#965)
Add SemaphoreSlim to default types. https://learn.microsoft.com/en-us/dotnet/api/system.threading.semaphoreslim?view=netframework-4.8 From this PR Comment
1 parent b807b50 commit cb07c03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/D2L.CodeStyle.Analyzers/Immutability/ImmutabilityContext.Factory.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ internal partial class ImmutabilityContext {
5454
("System.Text.RegularExpressions.Regex", default),
5555
("System.Text.UTF8Encoding", default),
5656
("System.Threading.ReaderWriterLockSlim", default),
57+
("System.Threading.SemaphoreSlim", default),
5758
("System.TimeSpan", default),
5859
("System.Type", default),
5960
("System.Uri", default),

0 commit comments

Comments
 (0)