22 references to Operation
dotnet-svcutil-lib (22)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (2)
206
if (operationContext.
Operation
.IsServerInitiated()) continue;
223
GenerateClientClassMethod(clientType, contractTypeRef, operationContext.TaskMethod, !operationContext.
Operation
.HasOutputParameters && _tryAddHelperMethod, declaringContractTypeRef);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (2)
77
DataContractSerializerOperationBehavior DataContractSerializerOperationBehavior = context.
Operation
.Behaviors.Find<DataContractSerializerOperationBehavior>() as DataContractSerializerOperationBehavior;
87
foreach (MessageDescription message in context.
Operation
.Messages)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (10)
70
if (context.
Operation
== null)
133
_contractNS = context.
Operation
.DeclaringContract.Namespace;
135
_oneway = (context.
Operation
.IsOneWay);
136
_request = context.
Operation
.Messages[0];
137
_response = _oneway ? null : context.
Operation
.Messages[1];
143
_isTaskWithOutputParameters = context.IsTask && context.
Operation
.HasOutputParameters;
198
_wrappedBodyTypeGenerator.ValidateForParameterMode(_context.
Operation
);
243
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_Message, _context.
Operation
.CodeName)));
251
_wrappedBodyTypeGenerator.ValidateForParameterMode(_context.
Operation
);
900
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_Bare, parent._context.
Operation
.CodeName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (6)
384
context.SyncMethod.CustomAttributes.Add(CreateOperationContractAttributeDeclaration(context.
Operation
, false));
388
context.BeginMethod.CustomAttributes.Add(CreateOperationContractAttributeDeclaration(context.
Operation
, true));
392
context.TaskMethod.CustomAttributes.Add(CreateOperationContractAttributeDeclaration(context.
Operation
, false));
533
CallOperationExtensions(EnumerateBehaviorExtensions(operationContext.
Operation
), operationContext);
594
foreach (FaultDescription fault in context.
Operation
.Faults)
814
System.ServiceModel.TransactionFlowAttribute attr = context.
Operation
.Behaviors.Find<System.ServiceModel.TransactionFlowAttribute>();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (2)
124
foreach (MessageDescription message in context.
Operation
.Messages)
139
XmlSerializerOperationBehavior xmlSerializerOperationBehavior = context.
Operation
.Behaviors.Find<XmlSerializerOperationBehavior>() as XmlSerializerOperationBehavior;