public override void WriteEntityRef( string name ) { throw new InvalidOperationException( Res.GetString( Res.Xml_InvalidOperation ) ); }