2 writes to Id
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (2)
387
info.
Id
= attribute.CommonConstructorArguments[1].ValueInternal as string;
398
info.
Id
= info.Id.Remove(separatorIndex);
6 references to Id
Microsoft.CodeAnalysis (6)
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (6)
63
suppressions = new Dictionary<string, SuppressMessageInfo>() { { info.
Id
, info } };
305
if (!builder.TryGetValue(info.
Id
, out currentInfo))
307
builder[info.
Id
] = info;
388
if (info.
Id
== null)
395
var separatorIndex = info.
Id
.IndexOf(':');
398
info.Id = info.
Id
.Remove(separatorIndex);