From 0292189d7fca0ea2286a029500e1bc11b505dcbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Luthi?= Date: Thu, 22 Jun 2023 16:31:15 +0200 Subject: [PATCH] Make svcutil generate public static methods instead of private Fixes #5179 --- .../src/CodeDomFixup/MethodCreationHelper.cs | 8 +++---- .../CodeGenOptions/Auto/Reference.cs | 4 ++-- .../CollectionArray/Reference.cs | 4 ++-- .../DataContractSerializer/Reference.cs | 4 ++-- .../EnableDataBinding/Reference.cs | 4 ++-- .../CodeGenOptions/ExcludeType/Reference.cs | 4 ++-- .../CodeGenOptions/Internal/Reference.cs | 4 ++-- .../MessageContract/Reference.cs | 4 ++-- .../CodeGenOptions/NoStdLib/Reference.cs | 4 ++-- .../CodeGenOptions/None/Reference.cs | 4 ++-- .../CodeGenOptions/Sync/Reference.cs | 4 ++-- .../CodeGenOptions/XmlSerializer/Reference.cs | 4 ++-- .../CodeGenOptions/wrapped/Reference.cs | 4 ++-- .../Baselines/Collections/array/Reference.cs | 4 ++-- .../Collections/arrayList/Reference.cs | 4 ++-- .../Collections/collection/Reference.cs | 4 ++-- .../Collections/dictionary/Reference.cs | 4 ++-- .../Collections/hashTable/Reference.cs | 4 ++-- .../Collections/hybridDictionary/Reference.cs | 4 ++-- .../Collections/linkedList/Reference.cs | 4 ++-- .../Baselines/Collections/list/Reference.cs | 4 ++-- .../Collections/listDictionary/Reference.cs | 4 ++-- .../observableCollection/Reference.cs | 4 ++-- .../orderedDictionary/Reference.cs | 4 ++-- .../Collections/sortedDictionary/Reference.cs | 4 ++-- .../Collections/sortedList/Reference.cs | 4 ++-- .../sortedListNonGeneric/Reference.cs | 4 ++-- .../DuplexCallback/Duplex/Reference.cs | 8 +++---- .../Saml2IssuedToken_mex/Reference.cs | 4 ++-- .../ServiceReference/Reference.cs | 4 ++-- .../MetadataEpr/metadataEpr/Reference.cs | 4 ++-- .../MetadataQuery/mexParam/Reference.cs | 8 +++---- .../MetadataQuery/noQuery/Reference.cs | 8 +++---- .../singleWsdlQuery/Reference.cs | 8 +++---- .../MetadataQuery/wsdlQuery/Reference.cs | 8 +++---- .../multiDocAll/Reference.cs | 4 ++-- .../multiDocAllRelative/Reference.cs | 4 ++-- .../multiDocFullAndWildcard/Reference.cs | 4 ++-- .../multiDocFullPath/Reference.cs | 4 ++-- .../multiDocRelativeAndWildcard/Reference.cs | 4 ++-- .../multiDocRelativePath/Reference.cs | 4 ++-- .../multiDocWsdlRelXsdWildcard/Reference.cs | 4 ++-- .../multiDocWsdlWildcard/Reference.cs | 4 ++-- .../multiDocWsdlWildcardRelative/Reference.cs | 4 ++-- .../Reference.cs | 4 ++-- .../NamespaceParam/urlNamespace/Reference.cs | 4 ++-- .../wildcardNamespace/Reference.cs | 4 ++-- .../ParamsFiles_SDK_TFM/TFnet5_0/Reference.cs | 8 +++---- .../TFnetcoreapp3_1/Reference.cs | 8 +++---- .../Reference.cs | 4 ++-- .../Reference.cs | 8 +++---- .../Reference.cs | 4 ++-- .../Reference.cs | 8 +++---- .../Reference.cs | 8 +++---- .../Reference.cs | 8 +++---- .../GitHub2765_Arello_wsdl/Reference.cs | 8 +++---- .../Reference.cs | 8 +++---- .../Reference.cs | 8 +++---- .../Reference.cs | 24 +++++++++---------- .../Reference.cs | 8 +++---- .../Reference.cs | 8 +++---- .../Reference.cs | 8 +++---- .../tests/Baselines/TFM/net90/Reference.cs | 8 +++---- .../tests/Baselines/TFM/tfm100/Reference.cs | 8 +++---- .../tests/Baselines/TFM/tfm20/Reference.cs | 8 +++---- .../tests/Baselines/TFM/tfm45/Reference.cs | 8 +++---- .../Baselines/TFM/tfmDefault/Reference.cs | 8 +++---- .../TFMBootstrap/tfmDefault/Reference.cs | 8 +++---- .../TFMBootstrap/tfmNet60/Reference.cs | 8 +++---- .../TFMBootstrap/tfmNetstd20/Reference.cs | 8 +++---- .../TFMBootstrap/tfmNetstd21/Reference.cs | 8 +++---- .../tfmGlobalDefault/Reference.cs | 8 +++---- .../tfmGlobalNetstd20/Reference.cs | 8 +++---- .../TypeReuse60/ServiceReference/Reference.cs | 8 +++---- .../Reference.cs | 8 +++---- .../UpdateServiceRefDefault/Reference.cs | 8 +++---- .../Level2/UpdateRefLevels/Reference.cs | 8 +++---- .../Level2/UpdateRefLevelsFull/Reference.cs | 8 +++---- .../Reference.cs | 8 +++---- .../Reference.cs | 8 +++---- .../Reference.cs | 8 +++---- .../Reference.cs | 8 +++---- .../Reference.cs | 8 +++---- .../UpdateServiceRefOptionsRef/Reference.cs | 8 +++---- .../UpdateServiceRefOptionsRef2/Reference.cs | 8 +++---- .../Reference.cs | 8 +++---- .../Reference.cs | 8 +++---- .../CSServiceReference/Reference.cs | 8 +++---- .../CSServiceReferenceRoundtrip/Reference.cs | 8 +++---- .../Reference.cs | 4 ++-- .../BasicHttp/Reference.cs | 4 ++-- .../BasicHttpDocLitDualNs/Reference.cs | 16 ++++++------- .../BasicHttpDocLitSingleNs/Reference.cs | 8 +++---- .../BasicHttpRpcEncDualNs/Reference.cs | 16 ++++++------- .../BasicHttpRpcEncSingleNs/Reference.cs | 8 +++---- .../BasicHttpRpcLitDualNs/Reference.cs | 16 ++++++------- .../BasicHttpRpcLitSingleNs/Reference.cs | 8 +++---- .../BasicHttpSoap/Reference.cs | 8 +++---- .../BasicHttp_4_4_0/Reference.cs | 8 +++---- .../BasicHttps/Reference.cs | 4 ++-- .../NetHttp/Reference.cs | 4 ++-- .../NetHttpWebSockets/Reference.cs | 8 +++---- .../NetHttps/Reference.cs | 4 ++-- .../NetHttpsWebSockets/Reference.cs | 8 +++---- .../TcpTransSecMessCredsUserName/Reference.cs | 8 +++---- .../ReliableSessionService/Reference.cs | 4 ++-- .../Reference.cs | 4 ++-- 107 files changed, 348 insertions(+), 348 deletions(-) diff --git a/src/dotnet-svcutil/lib/src/CodeDomFixup/MethodCreationHelper.cs b/src/dotnet-svcutil/lib/src/CodeDomFixup/MethodCreationHelper.cs index cdb8bc8c7a8..0a85ff058a0 100644 --- a/src/dotnet-svcutil/lib/src/CodeDomFixup/MethodCreationHelper.cs +++ b/src/dotnet-svcutil/lib/src/CodeDomFixup/MethodCreationHelper.cs @@ -25,7 +25,7 @@ public MethodCreationHelper(CodeTypeDeclaration clientType) this.GetEndpointAddress = new CodeMemberMethod { Name = ConfigToCodeConstants.GetEndpointAddressMethod, - Attributes = MemberAttributes.Private | MemberAttributes.Static, + Attributes = MemberAttributes.Public | MemberAttributes.Static, ReturnType = new CodeTypeReference(typeof(EndpointAddress)), }; @@ -34,7 +34,7 @@ public MethodCreationHelper(CodeTypeDeclaration clientType) this.GetBinding = new CodeMemberMethod { Name = ConfigToCodeConstants.GetBindingMethod, - Attributes = MemberAttributes.Private | MemberAttributes.Static, + Attributes = MemberAttributes.Public | MemberAttributes.Static, ReturnType = new CodeTypeReference(typeof(Binding)), }; @@ -1998,14 +1998,14 @@ private void CreateDefaultEndpointMethods(string clientTypeName, List en this.GetDefaultBinding = new CodeMemberMethod { - Attributes = MemberAttributes.Static | MemberAttributes.Private, + Attributes = MemberAttributes.Static | MemberAttributes.Public, Name = ConfigToCodeConstants.GetDefaultBindingMethod, ReturnType = new CodeTypeReference(typeof(Binding)), }; this.GetDefaultEndpointAddress = new CodeMemberMethod { - Attributes = MemberAttributes.Static | MemberAttributes.Private, + Attributes = MemberAttributes.Static | MemberAttributes.Public, Name = ConfigToCodeConstants.GetDefaultEndpointAddressMethod, ReturnType = new CodeTypeReference(typeof(EndpointAddress)), }; diff --git a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/Auto/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/Auto/Reference.cs index 392f74e8313..2e62fad86d2 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/Auto/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/Auto/Reference.cs @@ -894,7 +894,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -1002,7 +1002,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/CollectionArray/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/CollectionArray/Reference.cs index b3a51093e66..e9bade30996 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/CollectionArray/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/CollectionArray/Reference.cs @@ -894,7 +894,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -1002,7 +1002,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/DataContractSerializer/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/DataContractSerializer/Reference.cs index 2b5da4ab53a..e306f262246 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/DataContractSerializer/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/DataContractSerializer/Reference.cs @@ -894,7 +894,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -1002,7 +1002,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/EnableDataBinding/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/EnableDataBinding/Reference.cs index 1356897d4af..1240d5277ef 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/EnableDataBinding/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/EnableDataBinding/Reference.cs @@ -1127,7 +1127,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -1235,7 +1235,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/ExcludeType/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/ExcludeType/Reference.cs index 569b1c2f9ff..4d7e69c76c9 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/ExcludeType/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/ExcludeType/Reference.cs @@ -1041,7 +1041,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -1149,7 +1149,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/Internal/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/Internal/Reference.cs index 8d116c67bdc..7e74ae4a011 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/Internal/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/Internal/Reference.cs @@ -894,7 +894,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -1002,7 +1002,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/MessageContract/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/MessageContract/Reference.cs index a30f48b6eb1..122fd8ec671 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/MessageContract/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/MessageContract/Reference.cs @@ -1244,7 +1244,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -1352,7 +1352,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/NoStdLib/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/NoStdLib/Reference.cs index 22ac76f54d7..12ef404eecd 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/NoStdLib/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/NoStdLib/Reference.cs @@ -1068,7 +1068,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -1176,7 +1176,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/None/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/None/Reference.cs index a3052681b29..2e65d15b3c6 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/None/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/None/Reference.cs @@ -894,7 +894,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -1002,7 +1002,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/Sync/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/Sync/Reference.cs index 6318209432b..88409b9a9bf 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/Sync/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/Sync/Reference.cs @@ -1025,7 +1025,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -1133,7 +1133,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/XmlSerializer/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/XmlSerializer/Reference.cs index 849b7ee5bdc..481f841248c 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/XmlSerializer/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/XmlSerializer/Reference.cs @@ -1951,7 +1951,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -2059,7 +2059,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/wrapped/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/wrapped/Reference.cs index 0e69578388e..feaa34561ab 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/wrapped/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/CodeGenOptions/wrapped/Reference.cs @@ -2461,7 +2461,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -2569,7 +2569,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/array/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/array/Reference.cs index 17acf36a90b..acb9a8f7f4d 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/array/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/array/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/arrayList/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/arrayList/Reference.cs index b003a8bc9bc..feecaa329c4 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/arrayList/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/arrayList/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/collection/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/collection/Reference.cs index 5cb2d199622..671441d3702 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/collection/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/collection/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/dictionary/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/dictionary/Reference.cs index 04292e9ee32..3dff4fd74db 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/dictionary/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/dictionary/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/hashTable/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/hashTable/Reference.cs index a819c23be3d..c129fad3e3f 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/hashTable/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/hashTable/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/hybridDictionary/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/hybridDictionary/Reference.cs index 31595a64f4b..15468c10a13 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/hybridDictionary/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/hybridDictionary/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/linkedList/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/linkedList/Reference.cs index d7ae5d1dfcc..b190849767f 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/linkedList/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/linkedList/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/list/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/list/Reference.cs index ce2632bfe90..5dda245a681 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/list/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/list/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/listDictionary/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/listDictionary/Reference.cs index 707bb364dd4..4283b9305f1 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/listDictionary/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/listDictionary/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/observableCollection/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/observableCollection/Reference.cs index c9c3374520f..83bdd01700b 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/observableCollection/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/observableCollection/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/orderedDictionary/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/orderedDictionary/Reference.cs index 757dec82e76..dc690886442 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/orderedDictionary/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/orderedDictionary/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedDictionary/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedDictionary/Reference.cs index 0596aa71d11..e7e99858bd9 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedDictionary/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedDictionary/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedList/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedList/Reference.cs index 9bd7ff495b3..c7fd158273a 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedList/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedList/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedListNonGeneric/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedListNonGeneric/Reference.cs index 2172d550cea..d99bc81becc 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedListNonGeneric/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedListNonGeneric/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/DuplexCallback/Duplex/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/DuplexCallback/Duplex/Reference.cs index ef640c28906..cfe3915a0ff 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/DuplexCallback/Duplex/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/DuplexCallback/Duplex/Reference.cs @@ -88,7 +88,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.tcp_nosecurity_callback_IWcfDuplexService)) { @@ -102,7 +102,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.tcp_nosecurity_callback_IWcfDuplexService)) { @@ -111,12 +111,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return WcfDuplexServiceClientBase.GetBindingForEndpoint(EndpointConfiguration.tcp_nosecurity_callback_IWcfDuplexService); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return WcfDuplexServiceClientBase.GetEndpointAddress(EndpointConfiguration.tcp_nosecurity_callback_IWcfDuplexService); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/FederationServiceTest/Saml2IssuedToken_mex/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/FederationServiceTest/Saml2IssuedToken_mex/Reference.cs index e2a0082cc28..ecfef1886c5 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/FederationServiceTest/Saml2IssuedToken_mex/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/FederationServiceTest/Saml2IssuedToken_mex/Reference.cs @@ -2647,7 +2647,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.issued_token_using_tls_x002F_wsHttp_x002F_wstrust13_x002F_Text_IWcfService)) { @@ -2756,7 +2756,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.issued_token_using_tls_x002F_wsHttp_x002F_wstrust13_x002F_Text_IWcfService)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/FullFramework/FullFramework/ServiceReference/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/FullFramework/FullFramework/ServiceReference/Reference.cs index 38fe18ee887..557b21e04eb 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/FullFramework/FullFramework/ServiceReference/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/FullFramework/FullFramework/ServiceReference/Reference.cs @@ -894,7 +894,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -1002,7 +1002,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MetadataEpr/metadataEpr/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MetadataEpr/metadataEpr/Reference.cs index 5e4a397641a..af39ff6b2d8 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MetadataEpr/metadataEpr/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MetadataEpr/metadataEpr/Reference.cs @@ -1041,7 +1041,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -1157,7 +1157,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/mexParam/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/mexParam/Reference.cs index dec56e08c23..c074aca90aa 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/mexParam/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/mexParam/Reference.cs @@ -126,7 +126,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Service1_IService1)) { @@ -140,7 +140,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Service1_IService1)) { @@ -150,12 +150,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return Service1Client.GetBindingForEndpoint(EndpointConfiguration.Service1_IService1); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return Service1Client.GetEndpointAddress(EndpointConfiguration.Service1_IService1); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/noQuery/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/noQuery/Reference.cs index d97894ab7ce..94ec418f9dc 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/noQuery/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/noQuery/Reference.cs @@ -126,7 +126,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Service1_IService1)) { @@ -140,7 +140,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Service1_IService1)) { @@ -150,12 +150,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return Service1Client.GetBindingForEndpoint(EndpointConfiguration.Service1_IService1); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return Service1Client.GetEndpointAddress(EndpointConfiguration.Service1_IService1); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/singleWsdlQuery/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/singleWsdlQuery/Reference.cs index 4da0694683d..367f1c08356 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/singleWsdlQuery/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/singleWsdlQuery/Reference.cs @@ -126,7 +126,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Service1_IService1)) { @@ -140,7 +140,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Service1_IService1)) { @@ -150,12 +150,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return Service1Client.GetBindingForEndpoint(EndpointConfiguration.Service1_IService1); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return Service1Client.GetEndpointAddress(EndpointConfiguration.Service1_IService1); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/wsdlQuery/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/wsdlQuery/Reference.cs index 7f897ecd76e..a02c7220adb 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/wsdlQuery/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/wsdlQuery/Reference.cs @@ -126,7 +126,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Service1_IService1)) { @@ -140,7 +140,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Service1_IService1)) { @@ -150,12 +150,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return Service1Client.GetBindingForEndpoint(EndpointConfiguration.Service1_IService1); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return Service1Client.GetEndpointAddress(EndpointConfiguration.Service1_IService1); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAll/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAll/Reference.cs index 2a26b3c7677..22e4fcde0f4 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAll/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAll/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAllRelative/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAllRelative/Reference.cs index 993def59134..979b81a42b9 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAllRelative/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAllRelative/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullAndWildcard/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullAndWildcard/Reference.cs index a58b60bf5ba..c28c32f046b 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullAndWildcard/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullAndWildcard/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullPath/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullPath/Reference.cs index ff20a3b3ec5..d91b4a8df39 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullPath/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullPath/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativeAndWildcard/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativeAndWildcard/Reference.cs index 8ba638abb37..11b61e2fac7 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativeAndWildcard/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativeAndWildcard/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativePath/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativePath/Reference.cs index 80673cd58c5..05c7f4be06e 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativePath/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativePath/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlRelXsdWildcard/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlRelXsdWildcard/Reference.cs index 3f3ae29729d..e20dfa23ef1 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlRelXsdWildcard/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlRelXsdWildcard/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcard/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcard/Reference.cs index 705e6239a89..43088452b23 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcard/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcard/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcardRelative/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcardRelative/Reference.cs index 192b27b886f..918858cad31 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcardRelative/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcardRelative/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlXsdWildcardRelative/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlXsdWildcardRelative/Reference.cs index ab9c5623063..203bc4e2e43 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlXsdWildcardRelative/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlXsdWildcardRelative/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/urlNamespace/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/urlNamespace/Reference.cs index 1f25082cc54..762d19c2ee5 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/urlNamespace/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/urlNamespace/Reference.cs @@ -899,7 +899,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -1007,7 +1007,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/wildcardNamespace/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/wildcardNamespace/Reference.cs index a7c83c11bc6..c2c29ac2e02 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/wildcardNamespace/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/wildcardNamespace/Reference.cs @@ -889,7 +889,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { @@ -997,7 +997,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/Reference.cs index 405cf1ae720..145fa14af4c 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/Reference.cs index 4b6e2d99351..955ad371a5b 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub1340_DynamicDataService_KeyValuPairDataContract_wsdl/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub1340_DynamicDataService_KeyValuPairDataContract_wsdl/Reference.cs index e8874b0c17e..9809a99b257 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub1340_DynamicDataService_KeyValuPairDataContract_wsdl/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub1340_DynamicDataService_KeyValuPairDataContract_wsdl/Reference.cs @@ -13270,7 +13270,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IDynamicDataService)) { @@ -13294,7 +13294,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IDynamicDataService)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub1356_xmlprovide_MissingXmlElement_wsdl/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub1356_xmlprovide_MissingXmlElement_wsdl/Reference.cs index 133879cab8e..b3d05b315dc 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub1356_xmlprovide_MissingXmlElement_wsdl/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub1356_xmlprovide_MissingXmlElement_wsdl/Reference.cs @@ -93,7 +93,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.WSHttpBinding_Ixmlprovider)) { @@ -110,7 +110,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.WSHttpBinding_Ixmlprovider)) { @@ -119,12 +119,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return IxmlproviderClient.GetBindingForEndpoint(EndpointConfiguration.WSHttpBinding_Ixmlprovider); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return IxmlproviderClient.GetEndpointAddress(EndpointConfiguration.WSHttpBinding_Ixmlprovider); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub1363_ip2geo_castexception_wsdl/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub1363_ip2geo_castexception_wsdl/Reference.cs index a98b2ec1ff6..5e78a395d26 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub1363_ip2geo_castexception_wsdl/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub1363_ip2geo_castexception_wsdl/Reference.cs @@ -279,7 +279,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.IP2GeoSoap)) { @@ -306,7 +306,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.IP2GeoSoap)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2376_Fedex_AddressValidationService_v4_wsdl/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2376_Fedex_AddressValidationService_v4_wsdl/Reference.cs index d774bca4c26..c4f027abb73 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2376_Fedex_AddressValidationService_v4_wsdl/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2376_Fedex_AddressValidationService_v4_wsdl/Reference.cs @@ -1767,7 +1767,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.AddressValidationServicePort)) { @@ -1782,7 +1782,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.AddressValidationServicePort)) { @@ -1791,12 +1791,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return AddressValidationPortTypeClient.GetBindingForEndpoint(EndpointConfiguration.AddressValidationServicePort); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return AddressValidationPortTypeClient.GetEndpointAddress(EndpointConfiguration.AddressValidationServicePort); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2410_Spaces_in_Directory_GitHub2410_Spaces___in_file_name____wsdl/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2410_Spaces_in_Directory_GitHub2410_Spaces___in_file_name____wsdl/Reference.cs index c5061db291f..bb82b234b6c 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2410_Spaces_in_Directory_GitHub2410_Spaces___in_file_name____wsdl/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2410_Spaces_in_Directory_GitHub2410_Spaces___in_file_name____wsdl/Reference.cs @@ -154,7 +154,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -168,7 +168,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -177,12 +177,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2715_DecimalFormat_wsdl/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2715_DecimalFormat_wsdl/Reference.cs index f041c179a89..009ae4e0334 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2715_DecimalFormat_wsdl/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2715_DecimalFormat_wsdl/Reference.cs @@ -228,7 +228,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.AddressValidationServicePort)) { @@ -243,7 +243,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.AddressValidationServicePort)) { @@ -252,12 +252,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return AddressValidationPortTypeClient.GetBindingForEndpoint(EndpointConfiguration.AddressValidationServicePort); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return AddressValidationPortTypeClient.GetEndpointAddress(EndpointConfiguration.AddressValidationServicePort); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2765_Arello_wsdl/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2765_Arello_wsdl/Reference.cs index 92e0d4ec125..3594ea436ee 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2765_Arello_wsdl/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2765_Arello_wsdl/Reference.cs @@ -77,7 +77,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.verify_cfm)) { @@ -92,7 +92,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.verify_cfm)) { @@ -101,12 +101,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return VerifyClient.GetBindingForEndpoint(EndpointConfiguration.verify_cfm); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return VerifyClient.GetEndpointAddress(EndpointConfiguration.verify_cfm); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2848_WildcardService_svc_wsdl/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2848_WildcardService_svc_wsdl/Reference.cs index d48bc6a29bc..01cd1c40922 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2848_WildcardService_svc_wsdl/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub2848_WildcardService_svc_wsdl/Reference.cs @@ -131,7 +131,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IWildcardsService)) { @@ -145,7 +145,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IWildcardsService)) { @@ -154,12 +154,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return WildcardsServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IWildcardsService); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return WildcardsServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IWildcardsService); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub3103_3158_WrappedAnyElement_wsdl/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub3103_3158_WrappedAnyElement_wsdl/Reference.cs index 021bb1930d6..818b7fd8dce 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub3103_3158_WrappedAnyElement_wsdl/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub3103_3158_WrappedAnyElement_wsdl/Reference.cs @@ -359,7 +359,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_WcfServiceType)) { @@ -373,7 +373,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_WcfServiceType)) { @@ -382,12 +382,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return WcfServiceTypeClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_WcfServiceType); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return WcfServiceTypeClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_WcfServiceType); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub3149_cyclical_deps_wsdl/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub3149_cyclical_deps_wsdl/Reference.cs index 60e2b8b9e11..98169f93ffc 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub3149_cyclical_deps_wsdl/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub3149_cyclical_deps_wsdl/Reference.cs @@ -179,7 +179,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IService1)) { @@ -193,7 +193,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IService1)) { @@ -202,12 +202,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return Service1Client.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IService1); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return Service1Client.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IService1); } @@ -293,7 +293,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IService2)) { @@ -307,7 +307,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IService2)) { @@ -316,12 +316,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return Service2Client.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IService2); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return Service2Client.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IService2); } @@ -407,7 +407,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IService3)) { @@ -421,7 +421,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IService3)) { @@ -430,12 +430,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return Service3Client.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IService3); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return Service3Client.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IService3); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub635_clients_mindbodyonline_com_api_0_5_wsdl/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub635_clients_mindbodyonline_com_api_0_5_wsdl/Reference.cs index 55cadb0126b..aa7117502f3 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub635_clients_mindbodyonline_com_api_0_5_wsdl/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Regression/GitHub635_clients_mindbodyonline_com_api_0_5_wsdl/Reference.cs @@ -9730,7 +9730,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Client_x0020_ServiceSoap)) { @@ -9745,7 +9745,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Client_x0020_ServiceSoap)) { @@ -9754,12 +9754,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return ClientServiceSoapClient.GetBindingForEndpoint(EndpointConfiguration.Client_x0020_ServiceSoap); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return ClientServiceSoapClient.GetEndpointAddress(EndpointConfiguration.Client_x0020_ServiceSoap); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Regression/VSGallery259915_702294_SOAPEncoded_tsp_demo_sk_wsdl/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Regression/VSGallery259915_702294_SOAPEncoded_tsp_demo_sk_wsdl/Reference.cs index c3bfa78bf03..a7b5cdec565 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Regression/VSGallery259915_702294_SOAPEncoded_tsp_demo_sk_wsdl/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Regression/VSGallery259915_702294_SOAPEncoded_tsp_demo_sk_wsdl/Reference.cs @@ -3336,7 +3336,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.DigiDocService)) { @@ -3351,7 +3351,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.DigiDocService)) { @@ -3360,12 +3360,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return DigiDocServicePortTypeClient.GetBindingForEndpoint(EndpointConfiguration.DigiDocService); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return DigiDocServicePortTypeClient.GetEndpointAddress(EndpointConfiguration.DigiDocService); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Regression/VSGallery259915_SOAPEncoded_awsomo_afip_gov_wsdl/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Regression/VSGallery259915_SOAPEncoded_awsomo_afip_gov_wsdl/Reference.cs index 0aa3df8d69d..70b0e172aa1 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Regression/VSGallery259915_SOAPEncoded_awsomo_afip_gov_wsdl/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Regression/VSGallery259915_SOAPEncoded_awsomo_afip_gov_wsdl/Reference.cs @@ -79,7 +79,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.select_ContribuyenteNivel10SelectServiceImpl)) { @@ -93,7 +93,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.select_ContribuyenteNivel10SelectServiceImpl)) { @@ -103,12 +103,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return ContribuyenteNivel10SelectServiceImplClient.GetBindingForEndpoint(EndpointConfiguration.select_ContribuyenteNivel10SelectServiceImpl); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return ContribuyenteNivel10SelectServiceImplClient.GetEndpointAddress(EndpointConfiguration.select_ContribuyenteNivel10SelectServiceImpl); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFM/net90/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFM/net90/Reference.cs index 9e959cee686..1f5452a6aea 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFM/net90/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFM/net90/Reference.cs @@ -148,7 +148,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -162,7 +162,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -171,12 +171,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm100/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm100/Reference.cs index 2cdd0f32470..98e49143b0b 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm100/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm100/Reference.cs @@ -148,7 +148,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -162,7 +162,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -171,12 +171,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm20/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm20/Reference.cs index 77ca0fa7fdd..a9bef0ba69e 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm20/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm20/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm45/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm45/Reference.cs index 735233d9904..76b1573315b 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm45/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm45/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfmDefault/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfmDefault/Reference.cs index 209d8420833..500d4ccb3c8 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfmDefault/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfmDefault/Reference.cs @@ -148,7 +148,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -162,7 +162,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -171,12 +171,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmDefault/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmDefault/Reference.cs index 209d8420833..500d4ccb3c8 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmDefault/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmDefault/Reference.cs @@ -148,7 +148,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -162,7 +162,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -171,12 +171,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNet60/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNet60/Reference.cs index 45c340b4e1a..0226a976674 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNet60/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNet60/Reference.cs @@ -148,7 +148,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -162,7 +162,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -171,12 +171,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNetstd20/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNetstd20/Reference.cs index 5654871832d..9245e4ddf0e 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNetstd20/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNetstd20/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNetstd21/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNetstd21/Reference.cs index 298fa984d94..980d95c3f6a 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNetstd21/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNetstd21/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalDefault/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalDefault/Reference.cs index 43074a3b0be..379647e5072 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalDefault/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalDefault/Reference.cs @@ -148,7 +148,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -162,7 +162,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -171,12 +171,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalNetstd20/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalNetstd20/Reference.cs index b5721c6a7cd..633a4ddad5d 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalNetstd20/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalNetstd20/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/ServiceReference/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/ServiceReference/Reference.cs index 724d1384018..9a7eac855d7 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/ServiceReference/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/ServiceReference/Reference.cs @@ -93,7 +93,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -107,7 +107,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -116,12 +116,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefBasic/UpdateServiceRefBootstrapping/UpdateServiceRefBootstrapping/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefBasic/UpdateServiceRefBootstrapping/UpdateServiceRefBootstrapping/Reference.cs index 8184f44d334..f92a2d8e3ee 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefBasic/UpdateServiceRefBootstrapping/UpdateServiceRefBootstrapping/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefBasic/UpdateServiceRefBootstrapping/UpdateServiceRefBootstrapping/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefBasic/UpdateServiceRefDefault/UpdateServiceRefDefault/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefBasic/UpdateServiceRefDefault/UpdateServiceRefDefault/Reference.cs index 0fbc8378cff..a549c36403b 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefBasic/UpdateServiceRefDefault/UpdateServiceRefDefault/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefBasic/UpdateServiceRefDefault/UpdateServiceRefDefault/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateRefLevels/UpdateServiceRefOptions/Level1/Level2/UpdateRefLevels/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateRefLevels/UpdateServiceRefOptions/Level1/Level2/UpdateRefLevels/Reference.cs index 67b99e9c0db..6ed33f93536 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateRefLevels/UpdateServiceRefOptions/Level1/Level2/UpdateRefLevels/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateRefLevels/UpdateServiceRefOptions/Level1/Level2/UpdateRefLevels/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateRefLevelsFull/UpdateServiceRefOptions/Level1/Level2/UpdateRefLevelsFull/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateRefLevelsFull/UpdateServiceRefOptions/Level1/Level2/UpdateRefLevelsFull/Reference.cs index dc09a61df60..831e8c1a25a 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateRefLevelsFull/UpdateServiceRefOptions/Level1/Level2/UpdateRefLevelsFull/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateRefLevelsFull/UpdateServiceRefOptions/Level1/Level2/UpdateRefLevelsFull/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsDefault/UpdateServiceRefOptionsDefault/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsDefault/UpdateServiceRefOptionsDefault/Reference.cs index 4e1c14dbac3..49a0cec31cd 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsDefault/UpdateServiceRefOptionsDefault/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsDefault/UpdateServiceRefOptionsDefault/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsExtraOptions/UpdateServiceRefOptionsExtraOptions/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsExtraOptions/UpdateServiceRefOptionsExtraOptions/Reference.cs index 64d4446dfb2..4096dfe7613 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsExtraOptions/UpdateServiceRefOptionsExtraOptions/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsExtraOptions/UpdateServiceRefOptionsExtraOptions/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsExtraOptionsWarn/UpdateServiceRefOptionsExtraOptionsWarn/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsExtraOptionsWarn/UpdateServiceRefOptionsExtraOptionsWarn/Reference.cs index 7c80e224355..1de2f72f4d6 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsExtraOptionsWarn/UpdateServiceRefOptionsExtraOptionsWarn/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsExtraOptionsWarn/UpdateServiceRefOptionsExtraOptionsWarn/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsFilePath/UpdateServiceRefOptionsFilePath/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsFilePath/UpdateServiceRefOptionsFilePath/Reference.cs index 4b00fff9320..01c1cfd1d90 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsFilePath/UpdateServiceRefOptionsFilePath/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsFilePath/UpdateServiceRefOptionsFilePath/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsFullPath/UpdateServiceRefOptionsFullPath/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsFullPath/UpdateServiceRefOptionsFullPath/Reference.cs index 6a38f945507..739a9b4e876 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsFullPath/UpdateServiceRefOptionsFullPath/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsFullPath/UpdateServiceRefOptionsFullPath/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsRef/UpdateServiceRefOptionsRef/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsRef/UpdateServiceRefOptionsRef/Reference.cs index d0cd12fc724..701c574cf21 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsRef/UpdateServiceRefOptionsRef/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsRef/UpdateServiceRefOptionsRef/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsRef2/UpdateServiceRefOptionsRef2/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsRef2/UpdateServiceRefOptionsRef2/Reference.cs index 2885fa590f6..a600d6b016a 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsRef2/UpdateServiceRefOptionsRef2/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptionsRef2/UpdateServiceRefOptionsRef2/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptions_Folder_With_Spaces/UpdateServiceRefOptions Folder With Spaces/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptions_Folder_With_Spaces/UpdateServiceRefOptions Folder With Spaces/Reference.cs index 6862d53e8f0..b119c58f0fc 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptions_Folder_With_Spaces/UpdateServiceRefOptions Folder With Spaces/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptions_Folder_With_Spaces/UpdateServiceRefOptions Folder With Spaces/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptions_Folder_With_Spaces_Full/UpdateServiceRefOptions Folder With Spaces Full/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptions_Folder_With_Spaces_Full/UpdateServiceRefOptions Folder With Spaces Full/Reference.cs index 66fe5f924b2..0e0b2d2dec4 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptions_Folder_With_Spaces_Full/UpdateServiceRefOptions Folder With Spaces Full/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefOptions/UpdateServiceRefOptions_Folder_With_Spaces_Full/UpdateServiceRefOptions Folder With Spaces Full/Reference.cs @@ -153,7 +153,7 @@ public virtual System.Threading.Tasks.Task CloseAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -167,7 +167,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -176,12 +176,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReference/Connected Services/CSServiceReference/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReference/Connected Services/CSServiceReference/Reference.cs index 575facc567a..8aa1cd54efa 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReference/Connected Services/CSServiceReference/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReference/Connected Services/CSServiceReference/Reference.cs @@ -148,7 +148,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -162,7 +162,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -171,12 +171,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReferenceRoundtrip/Connected Services/CSServiceReferenceRoundtrip/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReferenceRoundtrip/Connected Services/CSServiceReferenceRoundtrip/Reference.cs index e7dae54b131..c7856ae7574 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReferenceRoundtrip/Connected Services/CSServiceReferenceRoundtrip/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReferenceRoundtrip/Connected Services/CSServiceReferenceRoundtrip/Reference.cs @@ -148,7 +148,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -162,7 +162,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) { @@ -171,12 +171,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicHttpsTransSecMessCredsUserName/BasicHttpsTransSecMessCredsUserName/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicHttpsTransSecMessCredsUserName/BasicHttpsTransSecMessCredsUserName/Reference.cs index 6927c4cb349..43e6a093606 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicHttpsTransSecMessCredsUserName/BasicHttpsTransSecMessCredsUserName/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicHttpsTransSecMessCredsUserName/BasicHttpsTransSecMessCredsUserName/Reference.cs @@ -2647,7 +2647,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.https_message_credentials_username_x002F_Buffered_IWcfService)) { @@ -2672,7 +2672,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.https_message_credentials_username_x002F_Buffered_IWcfService)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp/Reference.cs index 3253f7f1a84..16c871b5775 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp/Reference.cs @@ -2647,7 +2647,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Text_IWcfService)) { @@ -2671,7 +2671,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Text_IWcfService)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitDualNs/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitDualNs/Reference.cs index 62cb898577c..36a7f3e1c8b 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitDualNs/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitDualNs/Reference.cs @@ -779,7 +779,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorDocLit)) { @@ -793,7 +793,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorDocLit)) { @@ -803,12 +803,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return CalculatorDocLitClient.GetBindingForEndpoint(EndpointConfiguration.Basic_ICalculatorDocLit); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return CalculatorDocLitClient.GetEndpointAddress(EndpointConfiguration.Basic_ICalculatorDocLit); } @@ -1072,7 +1072,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IHelloWorldDocLit)) { @@ -1086,7 +1086,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IHelloWorldDocLit)) { @@ -1096,12 +1096,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return HelloWorldDocLitClient.GetBindingForEndpoint(EndpointConfiguration.Basic_IHelloWorldDocLit); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return HelloWorldDocLitClient.GetEndpointAddress(EndpointConfiguration.Basic_IHelloWorldDocLit); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitSingleNs/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitSingleNs/Reference.cs index 6e708eb4d8a..3ae5a51cd03 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitSingleNs/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitSingleNs/Reference.cs @@ -779,7 +779,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorDocLit)) { @@ -793,7 +793,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorDocLit)) { @@ -803,12 +803,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return CalculatorDocLitClient.GetBindingForEndpoint(EndpointConfiguration.Basic_ICalculatorDocLit); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return CalculatorDocLitClient.GetEndpointAddress(EndpointConfiguration.Basic_ICalculatorDocLit); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncDualNs/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncDualNs/Reference.cs index 46fd7573c51..5e5d0dc9678 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncDualNs/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncDualNs/Reference.cs @@ -259,7 +259,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorRpcEnc)) { @@ -273,7 +273,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorRpcEnc)) { @@ -283,12 +283,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return CalculatorRpcEncClient.GetBindingForEndpoint(EndpointConfiguration.Basic_ICalculatorRpcEnc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return CalculatorRpcEncClient.GetEndpointAddress(EndpointConfiguration.Basic_ICalculatorRpcEnc); } @@ -379,7 +379,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IHelloWorldRpcEnc)) { @@ -393,7 +393,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IHelloWorldRpcEnc)) { @@ -403,12 +403,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return HelloWorldRpcEncClient.GetBindingForEndpoint(EndpointConfiguration.Basic_IHelloWorldRpcEnc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return HelloWorldRpcEncClient.GetEndpointAddress(EndpointConfiguration.Basic_IHelloWorldRpcEnc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncSingleNs/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncSingleNs/Reference.cs index ac7cb91883d..ef773168ffb 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncSingleNs/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncSingleNs/Reference.cs @@ -259,7 +259,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorRpcEnc)) { @@ -273,7 +273,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorRpcEnc)) { @@ -283,12 +283,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return CalculatorRpcEncClient.GetBindingForEndpoint(EndpointConfiguration.Basic_ICalculatorRpcEnc); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return CalculatorRpcEncClient.GetEndpointAddress(EndpointConfiguration.Basic_ICalculatorRpcEnc); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitDualNs/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitDualNs/Reference.cs index e17cfe7c2c0..cc89890c1ed 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitDualNs/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitDualNs/Reference.cs @@ -256,7 +256,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorRpcLit)) { @@ -270,7 +270,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorRpcLit)) { @@ -280,12 +280,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return CalculatorRpcLitClient.GetBindingForEndpoint(EndpointConfiguration.Basic_ICalculatorRpcLit); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return CalculatorRpcLitClient.GetEndpointAddress(EndpointConfiguration.Basic_ICalculatorRpcLit); } @@ -376,7 +376,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IHelloWorldRpcLit)) { @@ -390,7 +390,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IHelloWorldRpcLit)) { @@ -400,12 +400,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return HelloWorldRpcLitClient.GetBindingForEndpoint(EndpointConfiguration.Basic_IHelloWorldRpcLit); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return HelloWorldRpcLitClient.GetEndpointAddress(EndpointConfiguration.Basic_IHelloWorldRpcLit); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitSingleNs/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitSingleNs/Reference.cs index 1a9561d0d3f..b81757307a4 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitSingleNs/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitSingleNs/Reference.cs @@ -256,7 +256,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorRpcLit)) { @@ -270,7 +270,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorRpcLit)) { @@ -280,12 +280,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return CalculatorRpcLitClient.GetBindingForEndpoint(EndpointConfiguration.Basic_ICalculatorRpcLit); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return CalculatorRpcLitClient.GetEndpointAddress(EndpointConfiguration.Basic_ICalculatorRpcLit); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpSoap/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpSoap/Reference.cs index 37c1ff084a0..889a9cc93ed 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpSoap/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpSoap/Reference.cs @@ -213,7 +213,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IWcfSoapService)) { @@ -227,7 +227,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IWcfSoapService)) { @@ -237,12 +237,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return WcfSoapServiceClient.GetBindingForEndpoint(EndpointConfiguration.Basic_IWcfSoapService); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return WcfSoapServiceClient.GetEndpointAddress(EndpointConfiguration.Basic_IWcfSoapService); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp_4_4_0/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp_4_4_0/Reference.cs index f487135f0e2..6e3a9db0ba2 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp_4_4_0/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp_4_4_0/Reference.cs @@ -256,7 +256,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IWcfService_4_4_0)) { @@ -270,7 +270,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IWcfService_4_4_0)) { @@ -280,12 +280,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return WcfService_4_4_0Client.GetBindingForEndpoint(EndpointConfiguration.Basic_IWcfService_4_4_0); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return WcfService_4_4_0Client.GetEndpointAddress(EndpointConfiguration.Basic_IWcfService_4_4_0); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttps/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttps/Reference.cs index ec6e3259c56..44238582e14 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttps/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttps/Reference.cs @@ -2647,7 +2647,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Text_IWcfService)) { @@ -2673,7 +2673,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Text_IWcfService)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttp/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttp/Reference.cs index 59303f71608..1fb3087f179 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttp/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttp/Reference.cs @@ -2647,7 +2647,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Binary_IWcfService)) { @@ -2682,7 +2682,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Binary_IWcfService)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpWebSockets/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpWebSockets/Reference.cs index a330f427565..61e1acfdd7b 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpWebSockets/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpWebSockets/Reference.cs @@ -2654,7 +2654,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.NetHttpWebSockets_IWcfService)) { @@ -2668,7 +2668,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.NetHttpWebSockets_IWcfService)) { @@ -2677,12 +2677,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return WcfServiceClient.GetBindingForEndpoint(EndpointConfiguration.NetHttpWebSockets_IWcfService); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return WcfServiceClient.GetEndpointAddress(EndpointConfiguration.NetHttpWebSockets_IWcfService); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttps/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttps/Reference.cs index 86e29cb3597..9410e8b79c5 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttps/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttps/Reference.cs @@ -2647,7 +2647,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Binary_IWcfService)) { @@ -2684,7 +2684,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Binary_IWcfService)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpsWebSockets/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpsWebSockets/Reference.cs index 8aa3493be70..8e552217014 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpsWebSockets/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpsWebSockets/Reference.cs @@ -2654,7 +2654,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.NetHttpsWebSockets_IWcfService)) { @@ -2669,7 +2669,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.NetHttpsWebSockets_IWcfService)) { @@ -2678,12 +2678,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return WcfServiceClient.GetBindingForEndpoint(EndpointConfiguration.NetHttpsWebSockets_IWcfService); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return WcfServiceClient.GetEndpointAddress(EndpointConfiguration.NetHttpsWebSockets_IWcfService); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNettcpTransSecMessCredsUserName/TcpTransSecMessCredsUserName/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNettcpTransSecMessCredsUserName/TcpTransSecMessCredsUserName/Reference.cs index d0955d67e3c..3d6849c8608 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNettcpTransSecMessCredsUserName/TcpTransSecMessCredsUserName/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNettcpTransSecMessCredsUserName/TcpTransSecMessCredsUserName/Reference.cs @@ -2654,7 +2654,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Tcp_message_credentials_username_IWcfService)) { @@ -2669,7 +2669,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Tcp_message_credentials_username_IWcfService)) { @@ -2679,12 +2679,12 @@ private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointCo throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() + public static System.ServiceModel.Channels.Binding GetDefaultBinding() { return WcfServiceClient.GetBindingForEndpoint(EndpointConfiguration.Tcp_message_credentials_username_IWcfService); } - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + public static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return WcfServiceClient.GetEndpointAddress(EndpointConfiguration.Tcp_message_credentials_username_IWcfService); } diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeReliableSessionSvc/ReliableSessionService/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeReliableSessionSvc/ReliableSessionService/Reference.cs index 6aa2107b5f7..79287d94732 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeReliableSessionSvc/ReliableSessionService/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeReliableSessionSvc/ReliableSessionService/Reference.cs @@ -81,7 +81,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.NetHttpOrdered_WSReliableMessaging11_IWcfReliableService)) { @@ -236,7 +236,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.NetHttpOrdered_WSReliableMessaging11_IWcfReliableService)) { diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WsHttpBindingAndws2007HttpBindingTransSecMessCredsUserName/HttpsTransSecMessCredsUserName/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WsHttpBindingAndws2007HttpBindingTransSecMessCredsUserName/HttpsTransSecMessCredsUserName/Reference.cs index f6926cfe49a..60c7147cd02 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WsHttpBindingAndws2007HttpBindingTransSecMessCredsUserName/HttpsTransSecMessCredsUserName/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WsHttpBindingAndws2007HttpBindingTransSecMessCredsUserName/HttpsTransSecMessCredsUserName/Reference.cs @@ -2647,7 +2647,7 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.https_message_credentials_username_IWcfService)) { @@ -2674,7 +2674,7 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + public static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.https_message_credentials_username_IWcfService)) {