Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / Serialization / System / Runtime / Serialization / ContractCodeDomInfo.cs / 1 / ContractCodeDomInfo.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.Serialization { using System; using System.Xml; using System.Xml.Schema; using System.CodeDom; using System.Collections.Generic; internal class ContractCodeDomInfo { internal bool IsProcessed; internal CodeTypeDeclaration TypeDeclaration; internal CodeTypeReference TypeReference; internal CodeNamespace CodeNamespace; internal bool ReferencedTypeExists; internal bool UsesWildcardNamespace; string clrNamespace; DictionarymemberNames; internal string ClrNamespace { get { return (ReferencedTypeExists ? null : clrNamespace); } set { if (ReferencedTypeExists) throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotSetNamespaceForReferencedType, TypeReference.BaseType))); else clrNamespace = value; } } internal Dictionary GetMemberNames() { if (ReferencedTypeExists) throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotSetMembersForReferencedType, TypeReference.BaseType))); else { if (memberNames == null) { memberNames = new Dictionary (StringComparer.OrdinalIgnoreCase); } return memberNames; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SchemaImporterExtensionsSection.cs
- HtmlWindowCollection.cs
- SoapMessage.cs
- cookie.cs
- ElementNotEnabledException.cs
- ScrollChangedEventArgs.cs
- SiteMapPathDesigner.cs
- ProfilePropertyNameValidator.cs
- SrgsToken.cs
- ClientRolePrincipal.cs
- TemplateContentLoader.cs
- ServiceModelConfigurationElementCollection.cs
- SafeBitVector32.cs
- AnimationClockResource.cs
- WriteTimeStream.cs
- FixedFindEngine.cs
- SourceFileBuildProvider.cs
- UserPreferenceChangingEventArgs.cs
- AssemblyAttributes.cs
- PenThreadWorker.cs
- XPathExpr.cs
- BamlTreeMap.cs
- BindingNavigator.cs
- SimpleHandlerBuildProvider.cs
- Point4DConverter.cs
- DeploymentSectionCache.cs
- ExceptionTrace.cs
- HtmlInputRadioButton.cs
- Attributes.cs
- UnaryOperationBinder.cs
- PropertyGrid.cs
- OrderedDictionary.cs
- UnsafeNativeMethodsPenimc.cs
- HttpBrowserCapabilitiesWrapper.cs
- KeysConverter.cs
- SqlWorkflowInstanceStore.cs
- dataSvcMapFileLoader.cs
- KeyFrames.cs
- ColumnBinding.cs
- CoreSwitches.cs
- EventLogger.cs
- StretchValidation.cs
- ParameterModifier.cs
- ContainerActivationHelper.cs
- HttpChannelHelper.cs
- VersionedStreamOwner.cs
- ForwardPositionQuery.cs
- DataShape.cs
- ProxyWebPart.cs
- StreamingContext.cs
- IPEndPoint.cs
- BindingContext.cs
- GroupBoxAutomationPeer.cs
- SchemaElementDecl.cs
- EntryIndex.cs
- Bezier.cs
- WebBrowserDocumentCompletedEventHandler.cs
- LicenseContext.cs
- MapPathBasedVirtualPathProvider.cs
- SecurityTokenResolver.cs
- HtmlControl.cs
- DataKeyArray.cs
- PageMediaType.cs
- smtpconnection.cs
- CatalogZoneBase.cs
- ToolStripHighContrastRenderer.cs
- MyContact.cs
- SettingsProviderCollection.cs
- UnmanagedMarshal.cs
- ToolStripRenderer.cs
- XmlSchemaChoice.cs
- PictureBoxDesigner.cs
- InputLangChangeEvent.cs
- EntityContainerEmitter.cs
- _ShellExpression.cs
- ObfuscateAssemblyAttribute.cs
- UTF8Encoding.cs
- KeyNotFoundException.cs
- BamlLocalizableResourceKey.cs
- WebHttpDispatchOperationSelector.cs
- HttpModulesSection.cs
- ColorTranslator.cs
- Keywords.cs
- NextPreviousPagerField.cs
- AdornerPresentationContext.cs
- XmlWrappingWriter.cs
- KeyTimeConverter.cs
- _IPv4Address.cs
- PieceNameHelper.cs
- CodeStatement.cs
- NullableFloatMinMaxAggregationOperator.cs
- ObjectSecurity.cs
- ProxyWebPartConnectionCollection.cs
- userdatakeys.cs
- XmlSerializerNamespaces.cs
- DataTableTypeConverter.cs
- DateTimeConverter.cs
- DataViewManager.cs
- WindowsSysHeader.cs
- NullableFloatAverageAggregationOperator.cs