@@ -264,7 +264,7 @@ public static ConstructorInfo GetRuntimeConstructor( this Type source, Type[] pa
264264#endif // NETSTANDARD1_1 || NETSTANDARD1_3
265265 }
266266
267- #if NETFX_35 || NETFX_40 || SILVERLIGHT || UNITY
267+ #if NET35 || NET40 || SILVERLIGHT || UNITY
268268 public static Delegate CreateDelegate ( this MethodInfo source , Type delegateType )
269269 {
270270 return Delegate . CreateDelegate ( delegateType , source ) ;
@@ -275,7 +275,7 @@ public static Delegate CreateDelegate( this MethodInfo source, Type delegateType
275275 return Delegate . CreateDelegate ( delegateType , target , source ) ;
276276 }
277277
278- #endif // NETFX_35 || NETFX_40 || SILVERLIGHT || UNITY
278+ #endif // NET35 || NET40 || SILVERLIGHT || UNITY
279279
280280#if NETSTANDARD1_1 || NETSTANDARD1_3
281281 public static MethodInfo GetMethod ( this Type source , string name )
@@ -408,12 +408,12 @@ public static T GetCustomAttribute<T>( this MemberInfo source )
408408 return Attribute . GetCustomAttribute ( source , typeof ( T ) ) as T ;
409409 }
410410
411- #if NETFX_35 || NETFX_40 || SILVERLIGHT || UNITY
411+ #if NET35 || NET40 || SILVERLIGHT || UNITY
412412 public static bool IsDefined ( this MemberInfo source , Type attributeType )
413413 {
414414 return Attribute . IsDefined ( source , attributeType ) ;
415415 }
416- #endif // NETFX_35 || NETFX_40 || SILVERLIGHT || UNITY
416+ #endif // NET35 || NET40 || SILVERLIGHT || UNITY
417417
418418#if ! SILVERLIGHT
419419 public static Type GetAttributeType ( this CustomAttributeData source )
@@ -436,14 +436,14 @@ public static Type GetAttributeType( this Attribute source )
436436
437437 public static string GetCultureName ( this AssemblyName source )
438438 {
439- #if NETFX_35 || NETFX_40 || SILVERLIGHT || UNITY
439+ #if NET35 || NET40 || SILVERLIGHT || UNITY
440440 return source . CultureInfo == null ? null : source . CultureInfo . Name ;
441441#else
442442 return source . CultureName ;
443443#endif
444444 }
445445
446- #if NETFX_35 || UNITY
446+ #if NET35 || UNITY
447447 public static IEnumerable < CustomAttributeData > GetCustomAttributesData ( this MemberInfo source )
448448 {
449449 return CustomAttributeData . GetCustomAttributes ( source ) ;
@@ -453,7 +453,7 @@ public static IEnumerable<CustomAttributeData> GetCustomAttributesData( this Par
453453 {
454454 return CustomAttributeData . GetCustomAttributes ( source ) ;
455455 }
456- #endif // NETFX_35 || UNITY
456+ #endif // NET35 || UNITY
457457
458458#if NETSTANDARD1_1 || NETSTANDARD1_3
459459 public static IEnumerable < CustomAttributeData > GetCustomAttributesData ( this ParameterInfo source )
@@ -532,7 +532,7 @@ public KeyValuePair<Type, object> GetTypedValue()
532532
533533 public static bool GetHasDefaultValue ( this ParameterInfo source )
534534 {
535- #if NETFX_35 || NETFX_40 || SILVERLIGHT || UNITY
535+ #if NET35 || NET40 || SILVERLIGHT || UNITY
536536 return source . DefaultValue != DBNull . Value ;
537537#else
538538 return source . HasDefaultValue ;
0 commit comments