13 references to IsNullOrEmpty
Microsoft.CodeAnalysis.Razor.Compiler (13)
Language\CodeGeneration\CodeRenderingContextExtensions.cs (2)
15return span is SourceSpan spanValue && !spanValue.FilePath.IsNullOrEmpty() 24return span is SourceSpan spanValue && !spanValue.FilePath.IsNullOrEmpty()
Language\CodeGeneration\CodeWriterExtensions.cs (2)
429expression = expression.IsNullOrEmpty() ? "null" : expression; 660if (name.IsNullOrEmpty())
Language\Components\ComponentHelpers.cs (1)
16if (className.IsNullOrEmpty())
Language\Components\ComponentMarkupEncodingPass.cs (2)
92if (child is not HtmlIntermediateToken token || token.Content.IsNullOrEmpty()) 128if (child is not HtmlIntermediateToken token || token.Content.IsNullOrEmpty())
Language\DefaultRazorTagHelperContextDiscoveryPhase.cs (1)
412if (!tagHelperPrefix.DirectiveText.IsNullOrEmpty())
Language\NamespaceComputer.cs (2)
65if (!rootNamespace.IsNullOrEmpty() || codeDocument.FileKind.IsComponent()) 234if (_lastNamespaceName.IsNullOrEmpty())
Language\RazorCodeDocumentExtensions.cs (1)
22if (filePath.IsNullOrEmpty())
Language\TagHelperMatchingConventions.cs (1)
222if (descriptor == null || name.IsNullOrEmpty())
Mvc\ViewComponentTagHelperPass.cs (1)
165var fullyQualifiedName = !Namespace.Name.IsNullOrEmpty()