3 writes to Method
System.ServiceModel (3)
System\ServiceModel\Description\OperationGenerator.cs (3)
150
this.
Method
= this.Context.SyncMethod;
158
this.
Method
= this.Context.BeginMethod;
956
this.
Method
= this.Context.TaskMethod;
13 references to Method
System.ServiceModel (13)
System\ServiceModel\Description\OperationGenerator.cs (13)
152
this.DefaultName = this.
Method
.Name;
160
this.DefaultName = this.
Method
.Name.Substring(5);
181
if (this.
Method
== this.Context.TaskMethod)
183
this.
Method
.Comments.Add(new CodeCommentStatement(SR.GetString(SR.SFxCodeGenWarning, SR.GetString(SR.SFxCannotImportAsParameters_OutputParameterAndTask))));
209
methodParameters = new CodeParameterDeclarationExpressionCollection(this.
Method
.Parameters);
220
CodeMemberMethod method = this.
Method
;
255
ParameterizedMethodGenerator generator = new ParameterizedMethodGenerator(this.
Method
, this.EndMethod);
286
this.
Method
.Parameters.Insert(0, new CodeParameterDeclarationExpression(typedReqMessageRef, "request"));
382
this.
Method
.Parameters.Insert(0, new CodeParameterDeclarationExpression(Context.ServiceContractGenerator.GetCodeTypeReference((typeof(Message))), "request"));
392
CustomAttributeHelper.FindOrCreateAttributeDeclaration<OperationContractAttribute>(this.
Method
.CustomAttributes), OperationContractAttribute.ActionPropertyName, this.Request.Action);
397
CustomAttributeHelper.FindOrCreateAttributeDeclaration<OperationContractAttribute>(this.
Method
.CustomAttributes), OperationContractAttribute.ReplyActionPropertyName, this.Response.Action);
961
CodeTypeReference resultType = this.
Method
.ReturnType;
972
this.
Method
.ReturnType = taskReturnType;