We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0618bb commit 0e30f86Copy full SHA for 0e30f86
1 file changed
src/MsgPack/ReflectionAbstractions.cs
@@ -427,7 +427,7 @@ public static Type GetAttributeType( this Attribute source )
427
public static string GetCultureName( this AssemblyName source )
428
{
429
#if NETFX_35 || NETFX_40 || SILVERLIGHT || UNITY
430
- return source.CultureInfo.Name;
+ return source.CultureInfo == null ? null : source.CultureInfo.Name;
431
#else
432
return source.CultureName;
433
#endif
0 commit comments