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
Copy file name to clipboardExpand all lines: OnePassword.NET/Common/CommonExtensions.cs
+41-21Lines changed: 41 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -3,22 +3,18 @@
3
3
4
4
namespaceOnePassword.Common;
5
5
6
-
/// <summary>
7
-
/// Common extensions methods.
8
-
/// </summary>
6
+
/// <summary>Common extensions methods.</summary>
9
7
internalstaticclassCommonExtensions
10
8
{
11
-
/// <summary>
12
-
/// Converts an enum field to its string representation.
13
-
/// </summary>
9
+
/// <summary>Converts an enum field to its string representation.</summary>
14
10
/// <param name="field">The enum field.</param>
15
11
/// <typeparam name="TField">The type of enum field.</typeparam>
16
12
/// <returns>A string representation of the enum field.</returns>
17
13
/// <exception cref="ArgumentNullException">Thrown when field is null.</exception>
18
-
/// <exception cref="NotImplementedException">Thrown when field is not correctly annotated with a <see cref="EnumMemberAttribute"/>.</exception>
19
-
[UnconditionalSuppressMessage("AssemblyLoadTrimming","IL2090:'this' argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to 'target method'.",Justification="https://github.com/dotnet/runtime/issues/97737")]
/// <exception cref="NotImplementedException">Thrown when field is not correctly annotated with a <see cref="EnumMemberAttribute"/>.</exception>
15
+
[UnconditionalSuppressMessage("AssemblyLoadTrimming","IL2090:'this' argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to 'target method'.",
0 commit comments