132 references to Members
dotnet-svcutil-lib (132)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (6)
147classToGen.Members.Add(ctor); 169classToGen.Members.Add(nodesField); 186classToGen.Members.Add(nodesProperty); 203classToGen.Members.Add(getSchemaMethod); 233classToGen.Members.Add(writeXml); 285classToGen.Members.Add(readXml);
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (2)
21type.Members.Add(GenerateTaskBasedAsyncMethod("Open", nameScope)); 22type.Members.Add(GenerateTaskBasedAsyncMethod("Close", nameScope));
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (1)
459Enumerate(type.Members);
CodeDomFixup\CodeDomVisitors\CodeTypeNameScope.cs (1)
16foreach (CodeTypeMember member in type.Members)
CodeDomFixup\CodeDomVisitors\ConstructorFixer.cs (1)
38CollectionHelpers.MapList<CodeConstructor>(type.Members, ctorFilter, null);
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (18)
57_eventBasedDuplexClass.Members.Add(callbackImpl); 78callbackInterface.Members, 115parent.Members.Add(ctor); 139parent.Members.Add(ctor); 152parent.Members.Add(ctor); 178parent.Members.Add(ctor); 187parent.Members.Add(ctor); 209parent.Members.Add(ctor); 216foreach (CodeMemberMethod method in callbackInterface.Members) 229parent.Members.Add(evt); 233parent.Members.Add(member); 347evtArg.Members.Add(resultsField); 359evtArg.Members.Add(ctor); 386evtArg.Members.Add(property); 410callbackImpl.Members.Add( 445callbackImpl.Members.Add(m); 450foreach (CodeMemberMethod method in callbackInterface.Members) 491callbackImpl.Members.Add(m);
CodeDomFixup\CodeDomVisitors\MakeOldAsyncMethodsPrivate.cs (1)
28CollectionHelpers.MapList<CodeMemberMethod>(type.Members, MapMethodFirstPass, null);
CodeDomFixup\CodeDomVisitors\RemoveExtensibleDataObjectImpl.cs (1)
28type.Members,
CodeDomFixup\CodeDomVisitors\RemoveSyncMethodsFromClientClass.cs (1)
16type.Members,
CodeDomFixup\CodeDomVisitors\RemoveSyncMethodsFromInterface.cs (2)
17type.Members, 30CodeMemberMethod taskAyncMethod = CodeDomHelpers.GetTaskAsyncMethodForMethod(CurrentType.Members, syncMethod);
CodeDomFixup\CodeDomVisitors\SpecialIXmlSerializableRemapper.cs (1)
55foreach (CodeTypeMember member in type.Members)
CodeDomFixup\CodeDomVisitors\TypeDeclCollection.cs (1)
32foreach (CodeTypeMember member in type.Members)
CodeDomFixup\CodeDomVisitors\TypeNameFixer.cs (1)
34foreach (CodeTypeMember member in typeDeclaration.Members)
CodeDomFixup\CodeDomVisitors\XmlDomAttributeFixer.cs (1)
18CollectionHelpers.MapList<CodeTypeMember>(type.Members, IsNonFilteredMember, AddWarningComment);
CodeDomFixup\ConfigToCode.cs (6)
114foreach (CodeTypeMember member in clientType.Members) 173clientType.Members.Remove(member); 181foreach (CodeTypeMember member in clientType.Members) 299clientType.Members.Remove(member); 309foreach (CodeTypeMember member in clientType.Members) 425clientType.Members.Remove(member);
CodeDomFixup\MethodCreationHelper.cs (7)
72configurationsEnum.Members.Add(new CodeMemberField(ConfigToCodeConstants.EndpointConfigurationEnumTypeName, CodeDomHelpers.EscapeName(endpointName))); 75this.ClientType.Members.Add(configurationsEnum); 82this.ClientType.Members.Add(this.GetBinding); 83this.ClientType.Members.Add(this.GetEndpointAddress); 89this.ClientType.Members.Add(this.GetDefaultBinding); 90this.ClientType.Members.Add(this.GetDefaultEndpointAddress); 131this.ClientType.Members.Add(snippet);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (9)
252foreach (CodeTypeMember member in e.Members) 384IEnumerator en = e.Members.GetEnumerator(); 653IEnumerator en = e.Members.GetEnumerator(); 683IEnumerator en = e.Members.GetEnumerator(); 831IEnumerator en = e.Members.GetEnumerator(); 861IEnumerator en = e.Members.GetEnumerator(); 929IEnumerator en = e.Members.GetEnumerator(); 968IEnumerator en = e.Members.GetEnumerator(); 1030IEnumerator en = e.Members.GetEnumerator();
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (1)
228foreach (CodeTypeMember currentMember in e.Members)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (9)
911IEnumerator en = e.Members.GetEnumerator(); 942IEnumerator en = e.Members.GetEnumerator(); 2060IEnumerator en = e.Members.GetEnumerator(); 2166IEnumerator en = e.Members.GetEnumerator(); 2500IEnumerator en = e.Members.GetEnumerator(); 2647foreach (CodeTypeMember member in e.Members) 2854IEnumerator en = e.Members.GetEnumerator(); 2884IEnumerator en = e.Members.GetEnumerator(); 2934IEnumerator en = e.Members.GetEnumerator();
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (3)
312codeClass.Members.Add(field); 392codeClass.Members.Add(PropertyChangedEvent); 393codeClass.Members.Add(RaisePropertyChangedEventMethod);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (6)
244codeClass.Members.Add(field); 254codeClass.Members.Add(field); 265codeClass.Members.Add(field); 270codeClass.Members.Add(prop); 276codeClass.Members.Add(field); 282codeClass.Members.Add(prop);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (8)
579codeClass.Members.Add(ctor); 640if (ctor.Statements.Count == 0) codeClass.Members.Remove(ctor); 815codeClass.Members.Add(field); 825codeClass.Members.Add(field); 836codeClass.Members.Add(field); 841codeClass.Members.Add(prop); 847codeClass.Members.Add(field); 853codeClass.Members.Add(prop);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (17)
344InvokeProcessImportedType(newCodeTypeDeclaration.Members); 497containingType.Members.Add(type); 776foreach (CodeTypeMember member in containingType.Members) 891type.Members.Add(field); 892type.Members.Add(property); 1027type.Members.Add(extensionDataObjectField); 1030type.Members.Add(extensionDataObjectProperty); 1042codeTypeDeclaration.Members.Add(memberEvent); 1046codeTypeDeclaration.Members.Add(raisePropertyChangedEventMethod); 1097type.Members.Add(enumMember); 1200type.Members.Add(NodeArrayField); 1201type.Members.Add(NodeArrayProperty); 1202type.Members.Add(ReadXmlMethod); 1203type.Members.Add(WriteXmlMethod); 1204type.Members.Add(GetSchemaMethod); 1226type.Members.Add(typeNameField); 1228type.Members.Add(GetSchemaStaticMethod);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (19)
200clientType.Members.Add(ctor); 236int methodPosition = clientType.Members.Add(methodImpl); 244clientType.Members[methodPosition].CustomAttributes.Add(CreateEditorBrowsableAttribute(EditorBrowsableState.Advanced)); 245clientType.Members.Add(helperMethod); 315foreach (CodeTypeMember member in codeTypeDeclaration.Members) 378foreach (CodeTypeMember member in typeDeclaration.Members) 540argsType.Members.Add(ctor); 572argsType.Members.Add(resultsField); 610ownerTypeDecl.Members.Add(property); 634clientType.Members.Add(operationCompletedEvent); 647clientType.Members.Add(beginOperationDelegate); 689clientType.Members.Add(onBeginOperationMethod); 702clientType.Members.Add(endOperationDelegate); 764clientType.Members.Add(onEndOperationMethod); 777clientType.Members.Add(operationCompletedDelegate); 833clientType.Members.Add(operationCompletedMethod); 884clientType.Members.Add(eventAsyncMethod); 911int eventAsyncMethodPosition = clientType.Members.IndexOf(eventAsyncMethod); 915clientType.Members.Insert(eventAsyncMethodPosition, eventAsyncMethodOverload);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (4)
567_typeDecl.Members.Add(memberDecl); 821typeDecl.Members.Add(defaultCtor); 824foreach (CodeTypeMember member in typeDecl.Members) 834typeDecl.Members.Add(otherCtor);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (4)
280declaringType.Members.Add(syncMethod); 292declaringType.Members.Add(beginMethod); 297declaringType.Members.Add(endMethod); 322declaringType.Members.Add(taskBasedAsyncMethod);
ImportModule.cs (1)
193if (type.Members.Count == 0)