public override RepeatedField <DataAccessPath> GetPaths() { return(new RepeatedField <DataAccessPath>() { new DataAccessPath() { Mode = AccessedMethods.Any(x => x.Resolve().IsSetter) ? AccessMode.Write : AccessMode.Read } }); }
public override RepeatedField <DataAccessPath> GetPaths() { var path = new DataAccessPath() { Mode = AccessedMethods.Any(IsWriteAccessMode) ? AccessMode.Write : AccessMode.Read }; path.Path.AddRange(GetAddressParts(_stateType)); return(new RepeatedField <DataAccessPath>() { path }); }