66 references to IsAbsolute
Microsoft.CodeAnalysis (37)
AssemblyUtilities.cs (5)
33RoslynDebug.Assert(PathUtilities.IsAbsolute(filePath)); 84RoslynDebug.Assert(PathUtilities.IsAbsolute(filePath)); 104Debug.Assert(PathUtilities.IsAbsolute(filePath)); 140RoslynDebug.Assert(PathUtilities.IsAbsolute(assemblyPath)); 178Debug.Assert(PathUtilities.IsAbsolute(assemblyPath));
CommandLine\CommandLineParser.cs (2)
64Debug.Assert(PathUtilities.IsAbsolute(directory)); 587Debug.Assert(PathUtilities.IsAbsolute(fullPath));
CommandLine\CommonCompiler.cs (2)
126Debug.Assert(null == responseFile || PathUtilities.IsAbsolute(responseFile)); 1463Debug.Assert(PathUtilities.IsAbsolute(file.Path));
Compilation\CompilationOptions.cs (1)
583if (CryptoKeyFile != null && !PathUtilities.IsAbsolute(CryptoKeyFile))
FileKey.cs (1)
30Debug.Assert(PathUtilities.IsAbsolute(fullPath));
FileSystem\CompilerPathUtilities.cs (1)
18if (!PathUtilities.IsAbsolute(path))
FileSystem\FileUtilities.cs (12)
47Debug.Assert(baseDirectory == null || searchPaths != null || PathUtilities.IsAbsolute(baseDirectory)); 60Debug.Assert(PathUtilities.IsAbsolute(combinedPath)); 71Debug.Assert(PathUtilities.IsAbsolute(combinedPath)); 84Debug.Assert(PathUtilities.IsAbsolute(combinedPath)); 101Debug.Assert(baseDirectory == null || PathUtilities.IsAbsolute(baseDirectory)); 198Debug.Assert(PathUtilities.IsAbsolute(resolvedBasePath)); 243Debug.Assert(PathUtilities.IsAbsolute(path)); 270Debug.Assert(PathUtilities.IsAbsolute(path)); 284Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 302Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 368Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 386Debug.Assert(PathUtilities.IsAbsolute(fullPath));
FileSystem\PathUtilities.cs (3)
304if (IsAbsolute(path)) 402Debug.Assert(IsAbsolute(root)); 473return IsAbsolute(path) ? path : CombinePathsUnchecked(root, path);
FileSystem\RelativePathResolver.cs (2)
31Debug.Assert(searchPaths.All(PathUtilities.IsAbsolute)); 52Debug.Assert(PathUtilities.IsAbsolute(fullPath));
StrongName\DesktopStrongNameProvider.cs (4)
56if (!keyFileSearchPaths.IsDefault && keyFileSearchPaths.Any(static path => !PathUtilities.IsAbsolute(path))) 81Debug.Assert(PathUtilities.IsAbsolute(resolvedKeyFile)); 120if (PathUtilities.IsAbsolute(path)) 134Debug.Assert(combinedPath == null || PathUtilities.IsAbsolute(combinedPath));
StrongName\StrongNameFileSystem.cs (2)
33Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 39Debug.Assert(fullPath == null || PathUtilities.IsAbsolute(fullPath));
XmlFileResolver.cs (2)
59Debug.Assert(resolvedPath == null || PathUtilities.IsAbsolute(resolvedPath)); 69Debug.Assert(resolvedPath == null || PathUtilities.IsAbsolute(resolvedPath));
Microsoft.CodeAnalysis.CSharp (3)
CommandLine\CSharpCommandLineParser.cs (1)
52Debug.Assert(baseDirectory == null || PathUtilities.IsAbsolute(baseDirectory));
CommandLine\CSharpCompiler.cs (1)
104Debug.Assert(sourceFiles[i].IsInputRedirected || PathUtilities.IsAbsolute(normalizedFilePath));
Symbols\Source\SourceAssemblySymbol.cs (1)
488if (!string.IsNullOrEmpty(keyFile) && !PathUtilities.IsAbsolute(keyFile))
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
CommandLineRunnerTests.cs (1)
561Assert.False(PathUtilities.IsAbsolute(scriptPath));
Microsoft.CodeAnalysis.Scripting (4)
Hosting\AssemblyLoader\InteractiveAssemblyLoader.cs (1)
175if (!PathUtilities.IsAbsolute(path))
Hosting\AssemblyLoader\MetadataShadowCopyProvider.cs (1)
116if (!PathUtilities.IsAbsolute(path))
RelativePathResolver.cs (2)
31Debug.Assert(searchPaths.All(PathUtilities.IsAbsolute)); 52Debug.Assert(PathUtilities.IsAbsolute(fullPath));
Microsoft.CodeAnalysis.Test.Utilities (1)
TempFiles\TempFile.cs (1)
25Debug.Assert(PathUtilities.IsAbsolute(path));
Microsoft.CodeAnalysis.UnitTests (18)
FileUtilitiesTests.cs (17)
22Assert.False(PathUtilities.IsAbsolute(null)); 23Assert.False(PathUtilities.IsAbsolute("")); 24Assert.False(PathUtilities.IsAbsolute("C")); 25Assert.False(PathUtilities.IsAbsolute("C:")); 26Assert.True(PathUtilities.IsAbsolute(@"C:\")); 27Assert.True(PathUtilities.IsAbsolute(@"C:/")); 28Assert.True(PathUtilities.IsAbsolute(@"C:\\")); 29Assert.False(PathUtilities.IsAbsolute(@"C\")); 30Assert.True(PathUtilities.IsAbsolute(@"\\")); // incomplete UNC 31Assert.True(PathUtilities.IsAbsolute(@"\\S")); // incomplete UNC 32Assert.True(PathUtilities.IsAbsolute(@"\/C")); // incomplete UNC 33Assert.True(PathUtilities.IsAbsolute(@"\/C\")); // incomplete UNC 34Assert.True(PathUtilities.IsAbsolute(@"\\server")); // incomplete UNC 35Assert.True(PathUtilities.IsAbsolute(@"\\server\share")); // UNC 36Assert.True(PathUtilities.IsAbsolute(@"\\?\C:\share")); // long UNC 37Assert.False(PathUtilities.IsAbsolute(@"\C")); 38Assert.False(PathUtilities.IsAbsolute(@"/C"));
MetadataReferences\FusionAssemblyPortabilityPolicy.cs (1)
46Debug.Assert(PathUtilities.IsAbsolute(appConfigPath));
Microsoft.CodeAnalysis.VisualBasic (2)
CommandLine\VisualBasicCommandLineParser.vb (1)
78Debug.Assert(baseDirectory Is Nothing OrElse PathUtilities.IsAbsolute(baseDirectory))
Symbols\Source\SourceAssemblySymbol.vb (1)
1662If Not String.IsNullOrEmpty(keyFile) AndAlso Not PathUtilities.IsAbsolute(keyFile) Then