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