10 references to ServiceContractGenerator
dotnet-svcutil-lib (10)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
121CodeCompileUnit targetCompileUnit = context.ServiceContractGenerator.TargetCompileUnit;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (7)
130_messageContractType = context.ServiceContractGenerator.OptionsInternal.IsSet(ServiceContractGenerationOptions.TypedMessages) ? MessageContractType.WrappedMessageContract : MessageContractType.None; 279CodeNamespace ns = _context.ServiceContractGenerator.NamespaceManager.EnsureNamespace(_contractNS); 380_method.Parameters.Insert(0, new CodeParameterDeclarationExpression(_context.ServiceContractGenerator.GetCodeTypeReference((typeof(Message))), "request")); 382_endMethod.ReturnType = _context.ServiceContractGenerator.GetCodeTypeReference(typeof(Message)); 688type = _context.ServiceContractGenerator.GetCodeTypeReference(typeof(byte[])); 740return _context.ServiceContractGenerator.GetCodeTypeReference(setting.Type); 961taskReturnType = new CodeTypeReference(_context.ServiceContractGenerator.GetCodeTypeReference(ServiceReflector.taskTResultType).BaseType, resultType);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (1)
607CodeAttributeDeclaration faultContractAttr = new CodeAttributeDeclaration(context.ServiceContractGenerator.GetCodeTypeReference(typeof(FaultContractAttribute)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
146context.ServiceContractGenerator.AddReferencedAssembly(typeof(Microsoft.Xml.Serialization.XmlTypeAttribute).GetTypeInfo().Assembly);