bool Microsoft.Expression.DesignModel.Metadata.ICachedMemberInfo.Refresh() { System.Reflection.FieldInfo fieldInfo = PlatformTypeHelper.GetFieldInfo(base.DeclaringType.NearestResolvedType.RuntimeType, this.Name); if (fieldInfo == null) { this.implementation = FieldReferenceStep.UndefinedFieldImplementation.Instance; } else { this.implementation = new FieldReferenceStep.FieldImplementation(this, fieldInfo); } return(this.implementation.IsResolved); }
private FieldReferenceStep(ITypeResolver typeResolver, IType declaringType, System.Reflection.FieldInfo fieldInfo) : base(declaringType, fieldInfo.Name, PlatformTypeHelper.GetFieldTypeId(typeResolver, fieldInfo), PropertySortValue.NoValue) { this.implementation = new FieldReferenceStep.FieldImplementation(this, fieldInfo); }