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