1 write to _context
illink (1)
Linker\UnconditionalSuppressMessageAttributeState.cs (1)
40
_context
= context;
9 references to _context
illink (9)
Linker\UnconditionalSuppressMessageAttributeState.cs (9)
57
_context
.LogMessage($"Element '{elementName}' has more than one unconditional suppression. Note that only the last one is used.");
83
while (
_context
.CompilerGeneratedState.TryGetOwningMethodForCompilerGeneratedMember(member, out owningMethod))
286
if (!
_context
.CustomAttributes.HasAny(provider))
289
foreach (var ca in
_context
.CustomAttributes.GetCustomAttributes(provider))
316
var attributes =
_context
.CustomAttributes.GetCustomAttributes(provider).
342
foreach (var result in DocumentationSignatureParser.GetMembersForDocumentationSignature(info.Target, module,
_context
))
347
_context
.LogWarning(
_context
.GetAssemblyLocation(module.Assembly), DiagnosticId.InvalidScopeInUnconditionalSuppressMessage, info.Scope ?? "", module.Name, info.Target ?? "");
361
if (
_context
.CustomAttributes.TryGetCustomAttributeOrigin(suppression.Provider, suppression.OriginAttribute, out MessageOrigin origin))