You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[UnconditionalSuppressMessage("Trimmer","IL2057",Justification="Type.GetType is only used to resolve statically known types that are referenced by DataProtection assembly.")]
[UnconditionalSuppressMessage("Trimmer","IL2057",Justification="Type.GetType result is only useful with types that are referenced by DataProtection assembly.")]
@@ -39,4 +40,16 @@ public static Type GetTypeWithTrimFriendlyErrorMessage(string typeName)
39
40
thrownewInvalidOperationException($"Unable to load type '{typeName}'. If the app is published with trimming then this type may have been trimmed. Ensure the type's assembly is excluded from trimming.",ex);
[UnconditionalSuppressMessage("Trimmer","IL2057",Justification="Type.GetType result is only useful with types that are referenced by DataProtection assembly.")]
Copy file name to clipboardExpand all lines: src/DataProtection/DataProtection/test/Microsoft.AspNetCore.DataProtection.Tests/XmlEncryption/XmlEncryptionExtensionsTests.cs
+94
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,100 @@ public void DecryptElement_RootNodeRequiresDecryption_Success()
0 commit comments