Why is my cast failing?

Yeah but how are you firing this function? Some event should be triggering the Something function and when it does, it needs to pass in some kind of reference.