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