You've already forked linux-packaging-mono
acceptance-tests
data
debian
docs
external
ikvm-native
llvm
m4
man
mcs
build
class
Accessibility
Commons.Xml.Relaxng
Cscompmgd
CustomMarshalers
Facades
I18N
IBM.Data.DB2
ICSharpCode.SharpZipLib
Microsoft.Build
Microsoft.Build.Engine
Microsoft.Build.Framework
Microsoft.Build.Tasks
Microsoft.Build.Utilities
Microsoft.CSharp
Microsoft.NuGet.Build.Tasks
Microsoft.VisualC
Microsoft.Web.Infrastructure
MicrosoftAjaxLibrary
Mono.Btls.Interface
Mono.C5
Mono.CSharp
Mono.Cairo
Mono.Cecil
Mono.Cecil.Mdb
Mono.CodeContracts
Mono.CompilerServices.SymbolWriter
Mono.Data.Sqlite
Mono.Data.Tds
Mono.Debugger.Soft
Mono.Http
Mono.Management
Mono.Messaging
Mono.Messaging.RabbitMQ
Mono.Options
Mono.Parallel
Mono.Posix
Mono.Profiler.Log
Mono.Runtime.Tests
Mono.Security
Mono.Security.Win32
Mono.Simd
Mono.Tasklets
Mono.WebBrowser
Mono.XBuild.Tasks
Novell.Directory.Ldap
PEAPI
RabbitMQ.Client
SMDiagnostics
System
System.ComponentModel.Composition.4.5
System.ComponentModel.DataAnnotations
System.Configuration
System.Configuration.Install
System.Core
System.Data
System.Data.DataSetExtensions
System.Data.Entity
System.Data.Linq
System.Data.OracleClient
System.Data.Services
System.Data.Services.Client
System.Deployment
System.Design
System.DirectoryServices
System.DirectoryServices.Protocols
System.Drawing
System.Drawing.Design
System.Dynamic
System.EnterpriseServices
System.IO.Compression
System.IO.Compression.FileSystem
System.IdentityModel
System.IdentityModel.Selectors
System.Json
System.Json.Microsoft
System.Management
System.Messaging
System.Net
System.Net.Http
System.Net.Http.Formatting
System.Net.Http.WebRequest
System.Net.Http.WinHttpHandler
System.Numerics
System.Numerics.Vectors
System.Reactive.Core
System.Reactive.Debugger
System.Reactive.Experimental
System.Reactive.Interfaces
System.Reactive.Linq
System.Reactive.Observable.Aliases
System.Reactive.PlatformServices
System.Reactive.Providers
System.Reactive.Runtime.Remoting
System.Reactive.Windows.Forms
System.Reactive.Windows.Threading
System.Reflection.Context
System.Runtime.Caching
System.Runtime.CompilerServices.Unsafe
System.Runtime.DurableInstancing
System.Runtime.Remoting
System.Runtime.Serialization
System.Runtime.Serialization.Formatters.Soap
System.Security
System.ServiceModel
System.ServiceModel.Activation
System.ServiceModel.Discovery
System.ServiceModel.Internals
System.ServiceModel.Routing
System.ServiceModel.Web
System.ServiceProcess
System.Threading.Tasks.Dataflow
System.Transactions
System.Web
System.Web.Abstractions
System.Web.ApplicationServices
System.Web.DynamicData
System.Web.Extensions
System.Web.Extensions.Design
System.Web.Http
System.Web.Http.SelfHost
System.Web.Http.WebHost
System.Web.Mobile
System.Web.Mvc3
System.Web.Razor
System.Web.RegularExpressions
System.Web.Routing
System.Web.Services
System.Web.WebPages
System.Web.WebPages.Deployment
System.Web.WebPages.Razor
System.Windows
System.Windows.Forms
System.Windows.Forms.DataVisualization
System.Workflow.Activities
System.Workflow.ComponentModel
System.Workflow.Runtime
System.XML
System.Xaml
System.Xml.Linq
System.Xml.Serialization
SystemWebTestShim
WebMatrix.Data
WindowsBase
aot-compiler
corlib
dlr
doc
legacy
lib
monodoc
notes
reference-assemblies
referencesource
SMDiagnostics
System
System.Activities
System.Activities.Core.Presentation
System.Activities.DurableInstancing
System.Activities.Presentation
System.ComponentModel.DataAnnotations
System.Configuration
System.Core
System.Data
System.Data.DataSetExtensions
System.Data.Entity
System.Data.Entity.Design
System.Data.Linq
System.Data.SqlXml
System.IdentityModel
System.IdentityModel.Selectors
System.Net
System.Numerics
System.Runtime.Caching
System.Runtime.DurableInstancing
System.Runtime.Serialization
System.ServiceModel
InternalApis
Serialization
System
Collections
ServiceModel
Activation
Administration
Channels
AddressHeader.cs
AddressHeaderCollection.cs
Addressing.cs
AddressingVersion.cs
AppContainerInfo.cs
ApplicationContainerSettings.cs
AsymmetricSecurityBindingElement.cs
AuthenticationSchemesBindingParameter.cs
AuthenticationSchemesHelper.cs
BaseUriWithWildcard.cs
BinaryMessageEncoder.cs
BinaryMessageEncodingBindingElement.cs
BinaryVersion.cs
Binding.cs
BindingContext.cs
BindingElement.cs
BindingElementCollection.cs
BindingParameterCollection.cs
BodyWriter.cs
BufferManager.cs
BufferManagerOutputStream.cs
BufferedConnection.cs
BufferedMessageData.cs
BufferedMessageWriter.cs
BufferedOutputAsyncStream.cs
BufferedReceiveMessageProperty.cs
BufferedRequestContext.cs
CallbackContextMessageHeader.cs
CallbackContextMessageProperty.cs
ChainedAsyncResult.cs
ChannelAcceptor.cs
ChannelBase.cs
ChannelBindingMessageProperty.cs
ChannelBindingProviderHelper.cs
ChannelBindingUtility.cs
ChannelBuilder.cs
ChannelDemuxer.cs.REMOVED.git-id
ChannelFactoryBase.cs
ChannelListenerBase.cs
ChannelManagerBase.cs
ChannelParameterCollection.cs
ChannelPool.cs
ChannelPoolSettings.cs
ChannelReliableSession.cs
ChannelRequirements.cs
ChannelTracker.cs
ClientContextProtocol.cs
ClientReliableChannelBinder.cs
ClientWebSocketFactory.cs
ClientWebSocketTransportDuplexSessionChannel.cs
CloseCollectionAsyncResult.cs
CloseSequence.cs
CloseSequenceResponse.cs
CommunicationObject.cs
CommunicationObjectManager.cs
CompositeDuplexBindingElement.cs
CompositeDuplexBindingElementImporter.cs
CompressionFormat.cs
CompressionFormatHelper.cs
ConnectAlgorithms.cs
Connection.cs
ConnectionAcceptor.cs
ConnectionBufferPool.cs
ConnectionDemuxer.cs
ConnectionDumpInitiator.cs
ConnectionModeReader.cs
ConnectionOrientedTransportBindingElement.cs
ConnectionOrientedTransportChannelFactory.cs
ConnectionOrientedTransportChannelListener.cs
ConnectionOrientedTransportManager.cs
ConnectionPool.cs
ConnectionPoolRegistry.cs
ContentOnlyMessage.cs
ContextAddressHeader.cs
ContextBindingElement.cs
ContextBindingElementImporter.cs
ContextBindingElementPolicy.cs
ContextChannelFactory.cs
ContextChannelListener.cs
ContextChannelRequestContext.cs
ContextDictionary.cs
ContextDuplexSessionChannel.cs
ContextExchangeCorrelationHelper.cs
ContextExchangeMechanism.cs
ContextExchangeMechanismHelper.cs
ContextInputChannel.cs
ContextInputChannelBase.cs
ContextInputSessionChannel.cs
ContextMessageHeader.cs
ContextMessageProperty.cs
ContextOutputChannel.cs
ContextOutputChannelBase.cs
ContextOutputSessionChannel.cs
ContextProtocol.cs
ContextReplyChannel.cs
ContextReplySessionChannel.cs
ContextRequestChannel.cs
ContextRequestChannelBase.cs
ContextRequestSessionChannel.cs
CorrelationCallbackMessageProperty.cs
CorrelationDataDescription.cs
CorrelationDataMessageProperty.cs
CorrelationDataSourceHelper.cs
CorrelationKey.cs
CorrelationMessageProperty.cs
CreateSequence.cs
CreateSequenceResponse.cs
CustomBinding.cs
DatagramAdapter.cs
DefaultWebSocketConnectionHandler.cs
DelegatingChannelListener.cs
DelegatingMessage.cs
DelegatingStream.cs
DeliveryFailure.cs
DeliveryStatus.cs
DeliveryStrategy.cs
DetectEofStream.cs
DirectionalAction.cs
DnsCache.cs
DoneReceivingAsyncResult.cs
DuplexChannel.cs
EncoderHelpers.cs
EndpointSettings.cs
ExclusiveNamedPipeTransportManager.cs
ExclusiveTcpTransportManager.cs
FaultConverter.cs
FramingChannels.cs
FramingDecoders.cs
FramingEncoders.cs
FramingFormat.cs
HttpAnonymousUriPrefixMatcher.cs
HttpChannelFactory.cs
HttpChannelHelpers.cs.REMOVED.git-id
HttpChannelListener.cs
HttpCookieContainerBindingElement.cs
HttpCookieContainerManager.cs
HttpHeaderInfo.cs
HttpHeadersWebHeaderCollection.cs
HttpMessageHandlerFactory.cs
HttpMessageSettings.cs
HttpPipeline.cs
HttpPipelineCancellationTokenSource.cs
HttpRequestContext.cs
HttpRequestMessageExtensionMethods.cs
HttpRequestMessageProperty.cs
HttpResponseMessageExtensionMethods.cs
HttpResponseMessageProperty.cs
HttpTransportBindingElement.cs
HttpTransportManager.cs
HttpsChannelFactory.cs
HttpsChannelListener.cs
HttpsTransportBindingElement.cs
IAnonymousUriPrefixMatcher.cs
IBindingDeliveryCapabilities.cs
IBindingMulticastCapabilities.cs
IBindingRuntimePreferences.cs
IChannel.cs
IChannelAcceptor.cs
IChannelBindingProvider.cs
IChannelFactory.cs
IChannelListener.cs
ICompressedMessageEncoder.cs
IContextBindingElement.cs
IContextManager.cs
ICorrelationDataSource.cs
ICorrelatorKey.cs
IDuplexChannel.cs
IDuplexSession.cs
IDuplexSessionChannel.cs
IHttpCookieContainerManager.cs
IInputChannel.cs
IInputSession.cs
IInputSessionChannel.cs
ILockingQueue.cs
IMergeEnabledMessageProperty.cs
IMessageProperty.cs
IMessageSource.cs
IOutputChannel.cs
IOutputSession.cs
IOutputSessionChannel.cs
IPeerNeighbor.cs
IPoisonHandlingStrategy.cs
IReceiveContextSettings.cs
IReliableChannelBinder.cs
IReliableFactorySettings.cs
IReplyChannel.cs
IReplySessionChannel.cs
IRequestChannel.cs
IRequestReplyCorrelator.cs
IRequestSessionChannel.cs
ISecurityCapabilities.cs
ISession.cs
ISessionChannel.cs
IStreamUpgradeChannelBindingProvider.cs
IStreamedMessageEncoder.cs
ITransactedBindingElement.cs
ITransactionChannelManager.cs
ITransportCompressionSupport.cs
ITransportFactorySettings.cs
ITransportTokenAssertionProvider.cs
IWebMessageEncoderHelper.cs
IWebsocketCloseDetails.cs
IdlingCommunicationPool.cs
InitialServerConnectionReader.cs
InputChannel.cs
InputChannelAcceptor.cs
InputQueueChannel.cs
InputQueueChannelAcceptor.cs
InternalDuplexBindingElement.cs
InternalDuplexChannelFactory.cs
InternalDuplexChannelListener.cs
InvalidChannelBindingException.cs
LateBoundChannelParameterCollection.cs
LayeredChannel.cs
LayeredChannelFactory.cs
LayeredChannelListener.cs
LifetimeManager.cs
LocalClientSecuritySettings.cs
LocalServiceSecuritySettings.cs
LockHelper.cs
MaxMessageSizeStream.cs
Message.cs
MessageBuffer.cs
MessageEncoder.cs
MessageEncoderCompressionHandler.cs
MessageEncoderFactory.cs
MessageEncodingBindingElement.cs
MessageEncodingBindingElementImporter.cs
MessageFault.cs
MessageHeader.cs
MessageHeaderInfo.cs
MessageHeaders.cs
MessageProperties.cs
MessageState.cs
MessageVersion.cs
Msmq.cs
Msmq3PoisonHandler.cs
Msmq4PoisonHandler.cs
Msmq4SubqueuePoisonHandler.cs
MsmqBindingElementBase.cs
MsmqBindingFilter.cs
MsmqBindingMonitor.cs
MsmqChannelFactory.cs
MsmqChannelFactoryBase.cs
MsmqChannelListenerBase.cs
MsmqDecodeHelper.cs
MsmqDefaultLockingQueue.cs
MsmqDiagnostics.cs
MsmqInputChannel.cs
MsmqInputChannelBase.cs
MsmqInputChannelListener.cs
MsmqInputChannelListenerBase.cs
MsmqInputMessage.cs
MsmqInputMessagePool.cs
MsmqInputSessionChannel.cs
MsmqInputSessionChannelListener.cs
MsmqMessageProperty.cs
MsmqNonTransactedPoisonHandler.cs
MsmqOutputChannel.cs
MsmqOutputMessage.cs
MsmqOutputSessionChannel.cs
MsmqQueue.cs
MsmqReceiveContext.cs
MsmqReceiveContextLockManager.cs
MsmqReceiveHelper.cs
MsmqReceiveParameters.cs
MsmqSubqueueLockingQueue.cs
MsmqTransportBindingElement.cs
MsmqTransportReceiveParameters.cs
MsmqUri.cs
MsmqVerifier.cs
MtomMessageEncoder.cs
MtomMessageEncodingBindingElement.cs
NamedPipeChannelFactory.cs
NamedPipeChannelListener.cs
NamedPipeConnectionPool.cs
NamedPipeConnectionPoolSettings.cs
NamedPipeSettings.cs
NamedPipeTransportBindingElement.cs
NamedPipeTransportManager.cs
NativeMsmqMessage.cs
OneWayBindingElement.cs
OneWayBindingElementImporter.cs
OneWayChannelFactory.cs
OneWayChannelListener.cs
OpaqueContent.cs
OpenCollectionAsyncResult.cs
OutputChannel.cs
OverlappedContext.cs
PeerChannelFactory.cs
PeerChannelListener.cs
PeerConnector.cs
PeerCustomResolverBindingElement.cs
PeerDuplexChannel.cs
PeerDuplexChannelListener.cs
PeerFlooder.cs
PeerHelpers.cs
PeerIPHelper.cs
PeerInputChannel.cs
PeerInputChannelListener.cs
PeerMaintainer.cs
PeerMessageDispatcher.cs
PeerNeighborManager.cs
PeerNodeImplementation.cs
PeerNodeStateManager.cs
PeerOutputChannel.cs
PeerResolverBindingElement.cs
PeerSecurityHelpers.cs
PeerSecurityManager.cs
PeerService.cs
PeerServiceMessageContracts.cs
PeerTransportBindingElement.cs
PeerUnsafeNativeCryptMethods.cs
PeerUnsafeNativeMethods.cs
PipeConnection.cs.REMOVED.git-id
PipeException.cs
PnrpPeerResolver.cs.REMOVED.git-id
PnrpPeerResolverBindingElement.cs
PrivacyNoticeBindingElement.cs
PrivacyNoticeBindingElementImporter.cs
QueuedObjectPool.cs
ReceiveContext.cs
ReceiveContextState.cs
RedirectionConstants.cs
RedirectionDuration.cs
RedirectionException.cs
RedirectionLocation.cs
RedirectionScope.cs
RedirectionType.cs
RedirectionUtility.cs
ReliableChannelBinder.cs.REMOVED.git-id
ReliableChannelFactory.cs
ReliableChannelListener.cs
ReliableDuplexSessionChannel.cs
ReliableInputConnection.cs
ReliableInputSessionChannel.cs
ReliableMessagingHelpers.cs.REMOVED.git-id
ReliableOutputConnection.cs
ReliableOutputSessionChannel.cs
ReliableReplySessionChannel.cs
ReliableRequestSessionChannel.cs
ReliableSessionBindingElement.cs
ReliableSessionBindingElementImporter.cs
RemoteEndpointMessageProperty.cs
ReplyAdapterChannelListener.cs
ReplyChannel.cs
ReplyChannelAcceptor.cs
RequestChannel.cs
RequestContext.cs
RequestContextBase.cs
RequestReplyCorrelator.cs
RetryException.cs
SafeNativeMethods.cs
SecurityAttributeGenerationHelper.cs
SecurityBindingElement.cs.REMOVED.git-id
SecurityBindingElementImporter.cs
SecurityCapabilities.cs
SecurityChannelFactory.cs
SecurityChannelFaultConverter.cs
SecurityChannelListener.cs
SecurityHeaderLayout.cs
SelfSignedCertificate.cs
SequenceRange.cs
SequenceRangeCollection.cs
ServerReliableChannelBinder.cs
ServerWebSocketTransportDuplexSessionChannel.cs
ServiceChannel.cs
ServiceChannelFactory.cs
ServiceChannelProxy.cs
ServiceContextProtocol.cs
ServiceWebSocketContext.cs
SessionConnectionReader.cs
SessionOpenNotification.cs
SharedConnectionListener.cs
SharedHttpTransportManager.cs
SharedHttpsTransportManager.cs
SharedTcpTransportManager.cs
SingletonChannelAcceptor.cs
SingletonConnectionReader.cs
SocketAsyncEventArgsPool.cs
SocketConnection.cs
SslStreamSecurityBindingElement.cs
SslStreamSecurityUpgradeProvider.cs
StandardBindingImporter.cs
StreamSecurityUpgradeAcceptor.cs
StreamSecurityUpgradeAcceptorAsyncResult.cs
StreamSecurityUpgradeAcceptorBase.cs
StreamSecurityUpgradeInitiator.cs
StreamSecurityUpgradeInitiatorAsyncResult.cs
StreamSecurityUpgradeInitiatorBase.cs
StreamSecurityUpgradeProvider.cs
StreamUpgradeAcceptor.cs
StreamUpgradeBindingElement.cs
StreamUpgradeInitiator.cs
StreamUpgradeProvider.cs
StreamedFramingRequestChannel.cs
SupportedAddressingMode.cs
SymmetricSecurityBindingElement.cs
SynchronizedMessageSource.cs
TcpChannelFactory.cs
TcpChannelListener.cs
TcpConnectionPool.cs
TcpConnectionPoolSettings.cs
TcpTransportBindingElement.cs
TcpTransportManager.cs
TerminateSequence.cs
TerminateSequenceResponse.cs
TextMessageEncoder.cs
TextMessageEncodingBindingElement.cs
TimeoutStream.cs
TracingConnection.cs
TracingConnectionInitiator.cs
TracingConnectionListener.cs
TransactionChannel.cs
TransactionChannelFactory.cs
TransactionChannelFaultConverter.cs
TransactionChannelListener.cs
TransactionFlowBindingElement.cs
TransactionFlowBindingElementImporter.cs
TransactionFlowProperty.cs
TransferSession.cs
TransmissionStrategy.cs
TransportBindingElement.cs
TransportBindingElementImporter.cs
TransportChannelFactory.cs
TransportChannelListener.cs
TransportDefaults.cs
TransportDuplexSessionChannel.cs
TransportManager.cs
TransportOutputChannel.cs
TransportReplyChannelAcceptor.cs
TransportSecurityBindingElement.cs
TransportSecurityHelpers.cs
UnderstoodHeaders.cs
UniqueTransportManagerRegistration.cs
UnrecognizedAssertionsBindingElement.cs
UnsafeNativeMethods.cs
UriGenerator.cs
UriHelper.cs
UriPrefixTable.cs
UseManagedPresentationBindingElement.cs
UseManagedPresentationBindingElementImporter.cs
UtilityExtension.cs
WebSocketConnectionHandler.cs
WebSocketHelper.cs
WebSocketMessageProperty.cs
WebSocketTransportDuplexSessionChannel.cs
WebSocketTransportSettings.cs
WebSocketTransportUsage.cs
WebSocketTransportUsageHelper.cs
WindowsStreamSecurityBindingElement.cs
WindowsStreamSecurityUpgradeProvider.cs
WrappedOptions.cs
WsrmFault.cs
WsrmMessageInfo.cs
XmlSerializerImportOptions.cs
ComIntegration
Configuration
Description
Diagnostics
Dispatcher
MsmqIntegration
PeerResolvers
Security
Syndication
Transactions
XamlIntegration
ActionMismatchAddressingException.cs
ActionNotSupportedException.cs
AddressAccessDeniedException.cs
AddressAlreadyInUseException.cs
AddressFilterMode.cs
AppContextDefaultValues.Default.cs
AuditLevel.cs
AuditLogLocation.cs
BasicHttpBinding.cs
BasicHttpContextBinding.cs
BasicHttpMessageCredentialType.cs
BasicHttpMessageSecurity.cs
BasicHttpSecurity.cs
BasicHttpSecurityMode.cs
BasicHttpsBinding.cs
BasicHttpsSecurity.cs
BasicHttpsSecurityMode.cs
CacheSetting.cs
CallbackBehaviorAttribute.cs
ChannelFactory.cs
ChannelFactoryRefCache.cs
ChannelTerminatedException.cs
ClientBase.cs
CommunicationException.cs
CommunicationObjectAbortedException.cs
CommunicationObjectFaultedException.cs
CommunicationState.cs
ConcurrencyMode.cs
ConfigurationEndpointTrait.cs
DXD.cs
DataContractFormatAttribute.cs
DeadLetterQueue.cs
DeliveryRequirementsAttribute.cs
DnsEndpointIdentity.cs
DuplexChannelFactory.cs
DuplexClientBase.cs
EmptyArray.cs
EndpointAddress.cs
EndpointAddress10.cs
EndpointAddressAugust2004.cs
EndpointIdentity.cs
EndpointNotFoundException.cs
EndpointTrait.cs
EnvelopeVersion.cs
ExceptionDetail.cs
ExceptionMapper.cs
ExtensionCollection.cs
FaultCode.cs
FaultCodeConstants.cs
FaultContractAttribute.cs
FaultException.cs
FaultImportOptions.cs
FaultReason.cs
FaultReasonText.cs
FederatedMessageSecurityOverHttp.cs
GeneralEndpointIdentity.cs
HostnameComparisonMode.cs
HttpBindingBase.cs
HttpClientCredentialType.cs
HttpProxyCredentialType.cs
HttpTransportSecurity.cs
IChannelBaseProxy.cs
IClientChannel.cs
ICommunicationObject.cs
IContextChannel.cs
IContextSessionProvider.cs
IDefaultCommunicationTimeouts.cs
IDuplexContextChannel.cs
IExtensibleObject.cs
IExtension.cs
IExtensionCollection.cs
IOnlineStatus.cs
IOperationContractAttributeProvider.cs
IServiceChannel.cs
ImpersonationOption.cs
InstanceContext.cs
InstanceContextMode.cs
InvalidMessageContractException.cs
KeyedByTypeCollection.cs
LocalAppContextSwitches.cs
MessageBodyMemberAttribute.cs
MessageContractAttribute.cs
MessageContractMemberAttribute.cs
MessageCredentialType.cs
MessageHeaderArrayAttribute.cs
MessageHeaderAttribute.cs
MessageHeaderException.cs
MessageHeaderT.cs
MessageParameterAttribute.cs
MessagePropertyAttribute.cs
MessageSecurityOverHttp.cs
MessageSecurityOverMsmq.cs
MessageSecurityOverTcp.cs
MessageSecurityVersion.cs
MostlySingletonList.cs
MsmqAuthenticationMode.cs
MsmqBindingBase.cs
MsmqEncryptionAlgorithm.cs
MsmqException.cs
MsmqPoisonMessageException.cs
MsmqSecureHashAlgorithm.cs
MsmqTransportSecurity.cs
MustUnderstandSoapException.cs
NamedPipeTransportSecurity.cs
NetHttpBinding.cs
NetHttpMessageEncoding.cs
NetHttpMessageEncodingHelper.cs
NetHttpsBinding.cs
NetMsmqBinding.cs
NetMsmqSecurity.cs
NetMsmqSecurityMode.cs
NetNamedPipeBinding.cs
NetNamedPipeSecurity.cs
NetNamedPipeSecurityMode.cs
NetPeerTcpBinding.cs
NetTcpBinding.cs
NetTcpContextBinding.cs
NetTcpSecurity.cs
NonDualMessageSecurityOverHttp.cs
OSEnvironmentHelper.cs
OSVersion.cs
OperationBehaviorAttribute.cs
OperationContext.cs
OperationContextScope.cs
OperationContractAttribute.cs
OperationFormatStyle.cs
OperationFormatUse.cs
PeerHopCountAttribute.cs
PeerMessageOrigination.cs
PeerMessagePropagation.cs
PeerMessagePropagationFilter.cs
PeerNode.cs
PeerNodeAddress.cs
PeerResolver.cs
PeerSecuritySettings.cs
PeerTransportCredentialType.cs
PeerTransportSecuritySettings.cs
PoisonMessageException.cs
Pool.cs
ProgrammaticEndpointTrait.cs
ProtocolException.cs
QueueTransferProtocol.cs
QueuedDeliveryRequirementsMode.cs
QuotaExceededException.cs
ReceiveContextEnabledAttribute.cs
ReceiveErrorHandling.cs
ReleaseInstanceMode.cs
ReliableMessagingVersion.cs
ReliableSession.cs
RsaEndpointIdentity.cs
SecurityMode.cs
ServerTooBusyException.cs
ServiceActivationException.cs
ServiceAuthenticationManager.cs
ServiceAuthorizationManager.cs
ServiceBehaviorAttribute.cs
ServiceChannelManager.cs
ServiceConfiguration.cs
ServiceContractAttribute.cs
ServiceDefaults.cs
ServiceEndpointTrait.cs
ServiceHost.cs
ServiceKnownTypeAttribute.cs
ServiceModelAppSettings.cs
ServiceModelAttributeTargets.cs
ServiceModelDictionary.cs
ServiceModelStrings.cs
ServiceModelStringsVersion1.cs
ServiceSecurityContext.cs
SessionMode.cs
SpnEndpointIdentity.cs
StringUtil.cs
SynchronizedCollection.cs
SynchronizedDisposablePool.cs
SynchronizedKeyedCollection.cs
SynchronizedReadOnlyCollection.cs
TcpClientCredentialType.cs
TcpTransportSecurity.cs
ThreadTrace.cs
TimeSpanHelper.cs
TransactionFlowAttribute.cs
TransactionFlowOption.cs
TransactionProtocol.cs
TransferMode.cs
UnifiedSecurityMode.cs
UnknownMessageReceivedEventArgs.cs
UpnEndpointIdentity.cs
UriSchemeKeyedCollection.cs
WS2007FederationHttpBinding.cs
WS2007HttpBinding.cs
WSAddressing10ProblemHeaderQNameFault.cs
WSDualHttpBinding.cs
WSDualHttpSecurity.cs
WSDualHttpSecurityMode.cs
WSFederationHttpBinding.cs
WSFederationHttpSecurity.cs
WSFederationHttpSecurityMode.cs
WSHttpBinding.cs
WSHttpBindingBase.cs
WSHttpContextBinding.cs
WSHttpSecurity.cs
WSMessageEncoding.cs
WrappedDispatcherException.cs
X509CertificateEndpointIdentity.cs
XD.cs.REMOVED.git-id
XPathMessageQuery.cs
XmlBuffer.cs
XmlSerializerFormatAttribute.cs
XmlUtil.cs
UriTemplate.cs
UriTemplateCompoundPathSegment.cs
UriTemplateEquivalenceComparer.cs
UriTemplateHelpers.cs
UriTemplateLiteralPathSegment.cs
UriTemplateLiteralQueryValue.cs
UriTemplateMatch.cs
UriTemplateMatchException.cs
UriTemplatePartType.cs
UriTemplatePathPartiallyEquivalentSet.cs
UriTemplatePathSegment.cs
UriTemplateQueryValue.cs
UriTemplateTable.cs
UriTemplateTableMatchCandidate.cs
UriTemplateTrieIntraNodeLocation.cs
UriTemplateTrieLocation.cs
UriTemplateTrieNode.cs
UriTemplateVariablePathSegment.cs
UriTemplateVariableQueryValue.cs
AssemblyInfo.cs
System.ServiceModel.txt.REMOVED.git-id
TD.Designer.cs.REMOVED.git-id
System.ServiceModel.Activation
System.ServiceModel.Activities
System.ServiceModel.Channels
System.ServiceModel.Discovery
System.ServiceModel.Internals
System.ServiceModel.Routing
System.ServiceModel.WasHosting
System.ServiceModel.Web
System.Web
System.Web.ApplicationServices
System.Web.DataVisualization
System.Web.DynamicData
System.Web.Entity
System.Web.Entity.Design
System.Web.Extensions
System.Web.Mobile
System.Web.Routing
System.Web.Services
System.Workflow.Activities
System.Workflow.ComponentModel
System.Workflow.Runtime
System.WorkflowServices
System.Xaml.Hosting
System.Xml
System.Xml.Linq
XamlBuildTask
mscorlib
LICENSE.txt
PATENTS.TXT
README.Mono.md
README.md
test-helpers
LICENSE
Makefile
Open.snk
README
ecma.pub
mono.pub
mono.snk
msfinal.pub
reactive.pub
silverlight.pub
winfx.pub
winfx3.pub
docs
errors
ilasm
jay
mcs
packages
tests
tools
AUTHORS
COPYING
INSTALL.txt
Makefile
MonoIcon.png
README
ScalableMonoIcon.svg
mkinstalldirs
mk
mono
msvc
netcore
po
runtime
samples
scripts
support
tools
COPYING.LIB
LICENSE
Makefile.am
Makefile.in
NEWS
README.md
acinclude.m4
aclocal.m4
autogen.sh
code_of_conduct.md
compile
config.guess
config.h.in
config.rpath
config.sub
configure.REMOVED.git-id
configure.ac.REMOVED.git-id
depcomp
install-sh
ltmain.sh.REMOVED.git-id
missing
mkinstalldirs
mono-uninstalled.pc.in
test-driver
winconfig.h
414 lines
16 KiB
C#
414 lines
16 KiB
C#
![]() |
//------------------------------------------------------------
|
||
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
//------------------------------------------------------------
|
||
|
|
||
|
namespace System.ServiceModel.Channels
|
||
|
{
|
||
|
using System;
|
||
|
using System.ComponentModel;
|
||
|
using System.Net.Security;
|
||
|
using System.Runtime.CompilerServices;
|
||
|
using System.ServiceModel.Administration;
|
||
|
using System.ServiceModel.Description;
|
||
|
using System.ServiceModel.Security;
|
||
|
|
||
|
[TypeForwardedFrom("System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
|
||
|
public class ContextBindingElement : BindingElement, IPolicyExportExtension, IContextSessionProvider, IWmiInstanceProvider, IContextBindingElement
|
||
|
{
|
||
|
internal const ContextExchangeMechanism DefaultContextExchangeMechanism = ContextExchangeMechanism.ContextSoapHeader;
|
||
|
internal const bool DefaultContextManagementEnabled = true;
|
||
|
internal const ProtectionLevel DefaultProtectionLevel = ProtectionLevel.Sign;
|
||
|
ContextExchangeMechanism contextExchangeMechanism;
|
||
|
ICorrelationDataSource instanceCorrelationData;
|
||
|
bool contextManagementEnabled;
|
||
|
ProtectionLevel protectionLevel;
|
||
|
|
||
|
public ContextBindingElement()
|
||
|
: this(DefaultProtectionLevel, DefaultContextExchangeMechanism, null, DefaultContextManagementEnabled)
|
||
|
{
|
||
|
// empty
|
||
|
}
|
||
|
|
||
|
public ContextBindingElement(ProtectionLevel protectionLevel)
|
||
|
: this(protectionLevel, DefaultContextExchangeMechanism, null, DefaultContextManagementEnabled)
|
||
|
{
|
||
|
// empty
|
||
|
}
|
||
|
|
||
|
public ContextBindingElement(ProtectionLevel protectionLevel, ContextExchangeMechanism contextExchangeMechanism)
|
||
|
: this(protectionLevel, contextExchangeMechanism, null, DefaultContextManagementEnabled)
|
||
|
{
|
||
|
// empty
|
||
|
}
|
||
|
|
||
|
|
||
|
public ContextBindingElement(ProtectionLevel protectionLevel, ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress)
|
||
|
: this(protectionLevel, contextExchangeMechanism, clientCallbackAddress, DefaultContextManagementEnabled)
|
||
|
{
|
||
|
// empty
|
||
|
}
|
||
|
|
||
|
public ContextBindingElement(ProtectionLevel protectionLevel, ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress, bool contextManagementEnabled)
|
||
|
{
|
||
|
this.ProtectionLevel = protectionLevel;
|
||
|
this.ContextExchangeMechanism = contextExchangeMechanism;
|
||
|
this.ClientCallbackAddress = clientCallbackAddress;
|
||
|
this.ContextManagementEnabled = contextManagementEnabled;
|
||
|
}
|
||
|
|
||
|
ContextBindingElement(ContextBindingElement other)
|
||
|
: base(other)
|
||
|
{
|
||
|
this.ProtectionLevel = other.ProtectionLevel;
|
||
|
this.ContextExchangeMechanism = other.ContextExchangeMechanism;
|
||
|
this.ClientCallbackAddress = other.ClientCallbackAddress;
|
||
|
this.ContextManagementEnabled = other.ContextManagementEnabled;
|
||
|
}
|
||
|
|
||
|
[DefaultValue(null)]
|
||
|
public Uri ClientCallbackAddress
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
[DefaultValue(DefaultContextExchangeMechanism)]
|
||
|
public ContextExchangeMechanism ContextExchangeMechanism
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return this.contextExchangeMechanism;
|
||
|
}
|
||
|
set
|
||
|
{
|
||
|
if (!ContextExchangeMechanismHelper.IsDefined(value))
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
|
||
|
}
|
||
|
this.contextExchangeMechanism = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
[DefaultValue(DefaultContextManagementEnabled)]
|
||
|
public bool ContextManagementEnabled
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return this.contextManagementEnabled;
|
||
|
}
|
||
|
set
|
||
|
{
|
||
|
this.contextManagementEnabled = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
[DefaultValue(DefaultProtectionLevel)]
|
||
|
public ProtectionLevel ProtectionLevel
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return this.protectionLevel;
|
||
|
}
|
||
|
set
|
||
|
{
|
||
|
if (!ProtectionLevelHelper.IsDefined(value))
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
|
||
|
}
|
||
|
this.protectionLevel = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
|
||
|
{
|
||
|
if (context == null)
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("context");
|
||
|
}
|
||
|
if (!this.CanBuildChannelFactory<TChannel>(context))
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
|
||
|
new InvalidOperationException(SR.GetString(SR.ContextBindingElementCannotProvideChannelFactory, typeof(TChannel).ToString())));
|
||
|
}
|
||
|
|
||
|
this.EnsureContextExchangeMechanismCompatibleWithScheme(context);
|
||
|
this.EnsureContextExchangeMechanismCompatibleWithTransportCookieSetting(context);
|
||
|
|
||
|
return new ContextChannelFactory<TChannel>(context, this.ContextExchangeMechanism, this.ClientCallbackAddress, this.ContextManagementEnabled);
|
||
|
}
|
||
|
|
||
|
public override IChannelListener<TChannel> BuildChannelListener<TChannel>(BindingContext context)
|
||
|
{
|
||
|
if (context == null)
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("context");
|
||
|
}
|
||
|
if (!this.CanBuildChannelListener<TChannel>(context))
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
|
||
|
new InvalidOperationException(SR.GetString(SR.ContextBindingElementCannotProvideChannelListener, typeof(TChannel).ToString())));
|
||
|
}
|
||
|
|
||
|
this.EnsureContextExchangeMechanismCompatibleWithScheme(context);
|
||
|
|
||
|
return new ContextChannelListener<TChannel>(context, this.ContextExchangeMechanism);
|
||
|
}
|
||
|
|
||
|
public override bool CanBuildChannelFactory<TChannel>(BindingContext context)
|
||
|
{
|
||
|
if (context == null)
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("context");
|
||
|
}
|
||
|
|
||
|
return (typeof(TChannel) == typeof(IOutputChannel)
|
||
|
|| typeof(TChannel) == typeof(IOutputSessionChannel)
|
||
|
|| typeof(TChannel) == typeof(IRequestChannel)
|
||
|
|| typeof(TChannel) == typeof(IRequestSessionChannel)
|
||
|
|| (typeof(TChannel) == typeof(IDuplexSessionChannel) && this.ContextExchangeMechanism != ContextExchangeMechanism.HttpCookie))
|
||
|
&& context.CanBuildInnerChannelFactory<TChannel>();
|
||
|
}
|
||
|
|
||
|
public override bool CanBuildChannelListener<TChannel>(BindingContext context)
|
||
|
{
|
||
|
if (context == null)
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("context");
|
||
|
}
|
||
|
|
||
|
return ((typeof(TChannel) == typeof(IInputChannel)
|
||
|
|| typeof(TChannel) == typeof(IInputSessionChannel)
|
||
|
|| typeof(TChannel) == typeof(IReplyChannel)
|
||
|
|| typeof(TChannel) == typeof(IReplySessionChannel)
|
||
|
|| (typeof(TChannel) == typeof(IDuplexSessionChannel) && this.ContextExchangeMechanism != ContextExchangeMechanism.HttpCookie))
|
||
|
&& context.CanBuildInnerChannelListener<TChannel>());
|
||
|
}
|
||
|
|
||
|
public override BindingElement Clone()
|
||
|
{
|
||
|
return new ContextBindingElement(this);
|
||
|
}
|
||
|
|
||
|
public virtual void ExportPolicy(MetadataExporter exporter, PolicyConversionContext context)
|
||
|
{
|
||
|
if (context == null)
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("context");
|
||
|
}
|
||
|
|
||
|
ContextBindingElementPolicy.ExportRequireContextAssertion(this, context.GetBindingAssertions());
|
||
|
}
|
||
|
|
||
|
public override T GetProperty<T>(BindingContext context)
|
||
|
{
|
||
|
if (context == null)
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("context");
|
||
|
}
|
||
|
|
||
|
if (typeof(T) == typeof(ChannelProtectionRequirements) && this.ProtectionLevel != ProtectionLevel.None)
|
||
|
{
|
||
|
ChannelProtectionRequirements innerRequirements = context.GetInnerProperty<ChannelProtectionRequirements>();
|
||
|
if (innerRequirements == null)
|
||
|
{
|
||
|
return (T)(object)ContextMessageHeader.GetChannelProtectionRequirements(this.ProtectionLevel);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
ChannelProtectionRequirements requirements = new ChannelProtectionRequirements(innerRequirements);
|
||
|
requirements.Add(ContextMessageHeader.GetChannelProtectionRequirements(this.ProtectionLevel));
|
||
|
return (T)(object)requirements;
|
||
|
}
|
||
|
}
|
||
|
else if (typeof(T) == typeof(IContextSessionProvider))
|
||
|
{
|
||
|
return (T)(object)this;
|
||
|
}
|
||
|
else if (typeof(T) == typeof(IContextBindingElement))
|
||
|
{
|
||
|
return (T)(object)this;
|
||
|
}
|
||
|
else if (typeof(T) == typeof(ICorrelationDataSource))
|
||
|
{
|
||
|
ICorrelationDataSource correlationData = instanceCorrelationData;
|
||
|
|
||
|
if (correlationData == null)
|
||
|
{
|
||
|
ICorrelationDataSource innerCorrelationData = context.GetInnerProperty<ICorrelationDataSource>();
|
||
|
correlationData = CorrelationDataSourceHelper.Combine(innerCorrelationData, ContextExchangeCorrelationDataDescription.DataSource);
|
||
|
instanceCorrelationData = correlationData;
|
||
|
}
|
||
|
|
||
|
return (T)(object)correlationData;
|
||
|
}
|
||
|
|
||
|
return context.GetInnerProperty<T>();
|
||
|
}
|
||
|
|
||
|
internal override bool IsMatch(BindingElement b)
|
||
|
{
|
||
|
if (b == null)
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
ContextBindingElement other = b as ContextBindingElement;
|
||
|
if (other == null)
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
if (this.ClientCallbackAddress != other.ClientCallbackAddress)
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
if (this.ContextExchangeMechanism != other.ContextExchangeMechanism)
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
if (this.ContextManagementEnabled != other.ContextManagementEnabled)
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
if (this.ProtectionLevel != other.protectionLevel)
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
void IWmiInstanceProvider.FillInstance(IWmiInstance wmiInstance)
|
||
|
{
|
||
|
wmiInstance.SetProperty("ProtectionLevel", this.protectionLevel.ToString());
|
||
|
wmiInstance.SetProperty("ContextExchangeMechanism", this.contextExchangeMechanism.ToString());
|
||
|
wmiInstance.SetProperty("ContextManagementEnabled", this.contextManagementEnabled);
|
||
|
}
|
||
|
|
||
|
string IWmiInstanceProvider.GetInstanceType()
|
||
|
{
|
||
|
return "ContextBindingElement";
|
||
|
}
|
||
|
|
||
|
internal static void ValidateContextBindingElementOnAllEndpointsWithSessionfulContract(ServiceDescription description, IServiceBehavior callingBehavior)
|
||
|
{
|
||
|
if (description == null)
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("description");
|
||
|
}
|
||
|
if (callingBehavior == null)
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("callingBehavior");
|
||
|
}
|
||
|
|
||
|
BindingParameterCollection bpc = new BindingParameterCollection();
|
||
|
foreach (ServiceEndpoint endpoint in description.Endpoints)
|
||
|
{
|
||
|
if (endpoint.Binding != null
|
||
|
&& endpoint.Contract != null
|
||
|
&& !endpoint.InternalIsSystemEndpoint(description)
|
||
|
&& endpoint.Contract.SessionMode != SessionMode.NotAllowed)
|
||
|
{
|
||
|
if (endpoint.Binding.GetProperty<IContextBindingElement>(bpc) == null)
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
|
||
|
new InvalidOperationException(SR.GetString(
|
||
|
SR.BehaviorRequiresContextProtocolSupportInBinding,
|
||
|
callingBehavior.GetType().Name, endpoint.Name, endpoint.ListenUri.ToString())));
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
void EnsureContextExchangeMechanismCompatibleWithScheme(BindingContext context)
|
||
|
{
|
||
|
if (context.Binding != null
|
||
|
&& this.contextExchangeMechanism == ContextExchangeMechanism.HttpCookie
|
||
|
&& !"http".Equals(context.Binding.Scheme, StringComparison.OrdinalIgnoreCase)
|
||
|
&& !"https".Equals(context.Binding.Scheme, StringComparison.OrdinalIgnoreCase))
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
|
||
|
new InvalidOperationException(
|
||
|
SR.GetString(
|
||
|
SR.HttpCookieContextExchangeMechanismNotCompatibleWithTransportType,
|
||
|
context.Binding.Scheme, context.Binding.Namespace, context.Binding.Name)));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
void EnsureContextExchangeMechanismCompatibleWithTransportCookieSetting(BindingContext context)
|
||
|
{
|
||
|
if (context.Binding != null && this.contextExchangeMechanism == ContextExchangeMechanism.HttpCookie)
|
||
|
{
|
||
|
foreach (BindingElement bindingElement in context.Binding.Elements)
|
||
|
{
|
||
|
HttpTransportBindingElement http = bindingElement as HttpTransportBindingElement;
|
||
|
if (http != null && http.AllowCookies)
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
|
||
|
new InvalidOperationException(
|
||
|
SR.GetString(
|
||
|
SR.HttpCookieContextExchangeMechanismNotCompatibleWithTransportCookieSetting,
|
||
|
context.Binding.Namespace, context.Binding.Name)));
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class ContextExchangeCorrelationDataDescription : CorrelationDataDescription
|
||
|
{
|
||
|
static CorrelationDataSourceHelper cachedCorrelationDataSource;
|
||
|
|
||
|
ContextExchangeCorrelationDataDescription()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public static ICorrelationDataSource DataSource
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
if (cachedCorrelationDataSource == null)
|
||
|
{
|
||
|
cachedCorrelationDataSource = new CorrelationDataSourceHelper(
|
||
|
new CorrelationDataDescription[] { new ContextExchangeCorrelationDataDescription() });
|
||
|
}
|
||
|
|
||
|
return cachedCorrelationDataSource;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public override bool IsOptional
|
||
|
{
|
||
|
get { return true; }
|
||
|
}
|
||
|
|
||
|
public override bool IsDefault
|
||
|
{
|
||
|
get { return true; }
|
||
|
}
|
||
|
|
||
|
public override bool KnownBeforeSend
|
||
|
{
|
||
|
get { return true; }
|
||
|
}
|
||
|
|
||
|
public override string Name
|
||
|
{
|
||
|
get { return ContextExchangeCorrelationHelper.CorrelationName; }
|
||
|
}
|
||
|
|
||
|
public override bool ReceiveValue
|
||
|
{
|
||
|
get { return true; }
|
||
|
}
|
||
|
|
||
|
public override bool SendValue
|
||
|
{
|
||
|
get { return true; }
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|