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