You are invoking a function effectively stored statically in a
class namespace. So you never actually dereference the null
reference. You're just calling a function that doesn't really
have anything to do with the reference. I prefer to tell it like
it is and call the static method with the class name, so in this
case that would be Foo.test1.
- Can call static method with null reference Namespace
- Re: Can call static method with null reference w0rp
- Re: Can call static method with null reference Jacob Carlborg
- Re: Can call static method with null reference Namespace
- Re: Can call static method with null referen... Jonathan M Davis
- Re: Can call static method with null referen... Namespace
- Re: Can call static method with null ref... H. S. Teoh
- Re: Can call static method with null ref... monarch_dodra
- Re: Can call static method with nul... Jacob Carlborg
- Re: Can call static method with... Timon Gehr
- Re: Can call static method ... Jacob Carlborg
- Re: Can call static method ... Jonathan M Davis