System\Xml\Schema\Preprocessor.cs (11)
97schemaLocations.Add(rootSchema.BaseUri, rootSchema);
252schemaLocations.Add(includeLocation, includedSchema);
314schemaLocations.Add(ruri, include.Schema);
342schemaLocations.Add(ruri, includedSchema);
425referenceNamespaces.Add(XmlReservedNs.NsXs,XmlReservedNs.NsXs);
436referenceNamespaces.Add(ns,ns);
446referenceNamespaces.Add(tns,tns);
586processedExternals.Add(includedSchema, external);
598processedExternals.Add(includedSchema, external);
1692currentSchema.Ids.Add(xso.IdAttribute, xso);
1757chameleonSchemas.Add(cKey, chameleonSchema);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (10)
58schemaLocations.Add(schema.BaseUri, schema.BaseUri);
137schemaLocations.Add(includeLocation, includeLocation);
152schemaLocations.Add(include.Schema.BaseUri, include.Schema.BaseUri);
166schemaLocations.Add(subUri, subUri); //The schema for that location is available
196schemaLocations.Add(ruri, ruri);
233referenceNamespaces.Add(XmlReservedNs.NsXs,XmlReservedNs.NsXs);
234referenceNamespaces.Add(string.Empty, string.Empty);
241referenceNamespaces.Add(ns,ns);
247referenceNamespaces.Add(schema.TargetNamespace,schema.TargetNamespace);
1374this.schema.Ids.Add(xso.IdAttribute, xso);
System\Xml\Serialization\XmlSerializationWriter.cs (13)
420objectsInUse.Add(o, o);
497qnIndexes.Add(newIndex, newIndex);
788references.Add(o, id);
1321MethodNames.Add(mapping, NextMethodName(mapping.TypeDesc.Name));
1867values.Add(c.Value, c.Value);
3313nameToAssemblyMap.Add(key, a);
3314assemblyToNameMap.Add(a, key);
3402reflectionVariables.Add(typeFullName, typeVariable);
3485reflectionVariables.Add(assemblyFullName, assemblyVariable);
3499reflectionVariables.Add(memberName+":"+escapedName, propVariable);
3507reflectionVariables.Add(memberName+":"+escapedName, fieldVariable);
3541reflectionVariables.Add(memberName+":"+escapedName, methodVariable);
3560reflectionVariables.Add(arrayMemberKey+":" + escapedName, itemVariable);
System\Xml\XPath\Internal\XPathParser.cs (40)
712table.Add("last" , new ParamInfo(Function.FunctionType.FuncLast , 0, 0, temparray1));
713table.Add("position" , new ParamInfo(Function.FunctionType.FuncPosition , 0, 0, temparray1));
714table.Add("name" , new ParamInfo(Function.FunctionType.FuncName , 0, 1, temparray2));
715table.Add("namespace-uri" , new ParamInfo(Function.FunctionType.FuncNameSpaceUri , 0, 1, temparray2));
716table.Add("local-name" , new ParamInfo(Function.FunctionType.FuncLocalName , 0, 1, temparray2));
717table.Add("count" , new ParamInfo(Function.FunctionType.FuncCount , 1, 1, temparray2));
718table.Add("id" , new ParamInfo(Function.FunctionType.FuncID , 1, 1, temparray3));
719table.Add("string" , new ParamInfo(Function.FunctionType.FuncString , 0, 1, temparray3));
720table.Add("concat" , new ParamInfo(Function.FunctionType.FuncConcat , 2, 100, temparray4));
721table.Add("starts-with" , new ParamInfo(Function.FunctionType.FuncStartsWith , 2, 2, temparray5));
722table.Add("contains" , new ParamInfo(Function.FunctionType.FuncContains , 2, 2, temparray5));
723table.Add("substring-before" , new ParamInfo(Function.FunctionType.FuncSubstringBefore, 2, 2, temparray5));
724table.Add("substring-after" , new ParamInfo(Function.FunctionType.FuncSubstringAfter , 2, 2, temparray5));
725table.Add("substring" , new ParamInfo(Function.FunctionType.FuncSubstring , 2, 3, temparray6));
726table.Add("string-length" , new ParamInfo(Function.FunctionType.FuncStringLength , 0, 1, temparray4));
727table.Add("normalize-space" , new ParamInfo(Function.FunctionType.FuncNormalize , 0, 1, temparray4));
728table.Add("translate" , new ParamInfo(Function.FunctionType.FuncTranslate , 3, 3, temparray7));
729table.Add("boolean" , new ParamInfo(Function.FunctionType.FuncBoolean , 1, 1, temparray3));
730table.Add("not" , new ParamInfo(Function.FunctionType.FuncNot , 1, 1, temparray8));
731table.Add("true" , new ParamInfo(Function.FunctionType.FuncTrue , 0, 0 ,temparray8));
732table.Add("false" , new ParamInfo(Function.FunctionType.FuncFalse , 0, 0, temparray8));
733table.Add("lang" , new ParamInfo(Function.FunctionType.FuncLang , 1, 1, temparray4));
734table.Add("number" , new ParamInfo(Function.FunctionType.FuncNumber , 0, 1, temparray3));
735table.Add("sum" , new ParamInfo(Function.FunctionType.FuncSum , 1, 1, temparray2));
736table.Add("floor" , new ParamInfo(Function.FunctionType.FuncFloor , 1, 1, temparray9));
737table.Add("ceiling" , new ParamInfo(Function.FunctionType.FuncCeiling , 1, 1, temparray9));
738table.Add("round" , new ParamInfo(Function.FunctionType.FuncRound , 1, 1, temparray9));
745table.Add("ancestor" , Axis.AxisType.Ancestor );
746table.Add("ancestor-or-self" , Axis.AxisType.AncestorOrSelf );
747table.Add("attribute" , Axis.AxisType.Attribute );
748table.Add("child" , Axis.AxisType.Child );
749table.Add("descendant" , Axis.AxisType.Descendant );
750table.Add("descendant-or-self", Axis.AxisType.DescendantOrSelf );
751table.Add("following" , Axis.AxisType.Following );
752table.Add("following-sibling" , Axis.AxisType.FollowingSibling );
753table.Add("namespace" , Axis.AxisType.Namespace );
754table.Add("parent" , Axis.AxisType.Parent );
755table.Add("preceding" , Axis.AxisType.Preceding );
756table.Add("preceding-sibling" , Axis.AxisType.PrecedingSibling );
757table.Add("self" , Axis.AxisType.Self );