5 references to GenerateAttributeDeclaration
System.ServiceModel (5)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (3)
83
context.SyncMethod.CustomAttributes.Add(OperationGenerator.
GenerateAttributeDeclaration
(context.Contract.ServiceContractGenerator, dataContractFormatAttribute));
220
fieldAttributes.Add(OperationGenerator.
GenerateAttributeDeclaration
(context.Contract.ServiceContractGenerator, dataMemberAttribute));
233
typeAttributes.Add(OperationGenerator.
GenerateAttributeDeclaration
(context.Contract.ServiceContractGenerator, new DataContractAttribute()));
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (2)
147
context.SyncMethod.CustomAttributes.Add(OperationGenerator.
GenerateAttributeDeclaration
(context.Contract.ServiceContractGenerator, xmlSerializerFormatAttribute));
252
typeAttributes.Add(OperationGenerator.
GenerateAttributeDeclaration
(context.Contract.ServiceContractGenerator, xmlType));