3 references to AsyncMethodNameSuffix
System.ServiceModel (3)
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
375CodeMemberMethod taskBasedAsyncMethod = new CodeMemberMethod { Name = syncMethodName + ServiceReflector.AsyncMethodNameSuffix };
System\ServiceModel\Description\ServiceReflector.cs (2)
980else if (isTask && method.Name.EndsWith(AsyncMethodNameSuffix, StringComparison.Ordinal)) 982return method.Name.Substring(0, method.Name.Length - AsyncMethodNameSuffix.Length);