5 references to GetExtension
ReachFramework (1)
Packaging\XpsFixedPageReaderWriter.cs (1)
1852ReadOnlySpan<char> extension = Path.GetExtension(path).Slice(1);
System.Net.Mail (2)
System\Net\Mime\MediaTypeMap.cs (2)
793/// The method extracts the extension from <paramref name="pathOrExtension"/> using the same logic as <see cref="Path.GetExtension(ReadOnlySpan{char})"/>. 800scoped ReadOnlySpan<char> extension = Path.GetExtension(pathOrExtension);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\IO\Path.cs (1)
186return GetExtension(path.AsSpan()).ToString();
System.Windows.Forms (1)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
630var currentExtension = Path.GetExtension(fileName.AsSpan());