System.ComponentModel.MemberDescriptor.CheckAttributesValid C# (CSharp) Method

CheckAttributesValid() private method

Called each time we access the attribtes on this member descriptor to give deriving classes a chance to change them on the fly.
private CheckAttributesValid ( ) : void
return void
        private void CheckAttributesValid()
        {
            if (_attributesFiltered)
            {
                if (_metadataVersion != TypeDescriptor.MetadataVersion)
                {
                    _attributesFilled = false;
                    _attributesFiltered = false;
                    _attributeCollection = null;
                }
            }
        }