26 references to NullToEmpty
Microsoft.CodeAnalysis.Razor.Compiler (26)
Language\BoundAttributeDescriptor.cs (1)
75
Parameters = parameters.
NullToEmpty
();
Language\DocumentClassifierPassBase.cs (1)
20
=> _targetExtensions.
NullToEmpty
();
Language\Intermediate\ClassDeclarationIntermediateNode.cs (3)
13
public ImmutableArray<string> Modifiers { get; set => field = value.
NullToEmpty
(); } = [];
14
public ImmutableArray<IntermediateToken> Interfaces { get; set => field = value.
NullToEmpty
(); } = [];
15
public ImmutableArray<TypeParameter> TypeParameters { get; set => field = value.
NullToEmpty
(); } = [];
Language\Intermediate\FieldDeclarationIntermediateNode.cs (2)
12
public ImmutableArray<string> Modifiers { get; init => field = value.
NullToEmpty
(); } = [];
13
public ImmutableArray<string> SuppressWarnings { get; init => field = value.
NullToEmpty
(); } = [];
Language\Intermediate\MethodDeclarationIntermediateNode.cs (2)
15
public ImmutableArray<string> Modifiers { get; set => field = value.
NullToEmpty
(); } = [];
16
public ImmutableArray<MethodParameter> Parameters { get; set => field = value.
NullToEmpty
(); } = [];
Language\Intermediate\MethodParameter.cs (1)
13
public ImmutableArray<string> Modifiers { get; } = modifiers.
NullToEmpty
();
Language\Intermediate\PropertyDeclarationIntermediateNode.cs (1)
13
public ImmutableArray<string> Modifiers { get; init => field = value.
NullToEmpty
(); } = [];
Language\Legacy\CSharpCodeParser.cs (1)
132
directives = directives.
NullToEmpty
();
Language\RazorCodeDocument.cs (2)
56
Imports = imports.
NullToEmpty
();
69
_directiveTagHelperContributions = directiveTagHelperContributions.
NullToEmpty
();
Language\RazorConfiguration.cs (2)
25
init => field = value.
NullToEmpty
();
26
} = PreprocessorSymbols.
NullToEmpty
();
Language\RazorCSharpDocument.cs (3)
33
Diagnostics = diagnostics.
NullToEmpty
();
34
SourceMappingsSortedByGenerated = sourceMappings.
NullToEmpty
();
49
LinePragmas = linePragmas.
NullToEmpty
();
Language\RazorParserOptions.Builder.cs (1)
19
public ImmutableArray<DirectiveDescriptor> Directives { get; set => field = value.
NullToEmpty
(); }
Language\RazorSyntaxTree.cs (1)
33
_diagnostics = diagnostics.
NullToEmpty
();
Language\TagHelperDescriptor.cs (3)
81
TagMatchingRules = tagMatchingRules.
NullToEmpty
();
82
BoundAttributes = attributeDescriptors.
NullToEmpty
();
83
AllowedChildTags = allowedChildTags.
NullToEmpty
();
Language\TagHelperObject`1.cs (1)
23
Diagnostics = diagnostics.
NullToEmpty
();
Language\TagMatchingRuleDescriptor.cs (1)
37
Attributes = attributes.
NullToEmpty
();