19 references to CodeTypeDeclaration
System.Web.Services (19)
System\Web\Services\Description\HttpProtocolImporter.cs (7)
158
CodeMemberMethod mainCodeMethod = WebCodeGenerator.AddMethod(this.
CodeTypeDeclaration
, method.Name, new CodeFlags[parameterTypeNames.Length], parameterTypeNames, parameterNames,
199
CodeMemberMethod beginCodeMethod = WebCodeGenerator.AddMethod(this.
CodeTypeDeclaration
, "Begin" + method.Name, new CodeFlags[asyncParameterTypeNames.Length],
213
CodeMemberMethod endCodeMethod = WebCodeGenerator.AddMethod(this.
CodeTypeDeclaration
, "End" + method.Name, new CodeFlags[1],
244
WebCodeGenerator.AddEvent(this.
CodeTypeDeclaration
.Members, delegateInfo.handlerType, handlerName);
247
WebCodeGenerator.AddCallbackDeclaration(this.
CodeTypeDeclaration
.Members, callbackMember);
251
CodeMemberMethod asyncCodeMethod = WebCodeGenerator.AddAsyncMethod(this.
CodeTypeDeclaration
, asyncName,
265
WebCodeGenerator.AddCallbackImplementation(this.
CodeTypeDeclaration
, callbackName, handlerName, delegateInfo.handlerArgs, methodHasReturn);
System\Web\Services\Description\ProtocolImporter.cs (1)
435
CodeMemberMethod asyncCancelMethod = WebCodeGenerator.AddMethod(this.
CodeTypeDeclaration
, cancelMethodName,
System\Web\Services\Description\SoapHttpTransportImporter.cs (3)
20
ImportContext.
CodeTypeDeclaration
.BaseTypes.Add(typeof(SoapHttpClientProtocol).FullName);
21
CodeConstructor ctor = WebCodeGenerator.AddConstructor(ImportContext.
CodeTypeDeclaration
, new string[0], new string[0], null, CodeFlags.IsPublic);
40
ImportContext.
CodeTypeDeclaration
.BaseTypes.Add(typeof(WebService).FullName);
System\Web\Services\Description\SoapProtocolImporter.cs (8)
594
WebCodeGenerator.AddMember(
CodeTypeDeclaration
, mapping.TypeFullName, globalHeader.fieldName, null, null, CodeFlags.IsPublic, ServiceImporter.CodeGenerationOptions);
807
CodeMemberMethod mainCodeMethod = WebCodeGenerator.AddMethod(this.
CodeTypeDeclaration
, methodName,
857
CodeMemberMethod beginCodeMethod = WebCodeGenerator.AddMethod(this.
CodeTypeDeclaration
, "Begin" + uniqueMethodName,
888
CodeMemberMethod codeMethod = WebCodeGenerator.AddMethod(this.
CodeTypeDeclaration
, "End" + uniqueMethodName,
919
WebCodeGenerator.AddEvent(this.
CodeTypeDeclaration
.Members, delegateInfo.handlerType, handlerName);
922
WebCodeGenerator.AddCallbackDeclaration(this.
CodeTypeDeclaration
.Members, callbackMember);
927
CodeMemberMethod asyncCodeMethod = WebCodeGenerator.AddAsyncMethod(this.
CodeTypeDeclaration
, asyncName,
941
WebCodeGenerator.AddCallbackImplementation(this.
CodeTypeDeclaration
, callbackName, handlerName, delegateInfo.handlerArgs, methodHasOutParameters);