4 instantiations of Suppression
illink (4)
Linker\UnconditionalSuppressMessageAttributeState.cs (4)
297
yield return new
Suppression
(info, originAttribute: ca, provider);
327
yield return new
Suppression
(info, originAttribute: instance, provider);
334
yield return new
Suppression
(info, originAttribute: instance, provider);
343
yield return new
Suppression
(info, originAttribute: instance, result);
17 references to Suppression
illink (17)
Linker.Steps\CheckSuppressionsDispatcher.cs (1)
30
foreach (
var
suppression in redundantSuppressions)
Linker\UnconditionalSuppressMessageAttributeState.cs (16)
35
readonly Dictionary<ICustomAttributeProvider, Dictionary<int,
Suppression
>> _suppressions;
41
_suppressions = new Dictionary<ICustomAttributeProvider, Dictionary<int,
Suppression
>>();
45
void AddSuppression(
Suppression
suppression)
50
suppressions = new Dictionary<int,
Suppression
>();
53
else if (suppressions.TryGetValue(suppression.SuppressMessageInfo.Id, out
Suppression
? value))
99
public IEnumerable<
Suppression
> GetUnusedSuppressions()
160
if (suppressions != null && suppressions.TryGetValue(id, out
var
suppression))
171
bool TryGetSuppressionsForProvider(ICustomAttributeProvider? provider, out Dictionary<int,
Suppression
>? suppressions)
194
foreach (
var
suppression in DecodeAssemblyAndModuleSuppressions(module))
208
foreach (
var
suppression in DecodeSuppressions(member))
282
IEnumerable<
Suppression
> DecodeSuppressions(ICustomAttributeProvider provider)
301
IEnumerable<
Suppression
> DecodeAssemblyAndModuleSuppressions(ModuleDefinition module)
304
foreach (
var
suppression in DecodeGlobalSuppressions(module, assembly))
309
foreach (
var
suppression in DecodeGlobalSuppressions(_module, _module))
314
IEnumerable<
Suppression
> DecodeGlobalSuppressions(ModuleDefinition module, ICustomAttributeProvider provider)
359
public MessageOrigin GetSuppressionOrigin(
Suppression
suppression)