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);
181
if (
_method
== _context.TaskMethod)
183
_method
.Comments.Add(new CodeCommentStatement(string.Format(SRServiceModel.SFxCodeGenWarning, SRServiceModel.SFxCannotImportAsParameters_OutputParameterAndTask)));
209
methodParameters = new CodeParameterDeclarationExpressionCollection(
_method
.Parameters);
220
CodeMemberMethod method =
_method
;
253
ParameterizedMethodGenerator 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"));
390
CustomAttributeHelper.FindOrCreateAttributeDeclaration<OperationContractAttribute>(
_method
.CustomAttributes), OperationContractAttribute.ActionPropertyName, _request.Action);
395
CustomAttributeHelper.FindOrCreateAttributeDeclaration<OperationContractAttribute>(
_method
.CustomAttributes), OperationContractAttribute.ReplyActionPropertyName, _response.Action);
953
CodeTypeReference resultType =
_method
.ReturnType;
964
_method
.ReturnType = taskReturnType;