NameGenerator.EnsureUniqueLocalNames(String, SemanticModel, Int32, Int32, Boolean, CancellationToken) Method
Containing Type: NameGenerator
Assembly: Roslynator.Core.dll
Return a local names that will be unique at the specified position.
public System.Collections.Immutable.ImmutableArray<string> EnsureUniqueLocalNames(string baseName, Microsoft.CodeAnalysis.SemanticModel semanticModel, int position, int count, bool isCaseSensitive = true, System.Threading.CancellationToken cancellationToken = default)
Parameters
baseName String
semanticModel SemanticModel
position Int32
count Int32
isCaseSensitive Boolean
cancellationToken CancellationToken