53 references to IsNullOrEmpty
IdeCoreBenchmarks (2)
AbstractCloudCachePersistentStorageService.cs (1)
45if (RoslynString.IsNullOrEmpty(solutionFolder))
ProjectContainerKeyCache.cs (1)
67if (RoslynString.IsNullOrEmpty(projectKey.FilePath))
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\TestWorkspace.cs (1)
837if (RoslynString.IsNullOrEmpty(filePath))
Microsoft.CodeAnalysis.Features (2)
AbstractFileHeaderCodeFixProvider.cs (1)
71if (RoslynString.IsNullOrEmpty(fileHeaderTemplate))
SuppressMessageAttributeState.cs (1)
82RoslynString.IsNullOrEmpty(scopeString))
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
AbstractCloudCachePersistentStorageService.cs (1)
45if (RoslynString.IsNullOrEmpty(solutionFolder))
ProjectContainerKeyCache.cs (1)
67if (RoslynString.IsNullOrEmpty(projectKey.FilePath))
Microsoft.CodeAnalysis.Workspaces (23)
CompilerOptionParseUtilities.cs (1)
18if (RoslynString.IsNullOrEmpty(features))
Diagnostics\DiagnosticDataLocation.cs (1)
84if (RoslynString.IsNullOrEmpty(mapped))
EditorConfigValueSerializer`1.cs (1)
62Contract.ThrowIfTrue(RoslynString.IsNullOrEmpty(editorConfigStringForValue));
FileUtilities.cs (1)
167if (RoslynString.IsNullOrEmpty(baseRoot))
GeneratedCodeUtilities.cs (1)
63if (!RoslynString.IsNullOrEmpty(filePath))
J\s\src\Compilers\Core\Portable\InternalUtilities\StringExtensions.cs\StringExtensions.cs (3)
82if (!RoslynString.IsNullOrEmpty(shortName)) 100return !RoslynString.IsNullOrEmpty(name) && name.IndexOf('\0') == -1; 108if (RoslynString.IsNullOrEmpty(name))
PathUtilities.cs (6)
355if (RoslynString.IsNullOrEmpty(path)) 416if (RoslynString.IsNullOrEmpty(root)) 437RoslynDebug.Assert(!RoslynString.IsNullOrEmpty(root)); 463if (RoslynString.IsNullOrEmpty(root)) 468if (RoslynString.IsNullOrEmpty(path)) 749if (RoslynString.IsNullOrEmpty(fullPath))
Shared\Extensions\ISymbolExtensions.cs (1)
264return RoslynString.IsNullOrEmpty(xmlText) ? DocumentationComment.Empty : DocumentationComment.FromXmlFragment(xmlText);
UnicodeCharacterUtilities.cs (1)
93if (RoslynString.IsNullOrEmpty(name))
Workspace\Solution\ProjectState.cs (1)
375if (!RoslynString.IsNullOrEmpty(projectPath) &&
Workspace\Solution\SolutionState.cs (4)
523if (RoslynString.IsNullOrEmpty(filePath)) 577if (RoslynString.IsNullOrEmpty(filePath)) 602if (!RoslynString.IsNullOrEmpty(oldFilePath)) 607if (!RoslynString.IsNullOrEmpty(newFilePath))
Workspace\Workspace.cs (2)
1225if ((!RoslynString.IsNullOrEmpty(pemeta.Display) && outputAssemblyToProjectIdMap.TryGetValue(pemeta.Display, out var matchingProjectId)) || 1226(!RoslynString.IsNullOrEmpty(pemeta.FilePath) && outputAssemblyToProjectIdMap.TryGetValue(pemeta.FilePath, out matchingProjectId)))
Microsoft.CodeAnalysis.Workspaces.MSBuild (13)
MSBuild\MSBuildProjectLoader.cs (1)
119if (!RoslynString.IsNullOrEmpty(solutionFilePath))
MSBuild\ProjectFile\CommandLineArgumentReader.cs (2)
29if (RoslynString.IsNullOrEmpty(name) || name.Contains(char.IsWhiteSpace)) 46if (RoslynString.IsNullOrEmpty(value) || (addQuoteIfValueContainsWhitespace && value.Contains(char.IsWhiteSpace)))
MSBuild\ProjectFile\ProjectFile.cs (5)
57if (RoslynString.IsNullOrEmpty(targetFrameworkValue) && !RoslynString.IsNullOrEmpty(targetFrameworksValue)) 237=> !RoslynString.IsNullOrEmpty(documentItem.GetMetadata(MetadataNames.Link)); 263if (!RoslynString.IsNullOrEmpty(link)) 386if (RoslynString.IsNullOrEmpty(s_frameworkRoot))
MSBuild\ProjectMap.cs (5)
84if (!RoslynString.IsNullOrEmpty(projectPath)) 89if (!RoslynString.IsNullOrEmpty(outputFilePath)) 94if (!RoslynString.IsNullOrEmpty(outputRefFilePath)) 103if (RoslynString.IsNullOrEmpty(projectFilePath)) 169if (!RoslynString.IsNullOrEmpty(path))
Microsoft.VisualStudio.IntegrationTest.Utilities (1)
OutOfProcess\TextViewWindow_OutOfProc.Verifier.cs (1)
98if (!RoslynString.IsNullOrEmpty(applyFix))
Microsoft.VisualStudio.LanguageServices (6)
Extensions\VisualStudioWorkspaceImplExtensions.cs (1)
71if (hierarchy != null && !RoslynString.IsNullOrEmpty(document?.FilePath))
Snippets\AbstractSnippetExpansionClient.cs (1)
1097if (RoslynString.IsNullOrEmpty(assemblyName))
StackTraceExplorer\StackTraceExplorerToolWindow.cs (1)
68if (RoslynString.IsNullOrEmpty(text))
Storage\AbstractCloudCachePersistentStorageService.cs (1)
45if (RoslynString.IsNullOrEmpty(solutionFolder))
Storage\ProjectContainerKeyCache.cs (1)
67if (RoslynString.IsNullOrEmpty(projectKey.FilePath))
TableDataSource\Suppression\VisualStudioDiagnosticListSuppressionStateService.cs (1)
276if (RoslynString.IsNullOrEmpty(filePath) || line < 0)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
1800if (!RoslynString.IsNullOrEmpty(alias))
Microsoft.VisualStudio.LanguageServices.Implementation (1)
ProjectSystem\CPS\CPSProject_IWorkspaceProjectContext.cs (1)
169else if (name == BuildPropertyNames.TemporaryDependencyNodeTargetIdentifier && !RoslynString.IsNullOrEmpty(value))
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (1)
InProcess\EditorVerifierInProcess.cs (1)
199if (!RoslynString.IsNullOrEmpty(applyFix))