21 references to RequestIfNoneMatch
System.Data.Services (21)
System\Data\Services\DataService.cs (13)
526if (!WebUtil.IsETagValueValid(host.RequestIfNoneMatch, allowStrongEtag)) 528throw DataServiceException.CreateBadRequestError(Strings.DataService_ETagValueNotValid(host.RequestIfNoneMatch)); 649if (!String.IsNullOrEmpty(operationContext.Host.RequestIfMatch) && !String.IsNullOrEmpty(operationContext.Host.RequestIfNoneMatch)) 847if (!String.IsNullOrEmpty(host.RequestIfMatch) || !String.IsNullOrEmpty(host.RequestIfNoneMatch)) 896(String.IsNullOrEmpty(host.RequestIfMatch) && String.IsNullOrEmpty(host.RequestIfNoneMatch)) || description.TargetSource == RequestTargetSource.ServiceOperation, 1034if (!String.IsNullOrEmpty(host.RequestIfMatch) || !String.IsNullOrEmpty(host.RequestIfNoneMatch)) 1114if (!String.IsNullOrEmpty(host.RequestIfNoneMatch) && description.TargetKind != RequestTargetKind.MediaResource) 1163if (!String.IsNullOrEmpty(host.RequestIfNoneMatch)) 1202if (!String.IsNullOrEmpty(host.RequestIfNoneMatch)) 1237if (!String.IsNullOrEmpty(host.RequestIfNoneMatch)) 1329String.IsNullOrEmpty(host.RequestIfMatch) || String.IsNullOrEmpty(host.RequestIfNoneMatch), 1350Debug.Assert(String.IsNullOrEmpty(host.RequestIfMatch) && String.IsNullOrEmpty(host.RequestIfNoneMatch), "ETag cannot be specified for $link requests"); 1626if (!String.IsNullOrEmpty(dataService.OperationContext.Host.RequestIfMatch) || !String.IsNullOrEmpty(dataService.OperationContext.Host.RequestIfNoneMatch))
System\Data\Services\Providers\DataServiceStreamProviderWrapper.cs (3)
408Debug.Assert(string.IsNullOrEmpty(host.RequestIfMatch) || string.IsNullOrEmpty(host.RequestIfNoneMatch), "IfMatch and IfNoneMatch should not be both set."); 410if (string.IsNullOrEmpty(host.RequestIfMatch) && string.IsNullOrEmpty(host.RequestIfNoneMatch)) 422etag = host.RequestIfNoneMatch;
System\Data\Services\UpdatableWrapper.cs (1)
145Debug.Assert(String.IsNullOrEmpty(host.RequestIfNoneMatch), "IfNoneMatch header cannot be specified for Update/Delete operations");
System\Data\Services\WebUtil.cs (4)
1080else if (String.IsNullOrEmpty(host.RequestIfMatch) && String.IsNullOrEmpty(host.RequestIfNoneMatch)) 1088else if (host.RequestIfNoneMatch == XmlConstants.HttpAnyETag) 1099Debug.Assert(!String.IsNullOrEmpty(host.RequestIfNoneMatch), "Both can't be null, otherwise it should have entered the first condition"); 1100if (host.RequestIfNoneMatch == etag)