3 writes to _method
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (3)
150_method = _context.SyncMethod; 158_method = _context.BeginMethod; 948_method = _context.TaskMethod;
13 references to _method
dotnet-svcutil-lib (13)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (13)
152_defaultName = _method.Name; 160_defaultName = _method.Name.Substring(5); 181if (_method == _context.TaskMethod) 183_method.Comments.Add(new CodeCommentStatement(string.Format(SRServiceModel.SFxCodeGenWarning, SRServiceModel.SFxCannotImportAsParameters_OutputParameterAndTask))); 209methodParameters = new CodeParameterDeclarationExpressionCollection(_method.Parameters); 220CodeMemberMethod method = _method; 253ParameterizedMethodGenerator generator = new ParameterizedMethodGenerator(_method, _endMethod); 284_method.Parameters.Insert(0, new CodeParameterDeclarationExpression(typedReqMessageRef, "request")); 380_method.Parameters.Insert(0, new CodeParameterDeclarationExpression(_context.ServiceContractGenerator.GetCodeTypeReference((typeof(Message))), "request")); 390CustomAttributeHelper.FindOrCreateAttributeDeclaration<OperationContractAttribute>(_method.CustomAttributes), OperationContractAttribute.ActionPropertyName, _request.Action); 395CustomAttributeHelper.FindOrCreateAttributeDeclaration<OperationContractAttribute>(_method.CustomAttributes), OperationContractAttribute.ReplyActionPropertyName, _response.Action); 953CodeTypeReference resultType = _method.ReturnType; 964_method.ReturnType = taskReturnType;