RenameReferences.OnTypeDeclarationHeader(TypeDeclarationHeader) Method

Definition

Renames references in the type declaration header, including the name of the type itself.

public Microsoft.Quantum.QsCompiler.TypeDeclarationHeader OnTypeDeclarationHeader (Microsoft.Quantum.QsCompiler.TypeDeclarationHeader type);
member this.OnTypeDeclarationHeader : Microsoft.Quantum.QsCompiler.TypeDeclarationHeader -> Microsoft.Quantum.QsCompiler.TypeDeclarationHeader
Public Function OnTypeDeclarationHeader (type As TypeDeclarationHeader) As TypeDeclarationHeader

Parameters

type
TypeDeclarationHeader

The type declaration header in which to rename references.

Returns

TypeDeclarationHeader

The type declaration header with renamed references.

Applies to