2 writes to Id
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (2)
411
info.
Id
= attribute.CommonConstructorArguments[1].ValueInternal as string;
422
info.
Id
= info.Id.Remove(separatorIndex);
7 references to Id
Microsoft.CodeAnalysis (7)
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (7)
59
if (!_unresolvedSuppressionsById.TryGetValue(info.
Id
, out var suppressions))
62
_unresolvedSuppressionsById.Add(info.
Id
, suppressions);
334
if (!builder.TryGetValue(info.
Id
, out currentInfo))
336
builder[info.
Id
] = info;
412
if (info.
Id
== null)
419
var separatorIndex = info.
Id
.IndexOf(':');
422
info.Id = info.
Id
.Remove(separatorIndex);