public void DumpTo(CodeWriter writer, CSharpAttributeScope scopeOverride)
 {
     if (scopeOverride != CSharpAttributeScope.None)
     {
         writer.Write(scopeOverride == CSharpAttributeScope.Return ? "return:" : "assembly:");
     }
     writer.Write(ToText());
 }
 public CSharpFreeAttribute(CSharpAttributeScope scope, string text)
 {
     Scope = scope;
     Text  = text ?? throw new ArgumentNullException(nameof(text));
 }