public sealed override FieldInfo GetDeclaredField(String name) { if (ReflectionTrace.Enabled) { ReflectionTrace.TypeInfo_GetDeclaredField(this, name); } if (name == null) { throw new ArgumentNullException("name"); } TypeInfoCachedData cachedData = this.TypeInfoCachedData; return(cachedData.GetDeclaredField(name)); }
public sealed override FieldInfo GetDeclaredField(String name) { #if ENABLE_REFLECTION_TRACE if (ReflectionTrace.Enabled) { ReflectionTrace.TypeInfo_GetDeclaredField(this, name); } #endif if (name == null) { throw new ArgumentNullException(nameof(name)); } TypeInfoCachedData cachedData = this.TypeInfoCachedData; return(cachedData.GetDeclaredField(name)); }