81 references to LocalPath
PresentationCore (31)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginPart.cs (1)
182return File.OpenRead(_absoluteLocation.LocalPath);
Core\CSharp\MS\Internal\FontCache\DWriteFactory.cs (3)
91localPath = Directory.GetParent(fontCollectionUri.LocalPath).FullName + Path.DirectorySeparatorChar; 95localPath = fontCollectionUri.LocalPath; 99if (String.Compare(((localPath.Length > 0 && localPath[localPath.Length - 1] != Path.DirectorySeparatorChar) ? localPath + Path.DirectorySeparatorChar : localPath), Util.WindowsFontsUriObject.LocalPath, StringComparison.OrdinalIgnoreCase) == 0)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
962fileName = fontSource.Uri.LocalPath;
Core\CSharp\MS\Internal\FontCache\FontSource.cs (5)
192new FileIOPermission(FileIOPermissionAccess.Read, _fontUri.LocalPath).Assert(); //Blessed Assert 198return Directory.GetLastWriteTimeUtc(_fontUri.LocalPath); 223fileMapping.OpenFile(_fontUri.LocalPath); 279fileMapping.OpenFile(_fontUri.LocalPath); 296fileMapping.OpenFile(_fontUri.LocalPath);
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (7)
140string localPath = _uri.LocalPath; 177Util.WindowsFontsUriObject.LocalPath)); 190files = Directory.GetFiles(_uri.LocalPath, "*" + Util.CompositeFontExtension); 219foreach (string file in Directory.GetFiles(_uri.LocalPath)) 237files = Directory.GetFiles(_uri.LocalPath, "*" + Util.CompositeFontExtension); 242files = Directory.GetFiles(_uri.LocalPath); 248files = new string[1] {_uri.LocalPath};
Core\CSharp\System\Windows\Input\CursorConverter.cs (1)
185return new Cursor(finalUri.LocalPath);
Core\CSharp\System\Windows\Media\ColorContext.cs (1)
305SecurityHelper.DemandPathDiscovery(uri.LocalPath);
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (3)
1208bitmapStream = new System.IO.FileStream(uri.LocalPath, FileMode.Open, FileAccess.Read, FileShare.Read); 1467(new FileIOPermission(FileIOPermissionAccess.Read, uri.LocalPath)).Assert(); // BlessedAssert 1472bitmapStream = new System.IO.FileStream(uri.LocalPath, FileMode.Open, FileAccess.Read, FileShare.Read);
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (1)
148string cacheFolder = MS.Win32.WinInet.InternetCacheFolder.LocalPath;
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (2)
997new FileIOPermission(FileIOPermissionAccess.Read, appBase.LocalPath).Assert();// BlessedAssert 1081toOpen = absoluteUri.LocalPath;
Shared\MS\Internal\MimeTypeMapper.cs (1)
130docstring = uri.LocalPath;
Shared\MS\Internal\SecurityHelper.cs (5)
452(new FileIOPermission(FileIOPermissionAccess.Read, uri.LocalPath)).Demand(); 493(new FileIOPermission(FileIOPermissionAccess.Read, contentUri.LocalPath)).Demand(); 733return new FileIOPermission(FileIOPermissionAccess.PathDiscovery, uri.LocalPath); 755return new FileIOPermission(FileIOPermissionAccess.Read, uri.LocalPath); 1340string toOpen = uri.LocalPath;
PresentationFramework (9)
src\Framework\MS\Internal\AppModel\AppSecurityManager.cs (1)
291System.IO.Path.GetExtension(destinationUri.LocalPath)
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (1)
98_fullPath = file.LocalPath;
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
1132description = source.LocalPath;
src\Framework\System\Windows\Application.cs (2)
2673string fileInBamlConvert = loadBamlSyncInfo.BamlUri.LocalPath; 2674string fileCurrent = curComponentUri.LocalPath;
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (1)
371return LoadDictionary(item.LocalPath);
src\Framework\System\Windows\Documents\Speller.cs (2)
373object lexicon = _spellerInterop.LoadDictionary(pathUri.LocalPath); 1708System.IO.File.Delete(tempLocationUri.LocalPath);
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
298return LoadDictionaryImpl(item.LocalPath);
System (7)
compmod\microsoft\win32\NativeMethods.cs (1)
258return uri.LocalPath + uri.Fragment;
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (1)
78return uri.LocalPath + uri.Fragment;
net\System\Net\filewebrequest.cs (1)
434request.m_stream = new FileWebStream(request, request.m_uri.LocalPath, FileMode.Create, FileAccess.Write, FileShare.Read);
net\System\Net\filewebresponse.cs (1)
48uri.LocalPath,
sys\system\Media\SoundPlayer.cs (3)
187FileInfo fi = new FileInfo(uri.LocalPath); 234FileInfo fi = new FileInfo(uri.LocalPath); 262string localPath = uri.LocalPath;
System.Activities (1)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
2462string fileName = new Uri(assemblyReference.Assembly.CodeBase).LocalPath;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\AssemblyContextControlItem.cs (1)
44if ((LocalAssemblyName != null) && LocalAssemblyName.CodeBase != null && (File.Exists(new Uri(LocalAssemblyName.CodeBase).LocalPath)))
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\AssemblyContextControlItem.cs (1)
44if ((LocalAssemblyName != null) && LocalAssemblyName.CodeBase != null && (File.Exists(new Uri(LocalAssemblyName.CodeBase).LocalPath)))
System.Data.Entity (1)
System\Data\Metadata\Helper.cs (1)
334return uri.LocalPath;
System.Data.SqlXml (2)
System\Xml\Xsl\Runtime\XmlCollation.cs (1)
162string lang = collationUri.LocalPath.Substring(1);
System\Xml\Xsl\SourceLineInfo.cs (1)
91return uri.LocalPath;
System.ServiceModel (1)
System\ServiceModel\Channels\PipeConnection.cs (1)
2861string path = uri.LocalPath.ToUpperInvariant();
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedNamedPipeTransportManager.cs (1)
133ServiceHostingEnvironment.EnsureServiceAvailable(address.LocalPath);
System\ServiceModel\Activation\HostedTcpTransportManager.cs (1)
59ServiceHostingEnvironment.EnsureServiceAvailable(address.LocalPath);
System.Web (3)
ErrorFormatter.cs (1)
791return uri.LocalPath;
Handlers\AssemblyResourceLoader.cs (1)
152long assemblyDate = File.GetLastWriteTime(new Uri(assemblyName.CodeBase).LocalPath).Ticks;
UI\Util.cs (1)
1121string path = uri.LocalPath;
System.Web.DataVisualization (1)
Common\Utilities\ImageLoader.cs (1)
197string path = pageUri.LocalPath;
System.Web.Extensions (1)
Script\Services\WebServiceClientProxyGenerator.cs (1)
27DateTime writeTime = File.GetLastWriteTime(new Uri(assemblyName.CodeBase).LocalPath);
System.Web.Services (2)
System\Web\Services\Discovery\DiscoveryRequestHandler.cs (1)
86string strLocalPath = GetDirPartOfPath(searchStartUrl.LocalPath);
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
49string localPath = (new System.Uri(rootUrl)).LocalPath;
System.Windows.Forms (10)
winforms\Managed\System\WinForms\Application.cs (1)
377executablePath = codeBase.LocalPath + Uri.UnescapeDataString(codeBase.Fragment); ;
winforms\Managed\System\WinForms\Help.cs (3)
209string localPath = (file != null && file.IsFile) ? file.LocalPath : url; 384string localPath = file.LocalPath + file.Fragment; 421string ext = Path.GetExtension(file == null ? url : file.LocalPath + file.Fragment).ToLower(CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\NativeMethods.cs (1)
6396return uri.LocalPath + uri.Fragment;
winforms\Managed\System\WinForms\PictureBox.cs (1)
588localImageStreamReader = new StreamReader(uri.LocalPath);
winforms\Managed\System\WinForms\TrustManager.cs (4)
709else if (uri.LocalPath.Length > 2 && (uri.LocalPath[1] == ':' || uri.LocalPath.StartsWith("\\\\"))) 711host = uri.LocalPath;
System.Windows.Forms.DataVisualization (1)
Common\Utilities\ImageLoader.cs (1)
197string path = pageUri.LocalPath;
System.Workflow.Activities (1)
Designers\StateDesigner.cs (1)
2745string imageFilePath = System.Web.HttpUtility.UrlDecode((new Uri(new Uri(directory), path).LocalPath));
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerHelpers.cs (1)
1476string imageFilePath = Uri.UnescapeDataString((new Uri(new Uri(directory), path).LocalPath));
System.Xml (3)
System\Xml\XmlDownloadManager.cs (1)
30return new FileStream( uri.LocalPath, FileMode.Open, FileAccess.Read, FileShare.Read, 1 );
System\Xml\XmlDownloadManagerAsync.cs (1)
23return Task.Run<Stream>(() => { return new FileStream(uri.LocalPath, FileMode.Open, FileAccess.Read, FileShare.Read, 1, true); });
System\Xml\XmlSecureResolver.cs (1)
56string uncDir = System.IO.Path.GetDirectoryName(uri.LocalPath);
WindowsBase (2)
Base\MS\Internal\Security\AttachmentService.cs (1)
88native.SetLocalPath(target.LocalPath);
Base\System\IO\FileFormatException.cs (1)
185SecurityHelper.DemandPathDiscovery(_sourceUri.LocalPath);