Method
CreateUniqueName
func CreateUniqueName(hint: string = "value") -> string
Declaring type: MacroContext
Namespace: Raven.CodeAnalysis.Macros
Assembly: Raven.CodeAnalysis.dll
Source file: MacroContext.cs
Creates a deterministic identifier name that does not collide with an identifier authored in the invocation document or returned earlier by this context.
Parameters
| Name | Type | Description |
|---|---|---|
hint |
String |
Return value
String
Remarks
This helper prevents textual collisions for generated bindings. It does not select call-site or definition-site name lookup; macros should use authored syntax for intentional call-site references.