1 write to SymbolName
Roslyn.Diagnostics.Analyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
397
SymbolName
= symbolName.Trim();
18 references to SymbolName
Roslyn.Diagnostics.Analyzers (18)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (18)
97
var numberOfWildcards = parts.
SymbolName
.Count(c => c == WildcardChar);
107
(parts.
SymbolName
[^1] != WildcardChar ||
108
parts.
SymbolName
.Length == 1))
118
else if (parts.
SymbolName
.Equals(".ctor", StringComparison.Ordinal) ||
119
parts.
SymbolName
.Equals(".cctor", StringComparison.Ordinal) ||
120
!parts.
SymbolName
.Contains(".", StringComparison.Ordinal) && !parts.
SymbolName
.Contains(":", StringComparison.Ordinal))
143
Debug.Assert(parts.
SymbolName
[^1] == WildcardChar);
144
Debug.Assert(parts.
SymbolName
.Length >= 2);
146
if (parts.
SymbolName
[1] != ':')
154
associatedValues.Add(parts.
SymbolName
[0..^1], parts.AssociatedValue);
158
var symbolKind = parts.
SymbolName
[0] switch
177
associatedValues.Add(parts.
SymbolName
[2..^1], parts.AssociatedValue);
183
if (!namesBuilder.ContainsKey(parts.
SymbolName
))
185
namesBuilder.Add(parts.
SymbolName
, parts.AssociatedValue);
191
var nameWithPrefix = (string.IsNullOrEmpty(optionalPrefix) || parts.
SymbolName
.StartsWith(optionalPrefix, StringComparison.Ordinal))
192
? parts.
SymbolName
193
: optionalPrefix + parts.
SymbolName
;