You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MethodDescriptor.GetOption<T>(Extension<MethodOptions, T> extension) throws NullReferenceException when the method descriptor does not have the option on it. I would expect it to return null.
JamesNK
changed the title
MethodDescriptor.GetOption throws NullReferenceException
C#: MethodDescriptor.GetOption throws NullReferenceException
Jan 23, 2020
MethodDescriptor.GetOption<T>(Extension<MethodOptions, T> extension)
throwsNullReferenceException
when the method descriptor does not have the option on it. I would expect it to return null.My code:
Google.Protobuf 3.11.2
Google.Api.CommonProtos 2.0.0-beta01
The text was updated successfully, but these errors were encountered: