System.ServiceModel.Primitives reference assembly is missing SymmetricSecurityKey.GetKeyedHashAlgorithm(string) method
- Dominant language
- C#
- Stars
- 1.8k
- Forks
- 576
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 2
Description
**Describe the bug**
When trying to use the [GetKeyedHashAlgorithm](https://learn.microsoft.com/en-us/dotnet/api/system.identitymodel.tokens.symmetricsecuritykey.getkeyedhashalgorithm?view=dotnet-plat-ext-7.0) on the System.IdentityModel.Tokens.SymmetricSecurityKey class, the IDE and compiler says that the method is missing.
Investigating the issue I noticed that the method exists in the source code and in the lib file in the nuget package, but is missing from the ref dll in the nuget package.
**To Reproduce**
Steps to reproduce the behavior:
1. Create a new project
2. Add a package reference to
3. Try to call GetKeyedHashAlgorithm(string)
**Expected behavior**
It should be possible to invoke the method. (Or it should not be in the API documentation)
Contributor guide
Assessment
This issue has not been assessed yet.