Is it possible to hide Warning Messages from C# script editor?

A post was split to a new topic: Hide Warning Messages from C# script editor?