1 write to _context
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
125
_context
= context;
26 references to _context
dotnet-svcutil-lib (26)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (26)
150
_method =
_context
.SyncMethod;
151
_endMethod =
_context
.SyncMethod;
158
_method =
_context
.BeginMethod;
159
_endMethod =
_context
.EndMethod;
181
if (_method ==
_context
.TaskMethod)
198
_wrappedBodyTypeGenerator.ValidateForParameterMode(
_context
.Operation);
224
if (
_context
.IsAsync)
243
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_Message,
_context
.Operation.CodeName)));
251
_wrappedBodyTypeGenerator.ValidateForParameterMode(
_context
.Operation);
279
CodeNamespace ns =
_context
.ServiceContractGenerator.NamespaceManager.EnsureNamespace(_contractNS);
302
if (TypedMessageHelper.FindGeneratedTypedMessage(
_context
.Contract, message, out typedMessageRef))
311
CodeTypeDeclaration typedMessageDecl =
_context
.Contract.TypeFactory.CreateClassType();
315
TypedMessageHelper.AddGeneratedTypedMessage(
_context
.Contract, message, typedMessageRef);
318
WrapTypedMessage(ns, typedMessageDecl.Name, message, isReply,
_context
.IsInherited, hideFromEditor);
380
_method.Parameters.Insert(0, new CodeParameterDeclarationExpression(
_context
.ServiceContractGenerator.GetCodeTypeReference((typeof(Message))), "request"));
382
_endMethod.ReturnType =
_context
.ServiceContractGenerator.GetCodeTypeReference(typeof(Message));
589
CodeTypeDeclaration wrapperTypeDecl =
_context
.Contract.TypeFactory.CreateClassType();
688
type =
_context
.ServiceContractGenerator.GetCodeTypeReference(typeof(byte[]));
740
return
_context
.ServiceContractGenerator.GetCodeTypeReference(setting.Type);
900
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_Bare, parent.
_context
.Operation.CodeName)));
925
parent.
_context
.Contract.ServiceContractGenerator.Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent._request.MessageName), true/*isWarning*/));
934
parent.
_context
.Contract.ServiceContractGenerator.Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent._response.MessageName), true/*isWarning*/));
948
_method =
_context
.TaskMethod;
949
_endMethod =
_context
.TaskMethod;
950
_defaultName =
_context
.SyncMethod.Name;
961
taskReturnType = new CodeTypeReference(
_context
.ServiceContractGenerator.GetCodeTypeReference(ServiceReflector.taskTResultType).BaseType, resultType);