src\40daf5e1cab76dff\PooledHashSetExtensions.cs (46)
49?? ImmutableHashSet<string>.Empty,
66taintedProperties: ImmutableHashSet<string>.Empty,
67transferProperties: ImmutableHashSet<string>.Empty,
71ImmutableHashSet<(MethodMatcher, ImmutableHashSet<string>)>.Empty,
73ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(PointsToCheck, string)>)>.Empty,
75ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(ValueContentCheck, string)>)>.Empty,
77ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(string, string)>)>.Empty,
93taintedProperties: ImmutableHashSet<string>.Empty,
94transferProperties: ImmutableHashSet<string>.Empty,
98ImmutableHashSet<(MethodMatcher, ImmutableHashSet<string>)>.Empty,
100ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(PointsToCheck, string)>)>.Empty,
102ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(ValueContentCheck, string)>)>.Empty,
104ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(string, string)>)>.Empty,
122?? ImmutableHashSet<string>.Empty,
123transferProperties: ImmutableHashSet<string>.Empty,
125ImmutableHashSet<ParameterMatcher>.Empty,
131ImmutableHashSet<string>.Empty.Add(TaintedTargetValue.Return)
134?? ImmutableHashSet<(MethodMatcher, ImmutableHashSet<string>)>.Empty,
136ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(PointsToCheck, string)>)>.Empty,
138ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(ValueContentCheck, string)>)>.Empty,
140ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(string, string)>)>.Empty,
172?? ImmutableHashSet<string>.Empty,
174?? ImmutableHashSet<string>.Empty,
176ImmutableHashSet<ParameterMatcher>.Empty,
178ImmutableHashSet<(MethodMatcher, ImmutableHashSet<string>)>.Empty,
184?? ImmutableHashSet<(PointsToCheck, string)>.Empty
187?? ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(PointsToCheck, string)>)>.Empty,
193?? ImmutableHashSet<(ValueContentCheck, string)>.Empty
196?? ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(ValueContentCheck, string)>)>.Empty,
204?? ImmutableHashSet<(string, string)>.Empty))
206?? ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(string, string)>)>.Empty,
229?? ImmutableHashSet<string>.Empty,
230transferProperties: ImmutableHashSet<string>.Empty,
232ImmutableHashSet<ParameterMatcher>.Empty,
234ImmutableHashSet<(MethodMatcher, ImmutableHashSet<string>)>.Empty,
242?? ImmutableHashSet<(PointsToCheck, string)>.Empty
245?? ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(PointsToCheck, string)>)>.Empty,
253?? ImmutableHashSet<(ValueContentCheck, string)>.Empty
256?? ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(ValueContentCheck, string)>)>.Empty,
258ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(string, string)>)>.Empty,
282ImmutableHashSet<(string, string)>.Empty))
284?? ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(string, string)>)>.Empty,
286?? ImmutableHashSet<string>.Empty);
309?? ImmutableHashSet<(string, string)>.Empty))
311?? ImmutableHashSet<(MethodMatcher, ImmutableHashSet<(string, string)>)>.Empty,
313?? ImmutableHashSet<string>.Empty);
src\8ce1f4f68b646e6d\GlobalFlowStateAnalysisValueSet.cs (8)
19ImmutableHashSet<IAbstractAnalysisValue>.Empty, ImmutableHashSet<GlobalFlowStateAnalysisValueSet>.Empty, 0, GlobalFlowStateAnalysisValueSetKind.Unset);
21ImmutableHashSet<IAbstractAnalysisValue>.Empty, ImmutableHashSet<GlobalFlowStateAnalysisValueSet>.Empty, 0, GlobalFlowStateAnalysisValueSetKind.Empty);
23ImmutableHashSet<IAbstractAnalysisValue>.Empty, ImmutableHashSet<GlobalFlowStateAnalysisValueSet>.Empty, 0, GlobalFlowStateAnalysisValueSetKind.Unknown);
54=> new(ImmutableHashSet.Create(analysisValue), ImmutableHashSet<GlobalFlowStateAnalysisValueSet>.Empty, height: 0, GlobalFlowStateAnalysisValueSetKind.Known);
138return GlobalFlowStateAnalysisValueSet.Create(ImmutableHashSet<IAbstractAnalysisValue>.Empty, parentsBuilder.ToImmutable(), height);
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (12)
23internal static readonly ComputationalComplexityMetrics Default = new(0, 0, 0, 0, 0, ImmutableHashSet<OperationKind>.Empty,
24ImmutableHashSet<BinaryOperatorKind>.Empty, ImmutableHashSet<UnaryOperatorKind>.Empty, ImmutableHashSet<CaseKind>.Empty, ImmutableHashSet<ISymbol>.Empty, ImmutableHashSet<object>.Empty);
288distinctOperatorKindsBuilder != null ? distinctOperatorKindsBuilder.ToImmutable() : ImmutableHashSet<OperationKind>.Empty,
289distinctBinaryOperatorKindsBuilder != null ? distinctBinaryOperatorKindsBuilder.ToImmutable() : ImmutableHashSet<BinaryOperatorKind>.Empty,
290distinctUnaryOperatorKindsBuilder != null ? distinctUnaryOperatorKindsBuilder.ToImmutable() : ImmutableHashSet<UnaryOperatorKind>.Empty,
291distinctCaseKindsBuilder != null ? distinctCaseKindsBuilder.ToImmutable() : ImmutableHashSet<CaseKind>.Empty,
292distinctReferencedSymbolsBuilder != null ? distinctReferencedSymbolsBuilder.ToImmutable() : ImmutableHashSet<ISymbol>.Empty,
293distinctReferencedConstantsBuilder != null ? distinctReferencedConstantsBuilder.ToImmutable() : ImmutableHashSet<object>.Empty);