AuthoringOM\Compiler\Validation\BindValidator.cs (8)
137if ((bind.Path == null || bind.Path.Length == 0) && (validationContext.TargetType != null && !ActivityBindValidator.DoesTargetTypeMatch(validationContext.TargetType, fieldInfo.FieldType, validationContext.Access)))
142else if (!string.IsNullOrEmpty(bind.Path))
144memberInfo = MemberBind.GetMemberInfo(fieldInfo.FieldType, bind.Path);
147error = new ValidationError(SR.GetString(SR.Error_InvalidMemberPath, dsName, bind.Path), ErrorNumbers.Error_InvalidMemberPath);
157error = MemberBind.ValidateTypesInPath(fieldInfo.FieldType, bind.Path);
188error = new ValidationError(SR.GetString(SR.Error_PropertyNoGetter, pathPropertyInfo.Name, bind.Path), ErrorNumbers.Error_PropertyNoGetter);
193error = new ValidationError(SR.GetString(SR.Error_PropertyNoSetter, pathPropertyInfo.Name, bind.Path), ErrorNumbers.Error_PropertyNoSetter);