1 write to _hazardousUsageBuilder
Microsoft.CodeAnalysis.NetAnalyzers (1)
src\11b41c7305441175\PropertySetAnalysis.PropertySetDataFlowOperationVisitor.cs (1)
59
this.
_hazardousUsageBuilder
= ImmutableDictionary.CreateBuilder<(Location Location, IMethodSymbol? Method), HazardousUsageEvaluationResult>();
7 references to _hazardousUsageBuilder
Microsoft.CodeAnalysis.NetAnalyzers (7)
src\11b41c7305441175\PropertySetAnalysis.PropertySetDataFlowOperationVisitor.cs (7)
83
public ImmutableDictionary<(Location Location, IMethodSymbol? Method), HazardousUsageEvaluationResult> HazardousUsages => this.
_hazardousUsageBuilder
.ToImmutable();
621
if (this.
_hazardousUsageBuilder
.TryGetValue(key, out HazardousUsageEvaluationResult existingResult))
623
this.
_hazardousUsageBuilder
[key] = MergeHazardousUsageEvaluationResult(result, existingResult);
627
this.
_hazardousUsageBuilder
.Add(key, result);
674
if (this.
_hazardousUsageBuilder
.TryGetValue(kvp.Key, out HazardousUsageEvaluationResult existingValue))
676
this.
_hazardousUsageBuilder
[kvp.Key] = MergeHazardousUsageEvaluationResult(kvp.Value, existingValue);
680
this.
_hazardousUsageBuilder
.Add(kvp.Key, kvp.Value);