System.Reflection.Tests.TypeExtenderFoo.FixWarnings C# (CSharp) Method

FixWarnings() public method

public FixWarnings ( string a, int b ) : void
a string
b int
return void
        public void FixWarnings(string a, int b)
        {
            this.PublicInstanceField = null;
            Debug.WriteLine(this.PublicInstanceField);
            this.ProtectedInstanceField = null;
            Debug.WriteLine(this.ProtectedInstanceField);
            this.PrivateInstanceField = null;
            Debug.WriteLine(this.PrivateInstanceField);

            this.PublicInstanceEvent += Sink;
            this.ProtectedInstanceEvent += Sink;
            this.PrivateInstanceEvent += Sink;

            this.PublicInstanceEvent(null, null);
            this.ProtectedInstanceEvent(null, null);
            this.PrivateInstanceEvent(null, null);
        }