JetBrains / JetBrains/ExternalAnnotations

System.Security.Cryptography is not annotated

Open
#134 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
84
Forks
46
Avg merge
6h 55m
Merged PRs (30d)
1

Description

Create methods never return null.
E.g. https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.des.create?view=netframework-4.7.2#System_Security_Cryptography_DES_Create

https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography?view=netframework-4.7.2
Samples
```cs
var des = DES.Create();
var desEncryptor = des.CreateEncryptor(); // Possible NRE

var aes = Aes.Create();
var aesEncryptor = aes.CreateEncryptor(); // Possible NRE
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.