42 references to NullToEmpty
Microsoft.CodeAnalysis (42)
Binding\BindingDiagnosticBag.cs (4)
317public ImmutableArray<Diagnostic> Diagnostics => _diagnostics.NullToEmpty(); 318public ImmutableArray<TAssemblySymbol> Dependencies => _dependencies.NullToEmpty(); 324_diagnostics = diagnostics.NullToEmpty(); 325_dependencies = dependencies.NullToEmpty();
CodeGen\LocalConstantDefinition.cs (2)
32DynamicTransformFlags = dynamicTransformFlags.NullToEmpty(); 33TupleElementNames = tupleElementNames.NullToEmpty();
CodeGen\LocalDefinition.cs (2)
79_dynamicTransformFlags = dynamicTransformFlags.NullToEmpty(); 80_tupleElementNames = tupleElementNames.NullToEmpty();
Compilation\CompilationOptions.cs (1)
303this.CryptoPublicKey = cryptoPublicKey.NullToEmpty();
Compilation\DeterministicKey.cs (4)
96additionalTexts.NullToEmpty(), 97analyzers.NullToEmpty(), 98generators.NullToEmpty(), 99pathMap.NullToEmpty(),
Compilation\DeterministicKeyBuilder.cs (3)
133additionalTexts = additionalTexts.NullToEmpty(); 134analyzers = analyzers.NullToEmpty(); 135generators = generators.NullToEmpty();
Compilation\SymbolInfo.cs (1)
39public ImmutableArray<ISymbol> CandidateSymbols => _candidateSymbols.NullToEmpty();
DiagnosticAnalyzer\AnalyzerOptions.cs (1)
41AdditionalFiles = additionalFiles.NullToEmpty();
Emit\EditAndContinue\DefinitionMap.cs (3)
335var localSlotDebugInfo = debugInfo.LocalSlots.NullToEmpty(); 716foreach (var info in lambdasToInclude.NullToEmpty()) 721foreach (var info in metadataLambdasToInclude.NullToEmpty())
Emit\EditAndContinue\DeltaMetadataWriter.cs (2)
534foreach (var deletedMember in deletedMembers.NullToEmpty()) 549foreach (var (oldMethod, newMethod) in updatedMethods.NullToEmpty())
Emit\EmitOptions.cs (3)
245InstrumentationKinds = instrumentationKinds.NullToEmpty(); 298InstrumentationKinds.NullToEmpty().SequenceEqual(other.InstrumentationKinds.NullToEmpty(), (a, b) => a == b) &&
InternalUtilities\EnumerableExtensions.cs (1)
75return array.NullToEmpty();
MetadataReader\PEModule.cs (1)
1454return (paramNames.NullToEmpty(), true);
MetadataReference\AssemblyIdentity.cs (1)
227publicKeyToken = publicKeyOrToken.NullToEmpty();
MetadataReference\MetadataReferenceProperties.cs (1)
144return _aliases.NullToEmpty();
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (1)
36Locals = locals.NullToEmpty();
Operations\ControlFlowRegion.cs (4)
78Locals = locals.NullToEmpty(); 79LocalFunctions = methods.NullToEmpty(); 80CaptureIds = captureIds.NullToEmpty(); 81NestedRegions = nestedRegions.NullToEmpty();
PEWriter\LocalScope.cs (2)
49public ImmutableArray<ILocalDefinition> Constants => _constants.NullToEmpty(); 54public ImmutableArray<ILocalDefinition> Variables => _locals.NullToEmpty();
PEWriter\Types.cs (1)
442Attributes = attributes.NullToEmpty();
RuleSet\RuleSet.cs (1)
64_includes = includes.NullToEmpty();
StrongName\DesktopStrongNameProvider.cs (1)
62_keyFileSearchPaths = keyFileSearchPaths.NullToEmpty();
Symbols\CustomModifiersTuple.cs (2)
17_typeCustomModifiers = typeCustomModifiers.NullToEmpty(); 18_refCustomModifiers = refCustomModifiers.NullToEmpty();