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