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: src/Smdn.Fundamental.MimeType/Smdn/MimeType.IParseable.cs
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@
11
11
usingSystem.Diagnostics.CodeAnalysis;
12
12
#endif
13
13
14
+
usingSmdn.Formats.Mime;
15
+
14
16
namespaceSmdn;
15
17
16
18
#pragma warning disable IDE0040
@@ -22,7 +24,7 @@ partial class MimeType
22
24
#endif
23
25
{
24
26
#if OBSOLETE_MEMBER
25
-
[Obsolete($"The method will be deprecated in the future release. Use {nameof(MimeTypeStringExtensions)}.{nameof(MimeTypeStringExtensions.TrySplit)}() instead.")]
27
+
[Obsolete($"The method will be deprecated in the future release. Use Smdn.Formats.Mime.{nameof(MimeTypeStringExtensions)}.{nameof(MimeTypeStringExtensions.TrySplit)}() instead.")]
26
28
publicstaticboolTryParse(
27
29
string?s,
28
30
#pragma warning disable SA1316
@@ -96,7 +98,7 @@ out var ret
96
98
}
97
99
98
100
#if OBSOLETE_MEMBER
99
-
[Obsolete($"The return type of this method will be changed to MimeType in the future release. Use Use {nameof(MimeTypeStringExtensions)}.{nameof(MimeTypeStringExtensions.Split)}() instead.")]
101
+
[Obsolete($"The return type of this method will be changed to MimeType in the future release. Use Use Smdn.Formats.Mime.{nameof(MimeTypeStringExtensions)}.{nameof(MimeTypeStringExtensions.Split)}() instead.")]
0 commit comments