60 references to GetExtension
mscorlib (2)
system\reflection\emit\modulebuilderdata.cs (1)
52String strExtension = Path.GetExtension(strFileName);
system\runtime\interopservices\typelibconverter.cs (1)
314String strExtension = Path.GetExtension(asmFileName);
PresentationBuildTasks (4)
BuildTasks\Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (1)
129string currentProjectExtension = Path.GetExtension(CurrentProject);
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (2)
413Path.GetExtension(sourceFilePath).Equals(SharedStrings.BamlExtension) && 414Path.GetExtension(path).Equals(SharedStrings.XamlExtension))
BuildTasks\MS\Internal\Tasks\TaskHelper.cs (1)
285if (String.Compare(Path.GetExtension(assemblyPath), SharedStrings.MetadataDll, StringComparison.OrdinalIgnoreCase) == 0)
PresentationCore (6)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
756return Path.GetExtension(unescapedPath);
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (1)
131string extension = Path.GetExtension(fileName);
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (3)
264if (Util.IsSupportedFontExtension(Path.GetExtension(file), out isComposite)) 288isComposite = Util.IsCompositeFont(Path.GetExtension(_uri.AbsoluteUri)); 293isComposite = Util.IsCompositeFont(Path.GetExtension(resourceName));
Shared\MS\Internal\MimeTypeMapper.cs (1)
146string extensionWithDot = Path.GetExtension(docString);
PresentationFramework (5)
src\Framework\Microsoft\Win32\FileDialog.cs (1)
1634string currentExtension = Path.GetExtension(fileName);
src\Framework\MS\Internal\AppModel\AppSecurityManager.cs (1)
291System.IO.Path.GetExtension(destinationUri.LocalPath)
src\Framework\MS\Internal\AppModel\ResourcePart.cs (2)
156if (String.Compare(Path.GetExtension(_name), ResourceContainer.BamlExt, StringComparison.OrdinalIgnoreCase) == 0) 161if (String.Compare(Path.GetExtension(_name), ResourceContainer.XamlExt, StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\MS\Internal\IO\Packaging\PackageFilter.cs (1)
610string extension = Path.GetExtension(path);
System (2)
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
2838if (!Path.GetExtension(outputAssemblyFile).Equals(extensionWithDot, StringComparison.OrdinalIgnoreCase)) {
services\monitoring\system\diagnosticts\ProcessStartInfo.cs (1)
295string extension = Path.GetExtension(FileName);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\manifestimages.cs (2)
96string extension = Path.GetExtension(resourceNames[i]); 170return ".xaml".Equals(Path.GetExtension(resourceName), StringComparison.OrdinalIgnoreCase);
System.ComponentModel.DataAnnotations (1)
DataAnnotations\FileExtensionsAttribute.cs (1)
73return ExtensionsParsed.Contains(Path.GetExtension(fileName).ToLowerInvariant());
System.Core (2)
System\Diagnostics\EventSchemaTraceListener.cs (1)
663string fileExt = Path.GetExtension(fileName);
System\IO\LogStream.cs (1)
388_fileExt = Path.GetExtension(_pathSav);
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\manifestimages.cs (2)
96string extension = Path.GetExtension(resourceNames[i]); 170return ".xaml".Equals(Path.GetExtension(resourceName), StringComparison.OrdinalIgnoreCase);
fx\src\data\System\Data\xmlsaver.cs (1)
929this.fileExt = Path.GetExtension(fs.Name);
System.Data.Services.Design (1)
System\Data\EntityModel\DataServiceBuildProvider.cs (1)
61string extension = IO.Path.GetExtension(child.VirtualPath);
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\Scripts.cs (1)
285asmPath = Path.ChangeExtension(asmPath, "." + GetLanguageName(lastScript.compilerInfo) + Path.GetExtension(asmPath));
System.Drawing (4)
commonui\System\Drawing\BitmapSelector.cs (1)
58return Path.ChangeExtension(filePath, Suffix + Path.GetExtension(filePath));
commonui\System\Drawing\ToolboxBitmapAttribute.cs (3)
318string ext = Path.GetExtension(imageFile); 428if (String.Compare(Path.GetExtension(imageName), ".ico", true, CultureInfo.CurrentCulture) == 0) { 431else if (String.Compare(Path.GetExtension(imageName), ".bmp", true, CultureInfo.CurrentCulture) == 0) {
System.Web (6)
Compilation\BrowserCapabilitiesCompiler.cs (1)
182string extension = Path.GetExtension(fileBase.Name);
Compilation\BuildManager.cs (1)
2965string extension = Path.GetExtension(fileData.Name);
Compilation\BuildResultCache.cs (1)
834string ext = Path.GetExtension(fileData.Name);
Compilation\ThemeDirectoryCompiler.cs (1)
150string extension = Path.GetExtension(child.Name);
UI\Util.cs (1)
1360if (StringUtil.EqualsIgnoreCase(Path.GetExtension(fileName), ".dll"))
UI\WebControls\AccessDataSource.cs (1)
157return Path.GetExtension(PhysicalDataFile) == Access2007FileExtension;
System.Web.DataVisualization (1)
WebForm\General\ChartHttpHandler.cs (1)
381String ext = Path.GetExtension(resourceUrl);
System.Web.Entity.Design (1)
parent\parent\parent\parent\InternalApis\NDP_FX\inc\BitmapSelector.cs (1)
58return Path.ChangeExtension(filePath, Suffix + Path.GetExtension(filePath));
System.Web.Extensions (2)
Compilation\WCFBuildProvider.cs (1)
100string extension = IO.Path.GetExtension(child.VirtualPath);
Compilation\WCFModel\AsmxEndpointPickerExtension.cs (1)
147if (String.Equals(System.IO.Path.GetExtension(fileName), ".asmx", StringComparison.OrdinalIgnoreCase))
System.Web.Mobile (1)
UI\MobileControls\Design\ImageDesigner.cs (1)
117String extension = Path.GetExtension(imageUriString);
System.Web.Services (1)
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (1)
317string extension = Path.GetExtension(path);
System.Windows.Forms (3)
parent\parent\parent\InternalApis\NDP_FX\inc\BitmapSelector.cs (1)
58return Path.ChangeExtension(filePath, Suffix + Path.GetExtension(filePath));
winforms\Managed\System\WinForms\FileDialog.cs (1)
877string currentExtension = Path.GetExtension(fileName);
winforms\Managed\System\WinForms\Help.cs (1)
421string ext = Path.GetExtension(file == null ? url : file.LocalPath + file.Fragment).ToLower(CultureInfo.InvariantCulture);
System.Workflow.ComponentModel (9)
AuthoringOM\Compiler\CompileXomlTask.cs (7)
1068string extension = Path.GetExtension(fileName); 1079string extension = Path.GetExtension(fileName); 1105string extension = Path.GetExtension(fileName); 1116string extension = Path.GetExtension(fileName); 1184if (0 == String.Compare(Path.GetExtension(info.cultureNeutralFilename), ".resx", StringComparison.OrdinalIgnoreCase)) 1239string cultureName = Path.GetExtension(baseFileNameWithCulture); 1258string extension = Path.GetExtension(name);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
447string extension = Path.GetExtension(path);
AuthoringOM\Design\Themes.cs (1)
356string extension = Path.GetExtension(themePath);
WindowsBase (2)
Base\System\IO\Packaging\PackUriHelper.cs (2)
1119_partUriExtension = Path.GetExtension(_partUriString); 1242Debug.Assert(String.CompareOrdinal((Path.GetExtension(segments[segments.Length - 1])), _relationshipPartUpperCaseExtension) == 0);
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (1)
592markupItemName = markupItemName + Path.GetExtension(markupItem);