Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / Serialization / System / Runtime / Serialization / ContractCodeDomInfo.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DynamicDocumentPaginator.cs
- FigureParaClient.cs
- TypedTableGenerator.cs
- SafeFileHandle.cs
- Win32.cs
- IgnoreSection.cs
- AudioSignalProblemOccurredEventArgs.cs
- DecimalFormatter.cs
- WindowsFont.cs
- ContentControl.cs
- PenLineJoinValidation.cs
- Label.cs
- XPathBinder.cs
- DataTransferEventArgs.cs
- TypeSystemProvider.cs
- ReflectionUtil.cs
- Hex.cs
- DropShadowEffect.cs
- FixedSOMFixedBlock.cs
- WebPartChrome.cs
- SamlDelegatingWriter.cs
- EmptyQuery.cs
- MailSettingsSection.cs
- AnnouncementDispatcherAsyncResult.cs
- XAMLParseException.cs
- TextModifierScope.cs
- RectangleConverter.cs
- SyndicationLink.cs
- ProfileSection.cs
- Selection.cs
- SqlConnectionPoolProviderInfo.cs
- _SSPISessionCache.cs
- CodePropertyReferenceExpression.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- TabControlAutomationPeer.cs
- GlobalDataBindingHandler.cs
- MULTI_QI.cs
- DocumentXmlWriter.cs
- StaticResourceExtension.cs
- DataGridViewCellCancelEventArgs.cs
- PerformanceCounterManager.cs
- ExclusiveCanonicalizationTransform.cs
- EmptyStringExpandableObjectConverter.cs
- SortQuery.cs
- WebSysDefaultValueAttribute.cs
- StatusCommandUI.cs
- ObjectDisposedException.cs
- baseaxisquery.cs
- CompilationRelaxations.cs
- TransmissionStrategy.cs
- XmlArrayItemAttribute.cs
- XmlArrayItemAttributes.cs
- Asn1IntegerConverter.cs
- CheckBoxList.cs
- QilReplaceVisitor.cs
- SqlCacheDependency.cs
- StylusPoint.cs
- TablePattern.cs
- DBDataPermissionAttribute.cs
- DbParameterCollection.cs
- ManagementOptions.cs
- WebPageTraceListener.cs
- DistributedTransactionPermission.cs
- TypedReference.cs
- OutArgument.cs
- ConstraintConverter.cs
- FixedFlowMap.cs
- TableProviderWrapper.cs
- SecurityTokenProvider.cs
- TreeNode.cs
- Geometry.cs
- DataSourceBooleanViewSchemaConverter.cs
- SoapEnumAttribute.cs
- SqlClientPermission.cs
- TraceXPathNavigator.cs
- TraceContextRecord.cs
- Internal.cs
- XPathArrayIterator.cs
- TableCell.cs
- StringValidatorAttribute.cs
- TreeViewHitTestInfo.cs
- XmlILIndex.cs
- BinaryParser.cs
- DefaultMemberAttribute.cs
- Int32CAMarshaler.cs
- RefExpr.cs
- SafeRightsManagementPubHandle.cs
- _PooledStream.cs
- NamespaceQuery.cs
- Memoizer.cs
- C14NUtil.cs
- Geometry3D.cs
- SchemaEntity.cs
- InstanceStore.cs
- EntityDataSourceSelectedEventArgs.cs
- SettingsContext.cs
- AtomParser.cs
- TextRangeEditLists.cs
- SmiGettersStream.cs
- XmlNavigatorStack.cs