10 references to ServiceContractGenerator
System.ServiceModel (10)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
121
CodeCompileUnit targetCompileUnit = context.
ServiceContractGenerator
.TargetCompileUnit;
System\ServiceModel\Description\OperationGenerator.cs (7)
130
this.MessageContractType = context.
ServiceContractGenerator
.OptionsInternal.IsSet(ServiceContractGenerationOptions.TypedMessages) ? MessageContractType.WrappedMessageContract : MessageContractType.None;
281
CodeNamespace ns = this.Context.
ServiceContractGenerator
.NamespaceManager.EnsureNamespace(this.ContractNS);
382
this.Method.Parameters.Insert(0, new CodeParameterDeclarationExpression(Context.
ServiceContractGenerator
.GetCodeTypeReference((typeof(Message))), "request"));
384
this.EndMethod.ReturnType = Context.
ServiceContractGenerator
.GetCodeTypeReference(typeof(Message));
692
type = Context.
ServiceContractGenerator
.GetCodeTypeReference(typeof(byte[]));
744
return Context.
ServiceContractGenerator
.GetCodeTypeReference(setting.Type);
969
taskReturnType = new CodeTypeReference(this.Context.
ServiceContractGenerator
.GetCodeTypeReference(ServiceReflector.taskTResultType).BaseType, resultType);
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
661
CodeAttributeDeclaration faultContractAttr = new CodeAttributeDeclaration(context.
ServiceContractGenerator
.GetCodeTypeReference(typeof(FaultContractAttribute)));
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
145
context.
ServiceContractGenerator
.AddReferencedAssembly(typeof(System.Xml.Serialization.XmlTypeAttribute).Assembly);