31 references to IsNullOrEmpty
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\EditorTestWorkspace.cs (1)
489
if (RoslynString.
IsNullOrEmpty
(filePath))
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\SuppressMessageAttributeState.cs (1)
75
RoslynString.
IsNullOrEmpty
(scopeString))
src\Analyzers\Core\CodeFixes\FileHeaders\AbstractFileHeaderCodeFixProvider.cs (1)
70
if (RoslynString.
IsNullOrEmpty
(fileHeaderTemplate))
Microsoft.CodeAnalysis.Workspaces (20)
Diagnostics\DiagnosticDataLocation.cs (1)
84
if (RoslynString.
IsNullOrEmpty
(mapped))
Shared\Extensions\ISymbolExtensions.cs (1)
258
return RoslynString.
IsNullOrEmpty
(xmlText) ? DocumentationComment.Empty : DocumentationComment.FromXmlFragment(xmlText);
src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
169
if (RoslynString.
IsNullOrEmpty
(baseRoot))
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (6)
356
if (RoslynString.
IsNullOrEmpty
(path))
417
if (RoslynString.
IsNullOrEmpty
(root))
438
RoslynDebug.Assert(!RoslynString.
IsNullOrEmpty
(root));
464
if (RoslynString.
IsNullOrEmpty
(root))
469
if (RoslynString.
IsNullOrEmpty
(path))
763
if (RoslynString.
IsNullOrEmpty
(fullPath))
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
18
if (RoslynString.
IsNullOrEmpty
(features))
src\Compilers\Core\Portable\InternalUtilities\StringExtensions.cs (3)
73
if (!RoslynString.
IsNullOrEmpty
(shortName))
91
return !RoslynString.
IsNullOrEmpty
(name) && name.IndexOf('\0') == -1;
99
if (RoslynString.
IsNullOrEmpty
(name))
src\Compilers\Core\Portable\InternalUtilities\UnicodeCharacterUtilities.cs (1)
93
if (RoslynString.
IsNullOrEmpty
(name))
src\Compilers\Core\Portable\SourceGeneration\GeneratedCodeUtilities.cs (1)
63
if (!RoslynString.
IsNullOrEmpty
(filePath))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer`1.cs (1)
58
Contract.ThrowIfTrue(RoslynString.
IsNullOrEmpty
(editorConfigStringForValue));
Workspace\Solution\ProjectState.cs (2)
438
if (!RoslynString.
IsNullOrEmpty
(projectPath) &&
517
if (!RoslynString.
IsNullOrEmpty
(projectPath) &&
Workspace\Workspace.cs (2)
1504
if ((!RoslynString.
IsNullOrEmpty
(pemeta.Display) && outputAssemblyToProjectIdMap.TryGetValue(pemeta.Display, out var matchingProjectId)) ||
1505
(!RoslynString.
IsNullOrEmpty
(pemeta.FilePath) && outputAssemblyToProjectIdMap.TryGetValue(pemeta.FilePath, out matchingProjectId)))
Microsoft.CodeAnalysis.Workspaces.MSBuild (7)
MSBuild\MSBuildProjectLoader.cs (1)
131
if (!RoslynString.
IsNullOrEmpty
(solutionFilePath))
MSBuild\MSBuildWorkspace.cs (1)
557
if (RoslynString.
IsNullOrEmpty
(s_frameworkRoot))
MSBuild\ProjectMap.cs (5)
83
if (!RoslynString.
IsNullOrEmpty
(projectPath))
88
if (!RoslynString.
IsNullOrEmpty
(outputFilePath))
93
if (!RoslynString.
IsNullOrEmpty
(outputRefFilePath))
102
if (RoslynString.
IsNullOrEmpty
(projectFilePath))
168
if (!RoslynString.
IsNullOrEmpty
(path))
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
1796
if (!RoslynString.
IsNullOrEmpty
(alias))