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