39 references to EmptyArray
System.ServiceModel (39)
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\DispatchOperationRuntime.cs (2)
68this.callContextInitializers = EmptyArray<ICallContextInitializer>.ToArray(operation.CallContextInitializers); 69this.inspectors = EmptyArray<IParameterInspector>.ToArray(operation.ParameterInspectors);
System\ServiceModel\Dispatcher\DispatchRuntime.cs (1)
797outputs = EmptyArray<object>.Allocate(0);
System\ServiceModel\Dispatcher\ErrorBehavior.cs (1)
23this.handlers = EmptyArray<IErrorHandler>.ToArray(channelDispatcher.ErrorHandlers);
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (3)
34this.channelInitializers = EmptyArray<IChannelInitializer>.ToArray(behavior.ChannelInitializers); 35this.interactiveChannelInitializers = EmptyArray<IInteractiveChannelInitializer>.ToArray(behavior.InteractiveChannelInitializers); 36this.messageInspectors = EmptyArray<IClientMessageInspector>.ToArray(behavior.MessageInspectors);
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
82this.inputSessionShutdownHandlers = EmptyArray<IInputSessionShutdown>.ToArray(dispatch.InputSessionShutdownHandlers); 86this.messageInspectors = EmptyArray<IDispatchMessageInspector>.ToArray(dispatch.MessageInspectors);
System\ServiceModel\Dispatcher\InstanceBehavior.cs (1)
36this.initializers = EmptyArray<IInstanceContextInitializer>.ToArray(dispatch.InstanceContextInitializers);
System\ServiceModel\Dispatcher\InstanceContextManager.cs (2)
243return EmptyArray<InstanceContext>.Instance; 254return EmptyArray<InstanceContext>.Instance;
System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (1)
61this.parameterInspectors = EmptyArray<IParameterInspector>.ToArray(operation.ParameterInspectors);
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
60return EmptyArray<object>.Allocate(this.inputParameterCount);
System\ServiceModel\EmptyArray.cs (2)
40return EmptyArray<T>.Instance; 54return EmptyArray<T>.ToArray((IList<T>)collection);
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (2)
1030return EmptyArray<object>.Allocate(1); 1036outputs = EmptyArray<object>.Allocate(0);
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (2)
1228return EmptyArray<object>.Allocate(1); 1233outputs = EmptyArray<object>.Allocate(0);
System\ServiceModel\ServiceChannelManager.cs (1)
411return EmptyArray<IChannel>.Allocate(0);