src/NLog/Internal/ObjectReflectionCache.cs
/// <summary>
/// Scans properties for name (Skips property value lookup until finding match)
/// </summary>
Scans properties for name (Skips property value lookup until finding match)
Scans properties for name ( Skips property value lookup until finding match )
private bool TrySlowLookupPropertyValue(string name, out PropertyValue propertyValue)
            {
                foreach (var propInfo in _properties)
                {
                    if (NameComparer.Equals(propInfo.Name, name))
                    {
                        propertyValue = new PropertyValue(_object, propInfo);
                        return true;
                    }
                }
                propertyValue = default(PropertyValue);
                return false;
            }
private bool TrySlowLookupPropertyValue ( string name , out PropertyValue propertyValue ) { foreach ( var propInfo in _properties ) { if ( NameComparer . Equals ( propInfo . Name , name ) ) { propertyValue = new PropertyValue ( _object , propInfo ) ; return true ; } } propertyValue = default ( PropertyValue ) ; return false ; }
Scans properties for name (Skips property value lookup until finding match)
Scans properties for name ( Skips property value lookup until finding match )
name
string
PropertyValue
out