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