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; 181if (_method == _context.TaskMethod) 198_wrappedBodyTypeGenerator.ValidateForParameterMode(_context.Operation); 224if (_context.IsAsync) 243throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_Message, _context.Operation.CodeName))); 251_wrappedBodyTypeGenerator.ValidateForParameterMode(_context.Operation); 279CodeNamespace ns = _context.ServiceContractGenerator.NamespaceManager.EnsureNamespace(_contractNS); 302if (TypedMessageHelper.FindGeneratedTypedMessage(_context.Contract, message, out typedMessageRef)) 311CodeTypeDeclaration typedMessageDecl = _context.Contract.TypeFactory.CreateClassType(); 315TypedMessageHelper.AddGeneratedTypedMessage(_context.Contract, message, typedMessageRef); 318WrapTypedMessage(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)); 589CodeTypeDeclaration wrapperTypeDecl = _context.Contract.TypeFactory.CreateClassType(); 688type = _context.ServiceContractGenerator.GetCodeTypeReference(typeof(byte[])); 740return _context.ServiceContractGenerator.GetCodeTypeReference(setting.Type); 900throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_Bare, parent._context.Operation.CodeName))); 925parent._context.Contract.ServiceContractGenerator.Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent._request.MessageName), true/*isWarning*/)); 934parent._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; 961taskReturnType = new CodeTypeReference(_context.ServiceContractGenerator.GetCodeTypeReference(ServiceReflector.taskTResultType).BaseType, resultType);