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