public RenameRewriterParameters( RenameAnnotation renamedSymbolDeclarationAnnotation, Document document, SemanticModel semanticModel, SyntaxNode syntaxRoot, string replacementText, string originalText, ICollection <string> possibleNameConflicts, Dictionary <TextSpan, RenameLocation> renameLocations, ImmutableDictionary <TextSpan, ImmutableSortedSet <TextSpan>?> stringAndCommentTextSpans, ISet <TextSpan> conflictLocationSpans, Solution originalSolution, ISymbol renameSymbol, bool replacementTextValid, RenamedSpansTracker renameSpansTracker, bool isRenamingInStrings, bool isRenamingInComments, AnnotationTable <RenameAnnotation> renameAnnotations, CancellationToken cancellationToken) { RenamedSymbolDeclarationAnnotation = renamedSymbolDeclarationAnnotation; Document = document; SemanticModel = semanticModel; SyntaxRoot = syntaxRoot; OriginalSyntaxTree = semanticModel.SyntaxTree; ReplacementText = replacementText; OriginalText = originalText; PossibleNameConflicts = possibleNameConflicts; RenameLocations = renameLocations; StringAndCommentTextSpans = stringAndCommentTextSpans; ConflictLocationSpans = conflictLocationSpans; OriginalSolution = originalSolution; RenameSymbol = renameSymbol; ReplacementTextValid = replacementTextValid; CancellationToken = cancellationToken; RenameSpansTracker = renameSpansTracker; IsRenamingInStrings = isRenamingInStrings; IsRenamingInComments = isRenamingInComments; RenameAnnotations = renameAnnotations; }
public RenameRewriterParameters( RenameAnnotation renamedSymbolDeclarationAnnotation, Document document, SemanticModel semanticModel, SyntaxNode syntaxRoot, string replacementText, string originalText, ICollection <string> possibleNameConflicts, Dictionary <TextSpan, RenameLocation> renameLocations, ImmutableDictionary <TextSpan, ImmutableSortedSet <TextSpan>?> stringAndCommentTextSpans, ISet <TextSpan> conflictLocationSpans, Solution originalSolution, ISymbol renameSymbol, bool replacementTextValid, RenamedSpansTracker renameSpansTracker, RenameOptionSet optionSet, AnnotationTable <RenameAnnotation> renameAnnotations, CancellationToken cancellationToken ) { this.RenamedSymbolDeclarationAnnotation = renamedSymbolDeclarationAnnotation; this.Document = document; this.SemanticModel = semanticModel; this.SyntaxRoot = syntaxRoot; this.OriginalSyntaxTree = semanticModel.SyntaxTree; this.ReplacementText = replacementText; this.OriginalText = originalText; this.PossibleNameConflicts = possibleNameConflicts; this.RenameLocations = renameLocations; this.StringAndCommentTextSpans = stringAndCommentTextSpans; this.ConflictLocationSpans = conflictLocationSpans; this.OriginalSolution = originalSolution; this.RenameSymbol = renameSymbol; this.ReplacementTextValid = replacementTextValid; this.CancellationToken = cancellationToken; this.RenameSpansTracker = renameSpansTracker; this.OptionSet = optionSet; this.RenameAnnotations = renameAnnotations; }
public TestAccessor(RenamedSpansTracker renamedSpansTracker) { _renamedSpansTracker = renamedSpansTracker; }