4 instantiations of Suppression
illink (4)
Linker\UnconditionalSuppressMessageAttributeState.cs (4)
272
yield return new
Suppression
(info, originAttribute: ca, provider);
299
yield return new
Suppression
(info, originAttribute: instance, provider);
305
yield return new
Suppression
(info, originAttribute: instance, provider);
314
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)
49
suppressions = new Dictionary<int,
Suppression
> ();
51
} else if (suppressions.TryGetValue (suppression.SuppressMessageInfo.Id, out
Suppression
? value)) {
95
public IEnumerable<
Suppression
> GetUnusedSuppressions ()
147
if (suppressions != null && suppressions.TryGetValue (id, out
var
suppression)) {
157
bool TryGetSuppressionsForProvider (ICustomAttributeProvider? provider, out Dictionary<int,
Suppression
>? suppressions)
178
foreach (
var
suppression in DecodeAssemblyAndModuleSuppressions (module)) {
190
foreach (
var
suppression in DecodeSuppressions (member))
258
IEnumerable<
Suppression
> DecodeSuppressions (ICustomAttributeProvider provider)
276
IEnumerable<
Suppression
> DecodeAssemblyAndModuleSuppressions (ModuleDefinition module)
279
foreach (
var
suppression in DecodeGlobalSuppressions (module, assembly))
283
foreach (
var
suppression in DecodeGlobalSuppressions (_module, _module))
288
IEnumerable<
Suppression
> DecodeGlobalSuppressions (ModuleDefinition module, ICustomAttributeProvider provider)
330
public MessageOrigin GetSuppressionOrigin (
Suppression
suppression)