14 references to Contract
dotnet-svcutil-lib (14)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
132_contractName = context.Contract.Contract.CodeName;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (13)
345if (context.ContractType.Name != context.Contract.CodeName) 349string friendlyName = NamingHelper.XmlName(context.Contract.CodeName) == context.Contract.Name ? context.Contract.CodeName : context.Contract.Name; 353if (NamingHelper.DefaultNamespace != context.Contract.Namespace) 354serviceContractAttr.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(context.Contract.Namespace))); 358if (context.Contract.HasProtectionLevel) 362new CodeTypeReferenceExpression(typeof(ProtectionLevel)), context.Contract.ProtectionLevel.ToString()))); 370if (context.Contract.SessionMode != SessionMode.Allowed) 374new CodeTypeReferenceExpression(typeof(SessionMode)), context.Contract.SessionMode.ToString()))); 529CallContractExtensions(EnumerateBehaviorExtensions(context.Contract), context); 621if (fault.Namespace != context.Contract.Contract.Namespace)