22 references to Instance
System.ServiceModel (22)
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
3232httpRequestMessage.Content = new ByteArrayContent(EmptyArray<byte>.Instance); 3240httpResponseMessage.Content = new ByteArrayContent(EmptyArray<byte>.Instance);
System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (1)
260httpRequestMessage.Content = new ByteArrayContent(EmptyArray<byte>.Instance);
System\ServiceModel\Channels\HttpRequestMessageProperty.cs (2)
340HttpContent newContent = new ByteArrayContent(EmptyArray<byte>.Instance); 351this.HttpRequestMessage.Content = new ByteArrayContent(EmptyArray<byte>.Instance);
System\ServiceModel\Channels\HttpResponseMessageExtensionMethods.cs (1)
169httpResponseMessage.Content = new ByteArrayContent(EmptyArray<byte>.Instance);
System\ServiceModel\Channels\HttpResponseMessageProperty.cs (2)
359HttpContent newContent = new ByteArrayContent(EmptyArray<byte>.Instance); 370this.HttpResponseMessage.Content = new ByteArrayContent(EmptyArray<byte>.Instance);
System\ServiceModel\Channels\RedirectionException.cs (1)
78locations = EmptyArray<RedirectionLocation>.Instance;
System\ServiceModel\Channels\ServiceChannel.cs (4)
1281this.Call(message.Headers.Action, true, operation, new object[] { message }, EmptyArray<object>.Instance, timeout); 1297this.EndCall(MessageHeaders.WildcardAction, EmptyArray<object>.Instance, result); 1308return (Message)this.Call(message.Headers.Action, false, operation, new object[] { message }, EmptyArray<object>.Instance, timeout); 1324return (Message)this.EndCall(MessageHeaders.WildcardAction, EmptyArray<object>.Instance, result);
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
1381Task task = this.webSocket.SendAsync(new ArraySegment<byte>(EmptyArray<byte>.Instance, 0, 0), this.outgoingMessageType, true, CancellationToken.None); 1405Task task = this.webSocket.SendAsync(new ArraySegment<byte>(EmptyArray<byte>.Instance, 0, 0), this.outgoingMessageType, true, cancellationTokenSource.Token);
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
203return EmptyArray<IServiceContractGenerationExtension>.Instance; 230return EmptyArray<IOperationContractGenerationExtension>.Instance;
System\ServiceModel\Dispatcher\ClientRuntime.cs (1)
404return EmptyArray<T>.Instance;
System\ServiceModel\Dispatcher\InstanceContextManager.cs (2)
243return EmptyArray<InstanceContext>.Instance; 254return EmptyArray<InstanceContext>.Instance;
System\ServiceModel\EmptyArray.cs (2)
31return Instance; 40return EmptyArray<T>.Instance;