40 references to CodeAttributeArgument
dotnet-svcutil-lib (40)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (3)
90
generatedCodeAttribute.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(assemblyName.Name)));
91
generatedCodeAttribute.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(assemblyName.Version.ToString())));
138
new
CodeAttributeArgument
(new CodePrimitiveExpression(null)),
CodeDomFixup\CodeDomVisitors\AttributeFixer.cs (2)
78
attr.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(Tool.ToolName)));
79
attr.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(Tool.PackageVersion)));
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (6)
111
decl.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(assemblyName.Name)));
113
decl.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(version == null ? assemblyName.Version.ToString() : version)));
192
include.Arguments.Add(new
CodeAttributeArgument
(new CodeTypeOfExpression(derived.TypeDesc.FullName)));
205
include.Arguments.Add(new
CodeAttributeArgument
(new CodeTypeOfExpression(arrayMapping.TypeDesc.FullName)));
300
attribute.Arguments.Add(new
CodeAttributeArgument
(new CodeTypeOfExpression(derived.TypeDesc.FullName)));
316
attribute.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(constant.XmlName)));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (1)
211
attribute.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(elementName)));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (16)
194
attribute.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(name)));
246
arguments = new CodeAttributeArgument[] { new
CodeAttributeArgument
(valueExpression) };
254
arguments = new CodeAttributeArgument[] { new
CodeAttributeArgument
(valueExpression) };
264
arguments = new CodeAttributeArgument[] { new
CodeAttributeArgument
(typeofValue), new
CodeAttributeArgument
(valueExpression) };
278
arguments = new CodeAttributeArgument[] { new
CodeAttributeArgument
(typeofValue), new
CodeAttributeArgument
(valueExpression) };
303
arguments = new CodeAttributeArgument[] { new
CodeAttributeArgument
(typeofValue), new
CodeAttributeArgument
(valueExpression) };
310
arguments = new CodeAttributeArgument[] { new
CodeAttributeArgument
(typeofValue), new
CodeAttributeArgument
(valueExpression) };
798
attribute.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(member.ChoiceIdentifier.MemberName)));
862
attribute.Arguments.Add(new
CodeAttributeArgument
(new CodeTypeOfExpression(typeDesc.FullName)));
896
attribute.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(name)));
902
attribute.Arguments.Add(new
CodeAttributeArgument
(new CodeTypeOfExpression("System.Nullable`1[" + typeDesc.FullName + "]")));
907
attribute.Arguments.Add(new
CodeAttributeArgument
(new CodeTypeOfExpression(typeDesc.FullName)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (6)
514
generatedCodeAttribute.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(assemblyName.Name)));
515
generatedCodeAttribute.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(assemblyName.Version.ToString())));
1003
knownTypeAttribute.Arguments.Add(new
CodeAttributeArgument
(new CodeTypeOfExpression(GetCodeTypeReference(knownTypeContract))));
1209
new
CodeAttributeArgument
(NullReference),
1217
new
CodeAttributeArgument
(new CodePrimitiveExpression(Globals.ExportSchemaMethod)))
1277
namespaceAttribute.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(dataContractNamespace)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (1)
256
CodeAttributeArgument browsableAttributeValue = new
CodeAttributeArgument
(new CodeFieldReferenceExpression(browsableAttributeState, editorBrowsableState.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
112
knownTypeAttribute.Arguments.Add(new
CodeAttributeArgument
(new CodeTypeOfExpression(knownTypeReference)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (4)
500
generatedCodeAttribute.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(assemblyName.Name)));
501
generatedCodeAttribute.Arguments.Add(new
CodeAttributeArgument
(new CodePrimitiveExpression(assemblyName.Version.ToString())));
608
faultContractAttr.Arguments.Add(new
CodeAttributeArgument
(new CodeTypeOfExpression(exceptionTypeReference)));
825
attrDecl.Arguments.Add(new
CodeAttributeArgument
(ServiceContractGenerator.GetEnumReference<TransactionFlowOption>(attr.Transactions)));