217 references to Add
dotnet-svcutil-lib (217)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (8)
391return dictionary.Add(ns); 790this.Name = dictionary.Add(StableName.Name); 791this.Namespace = dictionary.Add(StableName.Namespace); 820Name = dictionary.Add(StableName.Name); 821Namespace = dictionary.Add(StableName.Namespace); 845MemberNames[i + baseMemberCount] = dictionary.Add(Members[i].Name); 859Name = dictionary.Add(StableName.Name); 867MemberNames[i] = dictionary.Add(Members[i].Name);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (3)
654this.Name = dictionary.Add(this.StableName.Name); 655this.Namespace = dictionary.Add(this.StableName.Namespace); 657_collectionItemName = dictionary.Add(_itemName);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (4)
1054s_clrTypeStrings.Add(Globals.TypeOfInt.GetTypeInfo().Assembly.FullName, s_clrTypeStringsDictionary.Add(Globals.MscorlibAssemblyName)); 1068value = s_clrTypeStringsDictionary.Add(key); 1263this.Name = dictionary.Add(stableName.Name); 1264this.Namespace = dictionary.Add(stableName.Namespace);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSerializer.cs (2)
56Initialize(type, dictionary.Add(rootName), dictionary.Add(DataContract.GetNamespace(rootNamespace)), knownTypes, int.MaxValue, false, false, null, false);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DictionaryGlobals.cs (40)
73SchemaInstanceNamespace = dictionary.Add(Globals.SchemaInstanceNamespace); 74SerializationNamespace = dictionary.Add(Globals.SerializationNamespace); 75SchemaNamespace = dictionary.Add(Globals.SchemaNamespace); 76XsiTypeLocalName = dictionary.Add(Globals.XsiTypeLocalName); 77XsiNilLocalName = dictionary.Add(Globals.XsiNilLocalName); 80IdLocalName = dictionary.Add(Globals.IdLocalName); 81RefLocalName = dictionary.Add(Globals.RefLocalName); 82ArraySizeLocalName = dictionary.Add(Globals.ArraySizeLocalName); 83EmptyString = dictionary.Add(String.Empty); 85XmlnsNamespace = dictionary.Add(Globals.XmlnsNamespace); 86CharLocalName = dictionary.Add("char"); 87BooleanLocalName = dictionary.Add("boolean"); 88SignedByteLocalName = dictionary.Add("byte"); 89UnsignedByteLocalName = dictionary.Add("unsignedByte"); 92ShortLocalName = dictionary.Add("short"); 93UnsignedShortLocalName = dictionary.Add("unsignedShort"); 94IntLocalName = dictionary.Add("int"); 95UnsignedIntLocalName = dictionary.Add("unsignedInt"); 96LongLocalName = dictionary.Add("long"); 99UnsignedLongLocalName = dictionary.Add("unsignedLong"); 100FloatLocalName = dictionary.Add("float"); 101DoubleLocalName = dictionary.Add("double"); 102DecimalLocalName = dictionary.Add("decimal"); 103DateTimeLocalName = dictionary.Add("dateTime"); 106StringLocalName = dictionary.Add("string"); 107ByteArrayLocalName = dictionary.Add("base64Binary"); 108ObjectLocalName = dictionary.Add("anyType"); 109TimeSpanLocalName = dictionary.Add("duration"); 110GuidLocalName = dictionary.Add("guid"); 113UriLocalName = dictionary.Add("anyURI"); 114QNameLocalName = dictionary.Add("QName"); 115ClrTypeLocalName = dictionary.Add(Globals.ClrTypeLocalName); 116ClrAssemblyLocalName = dictionary.Add(Globals.ClrAssemblyLocalName); 117Space = dictionary.Add(Globals.Space); 120hexBinaryLocalName = dictionary.Add("hexBinary"); 121IntegerLocalName = dictionary.Add("integer"); 122PositiveIntegerLocalName = dictionary.Add("positiveInteger"); 123NegativeIntegerLocalName = dictionary.Add("negativeInteger"); 124NonPositiveIntegerLocalName = dictionary.Add("nonPositiveInteger"); 127NonNegativeIntegerLocalName = dictionary.Add("nonNegativeInteger");
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumDataContract.cs (3)
200Name = dictionary.Add(StableName.Name); 201Namespace = dictionary.Add(StableName.Namespace); 204_childElementNames[i] = dictionary.Add(Members[i].Name);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (6)
169Name = dictionary.Add(StableName.Name); 170Namespace = dictionary.Add(StableName.Namespace); 190_memberNames[i] = dictionary.Add(Members[i].Name); 363writer.WriteXmlnsAttribute("x", new XmlDictionary(1).Add(Globals.SchemaNamespace)); 379writer.WriteXmlnsAttribute("a", new XmlDictionary(1).Add(propDataContract.StableName.Namespace)); 423writer.WriteXmlnsAttribute("a", new XmlDictionary(1).Add(fieldDataContract.StableName.Namespace));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (2)
1346DataContractSerializer serializer = new DataContractSerializer(Globals.TypeOfObject, dictionary.Add(name), dictionary.Add(DataContract.GetNamespace(ns)), knownTypes,
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlDataContract.cs (6)
246this.Name = dictionary.Add(StableName.Name); 247this.Namespace = dictionary.Add(StableName.Namespace); 264_topLevelElementName = (elementName == null || elementName.Length == 0) ? Name : dictionary.Add(DataContract.EncodeLocalName(elementName)); 266_topLevelElementNamespace = (elementNs == null || elementNs.Length == 0) ? DictionaryGlobals.EmptyString : dictionary.Add(elementNs); 376this.TopLevelElementName = dictionary.Add(elementName.Name); 377this.TopLevelElementNamespace = dictionary.Add(elementName.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (2)
42dictionary.Add(rootName), 43dictionary.Add(rootNs),
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
495dictionaryString = dictionary.Add(s);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (3)
53_xsiNilLocalName = dictionary.Add("nil"); 54_xsiNilNamespace = dictionary.Add(EndpointAddressProcessor.XsiNs); 146dictionaryString = dictionary.Add(s);
FrameworkFork\System.ServiceModel\System\ServiceModel\DXD.cs (137)
91this.Namespace = dictionary.Add(AtomicTransactionExternal11Strings.Namespace); 92this.CompletionUri = dictionary.Add(AtomicTransactionExternal11Strings.CompletionUri); 93this.Durable2PCUri = dictionary.Add(AtomicTransactionExternal11Strings.Durable2PCUri); 94this.Volatile2PCUri = dictionary.Add(AtomicTransactionExternal11Strings.Volatile2PCUri); 95this.CommitAction = dictionary.Add(AtomicTransactionExternal11Strings.CommitAction); 96this.RollbackAction = dictionary.Add(AtomicTransactionExternal11Strings.RollbackAction); 97this.CommittedAction = dictionary.Add(AtomicTransactionExternal11Strings.CommittedAction); 98this.AbortedAction = dictionary.Add(AtomicTransactionExternal11Strings.AbortedAction); 99this.PrepareAction = dictionary.Add(AtomicTransactionExternal11Strings.PrepareAction); 100this.PreparedAction = dictionary.Add(AtomicTransactionExternal11Strings.PreparedAction); 101this.ReadOnlyAction = dictionary.Add(AtomicTransactionExternal11Strings.ReadOnlyAction); 102this.ReplayAction = dictionary.Add(AtomicTransactionExternal11Strings.ReplayAction); 103this.FaultAction = dictionary.Add(AtomicTransactionExternal11Strings.FaultAction); 104this.UnknownTransaction = dictionary.Add(AtomicTransactionExternal11Strings.UnknownTransaction); 121this.Namespace = dictionary.Add(CoordinationExternal11Strings.Namespace); 122this.CreateCoordinationContextAction = dictionary.Add(CoordinationExternal11Strings.CreateCoordinationContextAction); 123this.CreateCoordinationContextResponseAction = dictionary.Add(CoordinationExternal11Strings.CreateCoordinationContextResponseAction); 124this.RegisterAction = dictionary.Add(CoordinationExternal11Strings.RegisterAction); 125this.RegisterResponseAction = dictionary.Add(CoordinationExternal11Strings.RegisterResponseAction); 126this.FaultAction = dictionary.Add(CoordinationExternal11Strings.FaultAction); 127this.CannotCreateContext = dictionary.Add(CoordinationExternal11Strings.CannotCreateContext); 128this.CannotRegisterParticipant = dictionary.Add(CoordinationExternal11Strings.CannotRegisterParticipant); 144this.SecurityContextToken = dictionary.Add(SecureConversationDec2005Strings.SecurityContextToken); 145this.AlgorithmAttribute = dictionary.Add(SecureConversationDec2005Strings.AlgorithmAttribute); 146this.Generation = dictionary.Add(SecureConversationDec2005Strings.Generation); 147this.Label = dictionary.Add(SecureConversationDec2005Strings.Label); 148this.Offset = dictionary.Add(SecureConversationDec2005Strings.Offset); 149this.Properties = dictionary.Add(SecureConversationDec2005Strings.Properties); 150this.Identifier = dictionary.Add(SecureConversationDec2005Strings.Identifier); 151this.Cookie = dictionary.Add(SecureConversationDec2005Strings.Cookie); 152this.RenewNeededFaultCode = dictionary.Add(SecureConversationDec2005Strings.RenewNeededFaultCode); 153this.BadContextTokenFaultCode = dictionary.Add(SecureConversationDec2005Strings.BadContextTokenFaultCode); 154this.Prefix = dictionary.Add(SecureConversationDec2005Strings.Prefix); 155this.DerivedKeyTokenType = dictionary.Add(SecureConversationDec2005Strings.DerivedKeyTokenType); 156this.SecurityContextTokenType = dictionary.Add(SecureConversationDec2005Strings.SecurityContextTokenType); 157this.SecurityContextTokenReferenceValueType = dictionary.Add(SecureConversationDec2005Strings.SecurityContextTokenReferenceValueType); 158this.RequestSecurityContextIssuance = dictionary.Add(SecureConversationDec2005Strings.RequestSecurityContextIssuance); 159this.RequestSecurityContextIssuanceResponse = dictionary.Add(SecureConversationDec2005Strings.RequestSecurityContextIssuanceResponse); 160this.RequestSecurityContextRenew = dictionary.Add(SecureConversationDec2005Strings.RequestSecurityContextRenew); 161this.RequestSecurityContextRenewResponse = dictionary.Add(SecureConversationDec2005Strings.RequestSecurityContextRenewResponse); 162this.RequestSecurityContextClose = dictionary.Add(SecureConversationDec2005Strings.RequestSecurityContextClose); 163this.RequestSecurityContextCloseResponse = dictionary.Add(SecureConversationDec2005Strings.RequestSecurityContextCloseResponse); 164this.Namespace = dictionary.Add(SecureConversationDec2005Strings.Namespace); 165this.DerivedKeyToken = dictionary.Add(SecureConversationDec2005Strings.DerivedKeyToken); 166this.Nonce = dictionary.Add(SecureConversationDec2005Strings.Nonce); 167this.Length = dictionary.Add(SecureConversationDec2005Strings.Length); 168this.Instance = dictionary.Add(SecureConversationDec2005Strings.Instance); 209this.Psha1KeyDerivationDec2005 = dictionary.Add(SecurityAlgorithmDec2005Strings.Psha1KeyDerivationDec2005); 239this.CombinedHashLabel = dictionary.Add(TrustDec2005Strings.CombinedHashLabel); 240this.RequestSecurityTokenResponse = dictionary.Add(TrustDec2005Strings.RequestSecurityTokenResponse); 241this.TokenType = dictionary.Add(TrustDec2005Strings.TokenType); 242this.KeySize = dictionary.Add(TrustDec2005Strings.KeySize); 243this.RequestedTokenReference = dictionary.Add(TrustDec2005Strings.RequestedTokenReference); 244this.AppliesTo = dictionary.Add(TrustDec2005Strings.AppliesTo); 245this.Authenticator = dictionary.Add(TrustDec2005Strings.Authenticator); 246this.CombinedHash = dictionary.Add(TrustDec2005Strings.CombinedHash); 247this.BinaryExchange = dictionary.Add(TrustDec2005Strings.BinaryExchange); 248this.Lifetime = dictionary.Add(TrustDec2005Strings.Lifetime); 249this.RequestedSecurityToken = dictionary.Add(TrustDec2005Strings.RequestedSecurityToken); 250this.Entropy = dictionary.Add(TrustDec2005Strings.Entropy); 251this.RequestedProofToken = dictionary.Add(TrustDec2005Strings.RequestedProofToken); 252this.ComputedKey = dictionary.Add(TrustDec2005Strings.ComputedKey); 253this.RequestSecurityToken = dictionary.Add(TrustDec2005Strings.RequestSecurityToken); 254this.RequestType = dictionary.Add(TrustDec2005Strings.RequestType); 255this.Context = dictionary.Add(TrustDec2005Strings.Context); 256this.BinarySecret = dictionary.Add(TrustDec2005Strings.BinarySecret); 257this.Type = dictionary.Add(TrustDec2005Strings.Type); 258this.SpnegoValueTypeUri = dictionary.Add(TrustDec2005Strings.SpnegoValueTypeUri); 259this.TlsnegoValueTypeUri = dictionary.Add(TrustDec2005Strings.TlsnegoValueTypeUri); 260this.Prefix = dictionary.Add(TrustDec2005Strings.Prefix); 261this.RequestSecurityTokenIssuance = dictionary.Add(TrustDec2005Strings.RequestSecurityTokenIssuance); 262this.RequestSecurityTokenIssuanceResponse = dictionary.Add(TrustDec2005Strings.RequestSecurityTokenIssuanceResponse); 263this.RequestTypeIssue = dictionary.Add(TrustDec2005Strings.RequestTypeIssue); 264this.AsymmetricKeyBinarySecret = dictionary.Add(TrustDec2005Strings.AsymmetricKeyBinarySecret); 265this.SymmetricKeyBinarySecret = dictionary.Add(TrustDec2005Strings.SymmetricKeyBinarySecret); 266this.NonceBinarySecret = dictionary.Add(TrustDec2005Strings.NonceBinarySecret); 267this.Psha1ComputedKeyUri = dictionary.Add(TrustDec2005Strings.Psha1ComputedKeyUri); 268this.KeyType = dictionary.Add(TrustDec2005Strings.KeyType); 269this.SymmetricKeyType = dictionary.Add(TrustDec2005Strings.SymmetricKeyType); 270this.PublicKeyType = dictionary.Add(TrustDec2005Strings.PublicKeyType); 271this.Claims = dictionary.Add(TrustDec2005Strings.Claims); 272this.InvalidRequestFaultCode = dictionary.Add(TrustDec2005Strings.InvalidRequestFaultCode); 273this.FailedAuthenticationFaultCode = dictionary.Add(TrustDec2005Strings.FailedAuthenticationFaultCode); 274this.UseKey = dictionary.Add(TrustDec2005Strings.UseKey); 275this.SignWith = dictionary.Add(TrustDec2005Strings.SignWith); 276this.EncryptWith = dictionary.Add(TrustDec2005Strings.EncryptWith); 277this.EncryptionAlgorithm = dictionary.Add(TrustDec2005Strings.EncryptionAlgorithm); 278this.CanonicalizationAlgorithm = dictionary.Add(TrustDec2005Strings.CanonicalizationAlgorithm); 279this.ComputedKeyAlgorithm = dictionary.Add(TrustDec2005Strings.ComputedKeyAlgorithm); 280this.RequestSecurityTokenResponseCollection = dictionary.Add(TrustDec2005Strings.RequestSecurityTokenResponseCollection); 281this.Namespace = dictionary.Add(TrustDec2005Strings.Namespace); 282this.BinarySecretClauseType = dictionary.Add(TrustDec2005Strings.BinarySecretClauseType); 283this.RequestSecurityTokenCollectionIssuanceFinalResponse = dictionary.Add(TrustDec2005Strings.RequestSecurityTokenCollectionIssuanceFinalResponse); 284this.RequestSecurityTokenRenewal = dictionary.Add(TrustDec2005Strings.RequestSecurityTokenRenewal); 285this.RequestSecurityTokenRenewalResponse = dictionary.Add(TrustDec2005Strings.RequestSecurityTokenRenewalResponse); 286this.RequestSecurityTokenCollectionRenewalFinalResponse = dictionary.Add(TrustDec2005Strings.RequestSecurityTokenCollectionRenewalFinalResponse); 287this.RequestSecurityTokenCancellation = dictionary.Add(TrustDec2005Strings.RequestSecurityTokenCancellation); 288this.RequestSecurityTokenCancellationResponse = dictionary.Add(TrustDec2005Strings.RequestSecurityTokenCancellationResponse); 289this.RequestSecurityTokenCollectionCancellationFinalResponse = dictionary.Add(TrustDec2005Strings.RequestSecurityTokenCollectionCancellationFinalResponse); 290this.RequestTypeRenew = dictionary.Add(TrustDec2005Strings.RequestTypeRenew); 291this.RequestTypeClose = dictionary.Add(TrustDec2005Strings.RequestTypeClose); 292this.RenewTarget = dictionary.Add(TrustDec2005Strings.RenewTarget); 293this.CloseTarget = dictionary.Add(TrustDec2005Strings.CloseTarget); 294this.RequestedTokenClosed = dictionary.Add(TrustDec2005Strings.RequestedTokenClosed); 295this.RequestedAttachedReference = dictionary.Add(TrustDec2005Strings.RequestedAttachedReference); 296this.RequestedUnattachedReference = dictionary.Add(TrustDec2005Strings.RequestedUnattachedReference); 297this.IssuedTokensHeader = dictionary.Add(TrustDec2005Strings.IssuedTokensHeader); 298this.KeyWrapAlgorithm = dictionary.Add(TrustDec2005Strings.KeyWrapAlgorithm); 299this.BearerKeyType = dictionary.Add(TrustDec2005Strings.BearerKeyType); 300this.SecondaryParameters = dictionary.Add(TrustDec2005Strings.SecondaryParameters); 301this.Dialect = dictionary.Add(TrustDec2005Strings.Dialect); 302this.DialectType = dictionary.Add(TrustDec2005Strings.DialectType); 459this.AckRequestedAction = dictionary.Add(Wsrm11Strings.AckRequestedAction); 460this.CloseSequence = dictionary.Add(Wsrm11Strings.CloseSequence); 461this.CloseSequenceAction = dictionary.Add(Wsrm11Strings.CloseSequenceAction); 462this.CloseSequenceResponse = dictionary.Add(Wsrm11Strings.CloseSequenceResponse); 463this.CloseSequenceResponseAction = dictionary.Add(Wsrm11Strings.CloseSequenceResponseAction); 464this.CreateSequenceAction = dictionary.Add(Wsrm11Strings.CreateSequenceAction); 465this.CreateSequenceResponseAction = dictionary.Add(Wsrm11Strings.CreateSequenceResponseAction); 466this.DiscardFollowingFirstGap = dictionary.Add(Wsrm11Strings.DiscardFollowingFirstGap); 467this.Endpoint = dictionary.Add(Wsrm11Strings.Endpoint); 468this.FaultAction = dictionary.Add(Wsrm11Strings.FaultAction); 469this.Final = dictionary.Add(Wsrm11Strings.Final); 470this.IncompleteSequenceBehavior = dictionary.Add(Wsrm11Strings.IncompleteSequenceBehavior); 471this.LastMsgNumber = dictionary.Add(Wsrm11Strings.LastMsgNumber); 472this.MaxMessageNumber = dictionary.Add(Wsrm11Strings.MaxMessageNumber); 473this.Namespace = dictionary.Add(Wsrm11Strings.Namespace); 474this.NoDiscard = dictionary.Add(Wsrm11Strings.NoDiscard); 475this.None = dictionary.Add(Wsrm11Strings.None); 476this.SequenceAcknowledgementAction = dictionary.Add(Wsrm11Strings.SequenceAcknowledgementAction); 477this.SequenceClosed = dictionary.Add(Wsrm11Strings.SequenceClosed); 478this.TerminateSequenceAction = dictionary.Add(Wsrm11Strings.TerminateSequenceAction); 479this.TerminateSequenceResponse = dictionary.Add(Wsrm11Strings.TerminateSequenceResponse); 480this.TerminateSequenceResponseAction = dictionary.Add(Wsrm11Strings.TerminateSequenceResponseAction); 481this.UsesSequenceSSL = dictionary.Add(Wsrm11Strings.UsesSequenceSSL); 482this.UsesSequenceSTR = dictionary.Add(Wsrm11Strings.UsesSequenceSTR); 483this.WsrmRequired = dictionary.Add(Wsrm11Strings.WsrmRequired);