You've already forked linux-packaging-mono
acceptance-tests
data
debian
docs
external
ikvm-native
libgc
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.Private.CoreLib
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
ComIntegration
Configuration
AddressHeaderCollectionElement.cs
AllowedAudienceUriElement.cs
AllowedAudienceUriElementCollection.cs
ApplicationContainerSettingsElement.cs
AuthenticationMode.cs
AuthenticationModeHelper.cs
AuthorizationPolicyTypeElement.cs
AuthorizationPolicyTypeElementCollection.cs
BaseAddressElement.cs
BaseAddressElementCollection.cs
BaseAddressPrefixFilterElement.cs
BaseAddressPrefixFilterElementCollection.cs
BasicHttpBindingCollectionElement.cs
BasicHttpBindingElement.cs
BasicHttpContextBindingCollectionElement.cs
BasicHttpContextBindingElement.cs
BasicHttpMessageSecurityElement.cs
BasicHttpSecurityElement.cs
BasicHttpsBindingCollectionElement.cs
BasicHttpsBindingElement.cs
BasicHttpsSecurityElement.cs
BehaviorExtensionElement.cs
BehaviorsSection.cs
BinaryMessageEncodingElement.cs
BindingCollectionElement.cs
BindingElementExtensionElement.cs
BindingsSection.cs
CallbackDebugElement.cs
CallbackTimeoutsElement.cs
CertificateElement.cs
CertificateReferenceElement.cs
ChannelEndpointElement.cs
ChannelEndpointElementCollection.cs
ChannelPoolSettingsElement.cs
ClaimTypeElement.cs
ClaimTypeElementCollection.cs
ClearBehaviorElement.cs
ClientCredentialsElement.cs
ClientSection.cs
ClientViaElement.cs
ComContractElement.cs
ComContractElementCollection.cs
ComMethodElement.cs
ComMethodElementCollection.cs
ComPersistableTypeElement.cs
ComPersistableTypeElementCollection.cs
ComUdtElement.cs
ComUdtElementCollection.cs
CommonBehaviorsSection.cs
CommonEndpointBehaviorElement.cs
CommonServiceBehaviorElement.cs
CompositeDuplexElement.cs
ConfigurationChannelFactory.cs
ConfigurationDuplexChannelFactory.cs
ConfigurationHelpers.cs
ConfigurationStrings.cs
ConnectionOrientedTransportElement.cs
ContextBindingElementExtensionElement.cs
CustomBindingCollectionElement.cs
CustomBindingElement.cs
CustomBindingElementCollection.cs
DataContractSerializerElement.cs
DefaultPortElement.cs
DefaultPortElementCollection.cs
DelegatingHandlerElement.cs
DelegatingHandlerElementCollection.cs
DiagnosticSection.cs
DispatcherSynchronizationElement.cs
DnsElement.cs
EncodingConverter.cs
EndToEndTracingElement.cs
EndpointAddressElementBase.cs
EndpointBehaviorElement.cs
EndpointBehaviorElementCollection.cs
EndpointCollectionElement.cs
ExtensionElement.cs
ExtensionElementCollection.cs
ExtensionsSection.cs
FederatedMessageSecurityOverHttpElement.cs
HostElement.cs
HostTimeoutsElement.cs
HttpBindingBaseElement.cs
HttpDigestClientElement.cs
HttpMessageHandlerFactoryElement.cs
HttpMessageHandlerFactoryValidator.cs
HttpMessageHandlerFactoryValidatorAttribute.cs
HttpTransportElement.cs
HttpTransportSecurityElement.cs
HttpsTransportElement.cs
IBindingConfigurationElement.cs
IdentityElement.cs
IssuedTokenClientBehaviorsElement.cs
IssuedTokenClientBehaviorsElementCollection.cs
IssuedTokenClientElement.cs
IssuedTokenParametersElement.cs
IssuedTokenParametersEndpointAddressElement.cs
IssuedTokenServiceElement.cs
LocalClientSecuritySettingsElement.cs
LocalServiceSecuritySettingsElement.cs
MessageLoggingElement.cs
MessageSecurityOverHttpElement.cs
MessageSecurityOverMsmqElement.cs
MessageSecurityOverTcpElement.cs
MessageSecurityVersionConverter.cs
MessageVersionConverter.cs
MetadataElement.cs
MexBindingBindingCollectionElement.cs
MexBindingElement.cs
MexHttpBindingCollectionElement.cs
MexHttpBindingElement.cs
MexHttpsBindingCollectionElement.cs
MexHttpsBindingElement.cs
MexNamedPipeBindingCollectionElement.cs
MexNamedPipeBindingElement.cs
MexTcpBindingCollectionElement.cs
MexTcpBindingElement.cs
MsmqBindingElementBase.cs
MsmqElementBase.cs
MsmqIntegrationBindingCollectionElement.cs
MsmqIntegrationBindingElement.cs
MsmqIntegrationElement.cs
MsmqIntegrationSecurityElement.cs
MsmqTransportElement.cs
MsmqTransportSecurityElement.cs
MtomMessageEncodingElement.cs
NamedPipeConnectionPoolSettingsElement.cs
NamedPipeSettingsElement.cs
NamedPipeTransportElement.cs
NamedPipeTransportSecurityElement.cs
NamedServiceModelExtensionCollectionElement.cs
NetHttpBindingCollectionElement.cs
NetHttpBindingElement.cs
NetHttpWebSocketTransportSettingsElement.cs
NetHttpsBindingCollectionElement.cs
NetHttpsBindingElement.cs
NetMsmqBindingCollectionElement.cs
NetMsmqBindingElement.cs
NetMsmqSecurityElement.cs
NetNamedPipeBindingCollectionElement.cs
NetNamedPipeBindingElement.cs
NetNamedPipeSecurityElement.cs
NetPeerTcpBindingCollectionElement.cs
NetPeerTcpBindingElement.cs
NetTcpBindingCollectionElement.cs
NetTcpBindingElement.cs
NetTcpContextBindingCollectionElement.cs
NetTcpContextBindingElement.cs
NetTcpSecurityElement.cs
NonDualMessageSecurityOverHttpElement.cs
OneWayElement.cs
PeerCredentialElement.cs
PeerCustomResolverElement.cs
PeerResolverElement.cs
PeerSecurityElement.cs
PeerTransportElement.cs
PeerTransportListenAddressConverter.cs
PeerTransportListenAddressValidator.cs
PeerTransportListenAddressValidatorAttribute.cs
PeerTransportSecurityElement.cs
PnrpPeerResolverElement.cs
PolicyImporterElement.cs
PolicyImporterElementCollection.cs
PolicyVersionConverter.cs
PrivacyNoticeElement.cs
Properties.cs.REMOVED.git-id
ProtocolMappingElement.cs
ProtocolMappingElementCollection.cs
ProtocolMappingSection.cs
ReliableMessagingVersionConverter.cs
ReliableSessionElement.cs
RemoveBehaviorElement.cs
RsaElement.cs
SecureConversationServiceElement.cs
SecurityAlgorithmSuiteConverter.cs
SecurityElement.cs
SecurityElementBase.cs
ServiceActivationElement.cs
ServiceActivationElementCollection.cs
ServiceAuthenticationElement.cs
ServiceAuthorizationElement.cs
ServiceBehaviorElement.cs
ServiceBehaviorElementCollection.cs
ServiceCredentialsElement.cs
ServiceDebugElement.cs
ServiceElement.cs
ServiceElementCollection.cs
ServiceEndpointElement.cs
ServiceEndpointElementCollection.cs
ServiceHostingEnvironmentSection.cs
ServiceMetadataEndpointCollectionElement.cs
ServiceMetadataEndpointElement.cs
ServiceMetadataPublishingElement.cs
ServiceModelConfigurationElement.cs
ServiceModelConfigurationElementCollection.cs
ServiceModelEnhancedConfigurationElementCollection.cs
ServiceModelEnumValidator.cs
ServiceModelEnumValidatorAttribute.cs
ServiceModelExtensionCollectionElement.cs
ServiceModelExtensionElement.cs
ServiceModelSectionGroup.cs
ServiceModelTimeSpanValidator.cs
ServicePrincipalNameElement.cs
ServiceSecurityAuditElement.cs
ServiceThrottlingElement.cs
ServiceTimeoutsElement.cs
ServicesSection.cs
SessionIdTypeConverter.cs
SslStreamSecurityElement.cs
StandardBindingCollectionElement.cs
StandardBindingElement.cs
StandardBindingElementCollection.cs
StandardBindingOptionalReliableSessionElement.cs
StandardBindingReliableSessionElement.cs
StandardEndpointCollectionElement.cs
StandardEndpointElement.cs
StandardEndpointElementCollection.cs
StandardEndpointsSection.cs
StandardRuntimeEnumValidator.cs
StandardRuntimeEnumValidatorAttribute.cs
StandardRuntimeFlagEnumValidator.cs
StandardRuntimeFlagEnumValidatorAttribute.cs
SynchronousReceiveElement.cs
TcpConnectionPoolSettingsElement.cs
TcpTransportElement.cs
TcpTransportSecurityElement.cs
TextMessageEncodingElement.cs
TimeSpanOrInfiniteConverter.cs
TimeSpanOrInfiniteValidator.cs
TransactedBatchingElement.cs
TransactionFlowElement.cs
TransactionProtocolConverter.cs
TransportConfigurationTypeElement.cs
TransportConfigurationTypeElementCollection.cs
TransportElement.cs
UnrecognizedPolicyAssertionElement.cs
UseManagedPresentationElement.cs
UseRequestHeadersForMetadataAddressElement.cs
UserNameServiceElement.cs
UserPrincipalNameElement.cs
WS2007FederationHttpBindingCollectionElement.cs
WS2007FederationHttpBindingElement.cs
WS2007HttpBindingCollectionElement.cs
WS2007HttpBindingElement.cs
WSDualHttpBindingCollectionElement.cs
WSDualHttpBindingElement.cs
WSDualHttpSecurityElement.cs
WSFederationHttpBindingCollectionElement.cs
WSFederationHttpBindingElement.cs
WSFederationHttpSecurityElement.cs
WSHttpBindingBaseElement.cs
WSHttpBindingCollectionElement.cs
WSHttpBindingElement.cs
WSHttpContextBindingCollectionElement.cs
WSHttpContextBindingElement.cs
WSHttpSecurityElement.cs
WSHttpTransportSecurityElement.cs
WebSocketTransportSettingsElement.cs
WindowsClientElement.cs
WindowsServiceElement.cs
WindowsStreamSecurityElement.cs
WsdlImporterElement.cs
WsdlImporterElementCollection.cs
X509CertificateTrustedIssuerElement.cs
X509CertificateTrustedIssuerElementCollection.cs
X509ClientCertificateAuthenticationElement.cs
X509ClientCertificateCredentialsElement.cs
X509DefaultServiceCertificateElement.cs
X509InitiatorCertificateClientElement.cs
X509InitiatorCertificateServiceElement.cs
X509PeerCertificateAuthenticationElement.cs
X509PeerCertificateElement.cs
X509RecipientCertificateClientElement.cs
X509RecipientCertificateServiceElement.cs
X509ScopedServiceCertificateElement.cs
X509ScopedServiceCertificateElementCollection.cs
X509ServiceCertificateAuthenticationElement.cs
XPathMessageFilterElement.cs
XPathMessageFilterElementCollection.cs
XPathMessageFilterElementComparer.cs
XmlDictionaryReaderQuotasElement.cs
XmlElementElement.cs
XmlElementElementCollection.cs
comcontractssection.cs
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
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
266 lines
12 KiB
C#
266 lines
12 KiB
C#
![]() |
//------------------------------------------------------------------------------
|
||
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
//------------------------------------------------------------------------------
|
||
|
|
||
|
namespace System.ServiceModel.Configuration
|
||
|
{
|
||
|
using System.Collections.Generic;
|
||
|
using System.Configuration;
|
||
|
using System.Reflection;
|
||
|
using System.Runtime;
|
||
|
using System.Security;
|
||
|
using System.ServiceModel;
|
||
|
using System.ServiceModel.Description;
|
||
|
using System.Xml;
|
||
|
using System.Runtime.Diagnostics;
|
||
|
|
||
|
public sealed partial class StandardEndpointsSection : ConfigurationSection, IConfigurationContextProviderInternal
|
||
|
{
|
||
|
static Configuration configuration;
|
||
|
ConfigurationPropertyCollection properties;
|
||
|
|
||
|
public StandardEndpointsSection() { }
|
||
|
|
||
|
Dictionary<string, EndpointCollectionElement> EndpointCollectionElements
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
Dictionary<string, EndpointCollectionElement> endpointCollectionElements = new Dictionary<string, EndpointCollectionElement>();
|
||
|
|
||
|
foreach (ConfigurationProperty property in this.Properties)
|
||
|
{
|
||
|
endpointCollectionElements.Add(property.Name, this[property.Name]);
|
||
|
}
|
||
|
|
||
|
return endpointCollectionElements;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
new public EndpointCollectionElement this[string endpoint]
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return (EndpointCollectionElement)base[endpoint];
|
||
|
}
|
||
|
}
|
||
|
|
||
|
protected override ConfigurationPropertyCollection Properties
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
if (this.properties == null)
|
||
|
{
|
||
|
this.properties = new ConfigurationPropertyCollection();
|
||
|
}
|
||
|
|
||
|
this.UpdateEndpointSections();
|
||
|
return this.properties;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
[ConfigurationProperty(ConfigurationStrings.MexStandardEndpointCollectionElementName, Options = ConfigurationPropertyOptions.None)]
|
||
|
public ServiceMetadataEndpointCollectionElement MexEndpoint
|
||
|
{
|
||
|
get { return (ServiceMetadataEndpointCollectionElement)base[ConfigurationStrings.MexStandardEndpointCollectionElementName]; }
|
||
|
}
|
||
|
|
||
|
// This property should only be called/set from EndpointsSectionGroup TryAdd
|
||
|
static Configuration Configuration
|
||
|
{
|
||
|
get { return StandardEndpointsSection.configuration; }
|
||
|
set { StandardEndpointsSection.configuration = value; }
|
||
|
}
|
||
|
|
||
|
public static StandardEndpointsSection GetSection(Configuration config)
|
||
|
{
|
||
|
if (config == null)
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("config");
|
||
|
}
|
||
|
|
||
|
return (StandardEndpointsSection)config.GetSection(ConfigurationStrings.StandardEndpointsSectionPath);
|
||
|
}
|
||
|
|
||
|
public List<EndpointCollectionElement> EndpointCollections
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
List<EndpointCollectionElement> endpointCollections = new List<EndpointCollectionElement>();
|
||
|
foreach (ConfigurationProperty property in this.Properties)
|
||
|
{
|
||
|
endpointCollections.Add(this[property.Name]);
|
||
|
}
|
||
|
|
||
|
return endpointCollections;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
internal static bool TryAdd(string name, ServiceEndpoint endpoint, Configuration config, out string endpointSectionName)
|
||
|
{
|
||
|
bool retval = false;
|
||
|
StandardEndpointsSection.Configuration = config;
|
||
|
try
|
||
|
{
|
||
|
retval = StandardEndpointsSection.TryAdd(name, endpoint, out endpointSectionName);
|
||
|
}
|
||
|
finally
|
||
|
{
|
||
|
StandardEndpointsSection.Configuration = null;
|
||
|
}
|
||
|
return retval;
|
||
|
}
|
||
|
|
||
|
protected override bool OnDeserializeUnrecognizedElement(string elementName, XmlReader reader)
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
|
||
|
new ConfigurationErrorsException(SR.GetString(SR.ConfigEndpointExtensionNotFound,
|
||
|
ConfigurationHelpers.GetEndpointsSectionPath(elementName))));
|
||
|
}
|
||
|
|
||
|
internal static bool TryAdd(string name, ServiceEndpoint endpoint, out string endpointSectionName)
|
||
|
{
|
||
|
// TryAdd built on assumption that StandardEndpointsSectionGroup.Configuration is valid.
|
||
|
// This should be protected at the callers site. If assumption is invalid, then
|
||
|
// configuration system is in an indeterminate state. Need to stop in a manner that
|
||
|
// user code can not capture.
|
||
|
if (null == StandardEndpointsSection.Configuration)
|
||
|
{
|
||
|
Fx.Assert("The TryAdd(string name, ServiceEndpoint endpoint, Configuration config, out string endpointSectionName) variant of this function should always be called first. The Configuration object is not set.");
|
||
|
DiagnosticUtility.FailFast("The TryAdd(string name, ServiceEndpoint endpoint, Configuration config, out string endpointSectionName) variant of this function should always be called first. The Configuration object is not set.");
|
||
|
}
|
||
|
|
||
|
bool retval = false;
|
||
|
string outEndpointSectionName = null;
|
||
|
StandardEndpointsSection sectionGroup = StandardEndpointsSection.GetSection(StandardEndpointsSection.Configuration);
|
||
|
sectionGroup.UpdateEndpointSections();
|
||
|
foreach (string sectionName in sectionGroup.EndpointCollectionElements.Keys)
|
||
|
{
|
||
|
EndpointCollectionElement endpointCollectionElement = sectionGroup.EndpointCollectionElements[sectionName];
|
||
|
|
||
|
MethodInfo tryAddMethod = endpointCollectionElement.GetType().GetMethod("TryAdd", BindingFlags.Instance | BindingFlags.NonPublic);
|
||
|
if (tryAddMethod != null)
|
||
|
{
|
||
|
retval = (bool)tryAddMethod.Invoke(endpointCollectionElement, new object[] { name, endpoint, StandardEndpointsSection.Configuration });
|
||
|
if (retval)
|
||
|
{
|
||
|
outEndpointSectionName = sectionName;
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// This little oddity exists to make sure that the out param is assigned to before the method
|
||
|
// exits.
|
||
|
endpointSectionName = outEndpointSectionName;
|
||
|
return retval;
|
||
|
}
|
||
|
|
||
|
void UpdateEndpointSections()
|
||
|
{
|
||
|
UpdateEndpointSections(ConfigurationHelpers.GetEvaluationContext(this));
|
||
|
}
|
||
|
|
||
|
[Fx.Tag.SecurityNote(Critical = "Calls SecurityCritical methods UnsafeLookupCollection which elevates in order to load config.",
|
||
|
Safe = "Does not leak any config objects.")]
|
||
|
[SecuritySafeCritical]
|
||
|
internal void UpdateEndpointSections(ContextInformation evaluationContext)
|
||
|
{
|
||
|
ExtensionElementCollection endpointExtensions = ExtensionsSection.UnsafeLookupCollection(ConfigurationStrings.EndpointExtensions, evaluationContext);
|
||
|
|
||
|
// Extension collections are additive only (BasicMap) and do not allow for <clear>
|
||
|
// or <remove> tags, nor do they allow for overriding an entry. This allows us
|
||
|
// to optimize this to only walk the binding extension collection if the counts
|
||
|
// mismatch.
|
||
|
if (endpointExtensions.Count != this.properties.Count)
|
||
|
{
|
||
|
foreach (ExtensionElement endpointExtension in endpointExtensions)
|
||
|
{
|
||
|
if (null != endpointExtension)
|
||
|
{
|
||
|
if (!this.properties.Contains(endpointExtension.Name))
|
||
|
{
|
||
|
Type extensionType = Type.GetType(endpointExtension.Type, false);
|
||
|
if (extensionType == null)
|
||
|
{
|
||
|
ConfigurationHelpers.TraceExtensionTypeNotFound(endpointExtension);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
ConfigurationProperty property = new ConfigurationProperty(endpointExtension.Name,
|
||
|
extensionType,
|
||
|
null,
|
||
|
ConfigurationPropertyOptions.None);
|
||
|
|
||
|
this.properties.Add(property);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
[Fx.Tag.SecurityNote(Critical = "Calls SecurityCritical methods UnsafeGetAssociatedBindingCollectionElement which elevates in order to load config.",
|
||
|
Safe = "Does not leak any config objects.")]
|
||
|
[SecuritySafeCritical]
|
||
|
internal static void ValidateEndpointReference(string endpoint, string endpointConfiguration, ContextInformation evaluationContext, ConfigurationElement configurationElement)
|
||
|
{
|
||
|
// ValidateEndpointReference built on assumption that evaluationContext is valid.
|
||
|
// This should be protected at the callers site. If assumption is invalid, then
|
||
|
// configuration system is in an indeterminate state. Need to stop in a manner that
|
||
|
// user code can not capture.
|
||
|
if (null == evaluationContext)
|
||
|
{
|
||
|
Fx.Assert("ValidateEndpointReference() should only called with valid ContextInformation");
|
||
|
DiagnosticUtility.FailFast("ValidateEndpointReference() should only called with valid ContextInformation");
|
||
|
}
|
||
|
|
||
|
if (!String.IsNullOrEmpty(endpoint))
|
||
|
{
|
||
|
EndpointCollectionElement endpointCollectionElement = null;
|
||
|
|
||
|
if (null != evaluationContext)
|
||
|
{
|
||
|
endpointCollectionElement = ConfigurationHelpers.UnsafeGetAssociatedEndpointCollectionElement(evaluationContext, endpoint);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
endpointCollectionElement = ConfigurationHelpers.UnsafeGetEndpointCollectionElement(endpoint);
|
||
|
}
|
||
|
|
||
|
if (endpointCollectionElement == null)
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ConfigurationErrorsException(SR.GetString(SR.ConfigInvalidSection,
|
||
|
ConfigurationHelpers.GetEndpointsSectionPath(endpoint)),
|
||
|
configurationElement.ElementInformation.Source,
|
||
|
configurationElement.ElementInformation.LineNumber));
|
||
|
}
|
||
|
|
||
|
if (!String.IsNullOrEmpty(endpointConfiguration))
|
||
|
{
|
||
|
if (!endpointCollectionElement.ContainsKey(endpointConfiguration))
|
||
|
{
|
||
|
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ConfigurationErrorsException(SR.GetString(SR.ConfigInvalidEndpointName,
|
||
|
endpointConfiguration,
|
||
|
ConfigurationHelpers.GetEndpointsSectionPath(endpoint),
|
||
|
ConfigurationStrings.EndpointConfiguration),
|
||
|
configurationElement.ElementInformation.Source,
|
||
|
configurationElement.ElementInformation.LineNumber));
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
ContextInformation IConfigurationContextProviderInternal.GetEvaluationContext()
|
||
|
{
|
||
|
return this.EvaluationContext;
|
||
|
}
|
||
|
|
||
|
[Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview -- the return value will be used for a security decision -- see comment in interface definition.")]
|
||
|
ContextInformation IConfigurationContextProviderInternal.GetOriginalEvaluationContext()
|
||
|
{
|
||
|
Fx.Assert("Not implemented: IConfigurationContextProviderInternal.GetOriginalEvaluationContext");
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
}
|