How to reproduce:
1. Create a new HDRP project
2. In the Project window, right-click -> Create -> Shader Graph -> Any Shader Graph
3. Open the "Create Node" menu -> Expression
4. Below the "Type" field, enter the ' and observe the results
Expected results: The Node is either displaying the error or rejects the character
Actual results: The Node becomes pink without any errors
Reproducible with: 6000.5.0b9, 6000.6.0a6
Can't test with: 6000.0.76f1, 6000.3.15f1, 6000.4.8f1 (No Expression node)
Reproducible on: macOS Tahoe 26 (M1)
Not reproducible on: No other environment tested