public void Foo()
 {
     var demo = new IndexerSetDemo();
     demo["foo"] = "foo"; // Warning on indexer
 }
        public void Foo()
        {
            var demo = new IndexerSetDemo();

            demo["foo"] = "foo"; // Warning on indexer
        }