49 references to IsFile
dotnet-svcutil.xmlserializer (1)
Microsoft\Tools\ServiceModel\SvcUtil\InputModule.cs (1)
83if (Uri.TryCreate(path, UriKind.Absolute, out serviceUri) && !serviceUri.IsFile)
dotnet-svcutil-lib (8)
FrameworkFork\Microsoft.Xml\Xml\Resolvers\XmlSystemPathResolver.cs (1)
36if (!uri.IsFile)
Metadata\MetadataDocumentLoader.cs (3)
100if (metadataUri.IsFile) 142if (!metadataUri.IsFile) 522string fullFileName = schemaUri.IsFile ? schemaUri.LocalPath : schemaLocation;
Metadata\MetadataFileNameManager.cs (1)
202return fileUri.IsFile;
Shared\Options\OptionValueParser.cs (1)
110value = (uri.IsAbsoluteUri && uri.IsFile ? uri.LocalPath : uri.OriginalString).Replace("\\", "/");
Shared\Options\UpdateOptions.cs (1)
95if (input.IsAbsoluteUri && input.IsFile && PathHelper.GetRelativePath(input.LocalPath, optionsFileDirectory, out relPath))
Shared\Utilities\PathHelper.cs (1)
77return fileUri.IsAbsoluteUri && fileUri.IsFile || IsFile(fileUri.ToString(), basePath, out fileUri);
Microsoft.AspNetCore.Mvc.Razor (1)
Infrastructure\DefaultFileVersionProvider.cs (1)
48if (Uri.TryCreate(resolvedPath, UriKind.Absolute, out var uri) && !uri.IsFile)
Microsoft.CodeAnalysis.LanguageServer (1)
CustomExportAssemblyLoader.cs (1)
79if (!codeBaseUri.IsFile)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Extensions\ProtocolConversions.cs (1)
186return uri.IsFile ? uri.LocalPath : uri.AbsoluteUri;
LanguageInfoProvider.cs (1)
51if (uri.IsFile || uri.IsAbsoluteUri)
Microsoft.Extensions.DependencyModel (1)
DependencyContextLoader.cs (1)
163&& codeBase.IsFile)
PresentationCore (17)
MS\Internal\FontCache\FontCacheUtil.cs (3)
482return absoluteUri.IsFile; 552if (fontLocation.IsFile) 583return !fontLocation.IsAbsoluteUri || !fontLocation.IsFile || fontLocation.IsUnc;
MS\Internal\FontCache\FontSource.cs (1)
92return !_isInternalCompositeFont && _fontUri.IsFile;
MS\Internal\FontCache\FontSourceCollection.cs (2)
69if (_uri.IsFile) 87if (_uri.IsFile)
MS\Internal\Text\TextInterface\Factory.cs (1)
335return uri.IsFile && uri.IsLoopback && !uri.IsUnc;
MS\Internal\WpfWebRequestHelper.cs (1)
66if (uri.IsFile)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\MimeTypeMapper.cs (1)
111if (uri.IsFile)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SecurityHelper.cs (1)
95if (uri.IsFile)
System\IO\Packaging\PackWebResponse.cs (1)
209if (!_responseStream.CanSeek || !_innerUri.IsFile)
System\Windows\Input\CursorConverter.cs (1)
176if (finalUri.IsAbsoluteUri && finalUri.IsFile)
System\Windows\Media\ColorContext.cs (1)
249Invariant.Assert(uri.IsFile);
System\Windows\Media\Effects\PixelShader.cs (1)
88if (!newUri.IsFile &&
System\Windows\Media\Imaging\BitmapDecoder.cs (2)
1044if (uri.IsFile) 1053if (uri.IsFile && uri.IsUnc) // for UNC
System\Windows\Media\MediaPlayerState.cs (1)
873if (absoluteUri.IsFile)
PresentationFramework (4)
MS\Internal\AppModel\AppSecurityManager.cs (2)
80destinationUri.IsFile; 205else if (destinationUri.IsFile &&
System\Windows\Controls\CustomDictionarySources.cs (1)
361if (!(item.IsUnc || item.IsFile || MS.Internal.IO.Packaging.PackUriHelper.IsPackUri(item)))
System\Windows\Documents\Speller.cs (1)
329if (!uri.IsAbsoluteUri || uri.IsFile)
PresentationUI (3)
MS\Internal\Documents\Application\DocumentProperties.cs (1)
343if (_uri.IsFile)
MS\Internal\Documents\Application\DocumentStream.cs (2)
409if ((_xpsFileToken == null) || (!_xpsFileToken.Location.IsFile)) 986if (!location.IsFile)
System.Configuration.ConfigurationManager (1)
System\Configuration\ClientConfigPaths.cs (1)
93if (externalConfigUri.IsFile)
System.Diagnostics.Process (1)
System\Diagnostics\Process.Unix.cs (1)
645if (uri.IsFile && uri.Host == "" && File.Exists(uri.LocalPath))
System.Private.Uri (1)
System\Uri.cs (1)
3290if (IsFile && !IsUncPath)
System.Private.Xml (2)
System\Xml\Core\XmlTextReaderImpl.Unix.cs (1)
19if (uri.IsFile)
System\Xml\Xsl\SourceLineInfo.cs (1)
89uri.IsFile
System.Windows.Forms (6)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
475if (uri.IsFile) 560if (uri.IsFile)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
1298urlString = url.IsFile ? url.OriginalString : url.AbsoluteUri;
System\Windows\Forms\Help\Help.cs (3)
118if (file is null || file.IsFile) 120string? localPath = (file is not null && file.IsFile) ? file.LocalPath : url; 216string? executable = file.IsFile ? FindExecutableInternal(file.LocalPath.ToString()) : null;