12 references to ReturnTypeCustomAttributes
System (6)
compmod\microsoft\csharp\csharpcodeprovider.cs (2)
1861
if (e.
ReturnTypeCustomAttributes
.Count > 0) {
1862
GenerateAttributes(e.
ReturnTypeCustomAttributes
, "return: ");
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
1885
if (e.
ReturnTypeCustomAttributes
.Count > 0) {
1886
OutputAttributes(e.
ReturnTypeCustomAttributes
, true);
compmod\system\codedom\compiler\CodeValidator.cs (2)
304
if (e.
ReturnTypeCustomAttributes
.Count > 0) {
305
ValidateAttributes(e.
ReturnTypeCustomAttributes
);
System.ServiceModel (2)
System\ServiceModel\Description\OperationGenerator.cs (2)
262
ParameterizedMessageHelper.GenerateMessageParameterAttribute(this.Response.Body.ReturnValue, this.EndMethod.
ReturnTypeCustomAttributes
, TypeLoader.GetReturnValueName(this.DefaultName), this.DefaultNS);
263
AddAdditionalAttributes(this.Response.Body.ReturnValue, this.EndMethod.
ReturnTypeCustomAttributes
, this.IsEncoded);
System.Web.Services (4)
System\Web\Services\Description\HttpProtocolImporter.cs (1)
162
AppendMetadata(method.MimeReturn.Attributes, mainCodeMethod.
ReturnTypeCustomAttributes
);
System\Web\Services\Description\SoapProtocolImporter.cs (3)
820
soapExporter.AddMappingMetadata(mainCodeMethod.
ReturnTypeCustomAttributes
, parameters.Return, parameters.Return.ElementName != uniqueMethodName + "Result");
822
xmlExporter.AddMappingMetadata(mainCodeMethod.
ReturnTypeCustomAttributes
, parameters.Return, response.Namespace, parameters.Return.ElementName != uniqueMethodName + "Result");
824
if (mainCodeMethod.
ReturnTypeCustomAttributes
.Count != 0 && !ServiceImporter.CodeGenerator.Supports(GeneratorSupport.ReturnTypeAttributes)) {