RenameReferences Constructor

Definition

Creates a new rename references transformation.

public RenameReferences (System.Collections.Immutable.IImmutableDictionary<Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName,Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName> names);
new Microsoft.Quantum.QsCompiler.Transformations.SearchAndReplace.RenameReferences : System.Collections.Immutable.IImmutableDictionary<Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName, Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName> -> Microsoft.Quantum.QsCompiler.Transformations.SearchAndReplace.RenameReferences
Public Sub New (names As IImmutableDictionary(Of QsQualifiedName, QsQualifiedName))

Parameters

names
IImmutableDictionary<QsQualifiedName,QsQualifiedName>

The mapping from existing names to new names.

Applies to