diff --git a/src/Microsoft.IdentityModel.Tokens/CryptoProviderFactory.cs b/src/Microsoft.IdentityModel.Tokens/CryptoProviderFactory.cs index 70def7415d..9e0d6dbe17 100644 --- a/src/Microsoft.IdentityModel.Tokens/CryptoProviderFactory.cs +++ b/src/Microsoft.IdentityModel.Tokens/CryptoProviderFactory.cs @@ -113,8 +113,8 @@ public CryptoProviderFactory(CryptoProviderFactory other) /// the algorithm to use. /// thrown if is null. /// thrown if is null or empty. - /// thrown if If and algorithm pair are not supported. - /// thrown if returns a type that is not assingable from . + /// thrown if and algorithm pair are not supported. + /// thrown if returns a type that is not assignable from . /// /// If is set and returns true. /// is called to obtain the . @@ -152,8 +152,8 @@ public virtual AuthenticatedEncryptionProvider CreateAuthenticatedEncryptionProv /// the algorithm to use. /// thrown if is null. /// thrown if is null or empty. - /// thrown if If and algorithm pair are not supported. - /// thrown if returns a type not assingable from . + /// thrown if and algorithm pair are not supported. + /// thrown if returns a type not assignable from . /// /// If is set and returns true. /// is called to obtain the . @@ -207,9 +207,9 @@ private KeyWrapProvider CreateKeyWrapProvider(SecurityKey key, string algorithm, /// thrown if is null. /// thrown if is null or empty. /// thrown if is too small. - /// thrown if is not assingable from or . + /// thrown if is not assignable from or . /// thrown if the key / algorithm is not supported. - /// thrown if returns a type that is not assingable from . + /// thrown if returns a type that is not assignable from . /// /// AsymmetricSignatureProviders require access to a PrivateKey for Signing. /// When finished with the call . @@ -240,9 +240,9 @@ public virtual SignatureProvider CreateForSigning(SecurityKey key, string algori /// thrown if is null. /// thrown if is null or empty. /// thrown if is too small. - /// thrown if is not assingable from or . + /// thrown if is not assignable from or . /// thrown if the key / algorithm is not supported. - /// thrown if returns a type that is not assingable from . + /// thrown if returns a type that is not assignable from . /// When finished with the call . /// If is set and returns true. /// is called to obtain the . @@ -269,7 +269,7 @@ public virtual SignatureProvider CreateForVerifying(SecurityKey key, string algo /// /// the name of the hash algorithm to create. /// thrown if is null or empty. - /// thrown if returns a type that is not assingable from . + /// thrown if returns a type that is not assignable from . /// thrown if is not supported. /// When finished with the call . /// If is set and returns true. @@ -306,7 +306,7 @@ public virtual HashAlgorithm CreateHashAlgorithm(HashAlgorithmName algorithm) /// /// the name of the hash algorithm to create. /// thrown if is null or empty. - /// thrown if returns a type that is not assingable from . + /// thrown if returns a type that is not assignable from . /// thrown if is not supported. /// When finished with the call . /// If is set and returns true. diff --git a/test/Microsoft.IdentityModel.Tokens.Tests/SupportedAlgorithmTheoryData.cs b/test/Microsoft.IdentityModel.Tokens.Tests/SupportedAlgorithmTheoryData.cs index 6a99e94a5b..b735cc9046 100644 --- a/test/Microsoft.IdentityModel.Tokens.Tests/SupportedAlgorithmTheoryData.cs +++ b/test/Microsoft.IdentityModel.Tokens.Tests/SupportedAlgorithmTheoryData.cs @@ -48,7 +48,6 @@ public static void AddTestCase(string algorithm, SecurityKey securityKey, string public static void AddTestCase(string algorithm, SecurityKey securityKey, bool isSupportedAlgorithm, string testId, TheoryData theoryData, ExpectedException expectedException = null) { - theoryData.Add(new SupportedAlgorithmTheoryData { Algorithm = algorithm,