190 instantiations of CodeAttributeArgument
PresentationBuildTasks (9)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (9)
1468CodeAttributeArgument caa = new CodeAttributeArgument(cfre); 1476new CodeAttributeArgument(new CodePrimitiveExpression(category)), 1477new CodeAttributeArgument(new CodePrimitiveExpression(rule))); 2172new CodeAttributeArgument(new CodePrimitiveExpression("Microsoft.Performance")), 2173new CodeAttributeArgument(new CodePrimitiveExpression("CA1823:AvoidUnusedPrivateFields")))); 2392new CodeAttributeArgument(new CodePrimitiveExpression(s_generatedCode_ToolName)), 2393new CodeAttributeArgument(new CodePrimitiveExpression(s_generatedCode_ToolVersion))); 2867new CodeAttributeArgument(new CodePrimitiveExpression(DefaultNamespace))); 3173new CodeAttributeArgument(new CodePrimitiveExpression(normalized)));
System.Activities (4)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (4)
155new CodeAttributeArgument(new CodePrimitiveExpression(currentAssemblyName.Name)), 156new CodeAttributeArgument(new CodePrimitiveExpression(currentAssemblyName.Version.ToString()))); 171new CodeAttributeArgument(new CodePrimitiveExpression(false))); 185new CodeAttributeArgument(new CodeFieldReferenceExpression(
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1548return new CodeAttributeDeclaration(name, new CodeAttributeArgument[] { new CodeAttributeArgument(value) });
System.Data.Entity.Design (3)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
375CodeAttributeArgument viewGenTypeArgument = new CodeAttributeArgument(viewGenTypeOfExpression);
System\Data\EntityModel\Emitters\AttributeEmitter.cs (2)
349attribute.Arguments.Add(new CodeAttributeArgument(expression)); 365attribute.Arguments.Add(new CodeAttributeArgument(arguments[i - 1].ToString(), expression));
System.Data.Services.Design (4)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (3)
31new CodeAttributeArgument(new CodePrimitiveExpression(_generatorName)), 32new CodeAttributeArgument(new CodePrimitiveExpression(_generatorVersion))); 159attribute.Arguments.Add(new CodeAttributeArgument(expression));
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
728CodeTypeReferenceOptions.GlobalReference), new CodeAttributeArgument(new CodePrimitiveExpression(entitySet.Name)));
System.Data.SqlXml (2)
System\Xml\Xsl\Xslt\Scripts.cs (1)
264new CodeAttributeArgument(
System\Xml\Xsl\XsltOld\Compiler.cs (1)
784new CodeAttributeArgument(
System.Management (20)
WmiGenerator.cs (20)
977caa = new CodeAttributeArgument(); 985caa = new CodeAttributeArgument(); 1019caa = new CodeAttributeArgument(); 1031caa = new CodeAttributeArgument(); 1058caa = new CodeAttributeArgument(); 1142caa = new CodeAttributeArgument(); 1157caa = new CodeAttributeArgument(); 1261caa = new CodeAttributeArgument(); 1269caa = new CodeAttributeArgument(); 1278caa = new CodeAttributeArgument(); 1303caa = new CodeAttributeArgument(); 1349caa = new CodeAttributeArgument(); 5053caa = new CodeAttributeArgument(); 5087caa = new CodeAttributeArgument(); 5424caa = new CodeAttributeArgument(); 5432caa = new CodeAttributeArgument(); 6075caa = new CodeAttributeArgument(); 6087caa = new CodeAttributeArgument(); 6301caa = new CodeAttributeArgument(); 6380caa = new CodeAttributeArgument();
System.Runtime.Serialization (27)
System\Runtime\Serialization\CodeExporter.cs (27)
519generatedCodeAttribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(assemblyName.Name))); 520generatedCodeAttribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(assemblyName.Version.ToString()))); 823dataContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.NameProperty, new CodePrimitiveExpression(dataContractName))); 824dataContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.NamespaceProperty, new CodePrimitiveExpression(classDataContract.StableName.Namespace))); 826dataContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.IsReferenceProperty, new CodePrimitiveExpression(classDataContract.IsReference))); 889dataMemberAttribute.Arguments.Add(new CodeAttributeArgument(Globals.NameProperty, new CodePrimitiveExpression(dataMemberName))); 891dataMemberAttribute.Arguments.Add(new CodeAttributeArgument(Globals.IsRequiredProperty, new CodePrimitiveExpression(dataMember.IsRequired))); 893dataMemberAttribute.Arguments.Add(new CodeAttributeArgument(Globals.EmitDefaultValueProperty, new CodePrimitiveExpression(dataMember.EmitDefaultValue))); 895dataMemberAttribute.Arguments.Add(new CodeAttributeArgument(Globals.OrderProperty, new CodePrimitiveExpression(dataMember.Order))); 1016knownTypeAttribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(GetCodeTypeReference(knownTypeContract)))); 1092dataContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.NameProperty, new CodePrimitiveExpression(dataContractName))); 1093dataContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.NamespaceProperty, new CodePrimitiveExpression(enumDataContract.StableName.Namespace))); 1112enumMemberAttribute.Arguments.Add(new CodeAttributeArgument(Globals.ValueProperty, new CodePrimitiveExpression(stringValue))); 1233collectionContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.NameProperty, new CodePrimitiveExpression(dataContractName))); 1234collectionContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.NamespaceProperty, new CodePrimitiveExpression(collectionContract.StableName.Namespace))); 1236collectionContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.IsReferenceProperty, new CodePrimitiveExpression(collectionContract.IsReference))); 1237collectionContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.ItemNameProperty, new CodePrimitiveExpression(GetNameForAttribute(collectionContract.ItemName)))); 1240collectionContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.KeyNameProperty, new CodePrimitiveExpression(GetNameForAttribute(collectionContract.KeyName)))); 1241collectionContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.ValueNameProperty, new CodePrimitiveExpression(GetNameForAttribute(collectionContract.ValueName)))); 1277new CodeAttributeArgument(NullReference), 1278new CodeAttributeArgument(Globals.IsAnyProperty, new CodePrimitiveExpression(true))) 1285new CodeAttributeArgument(new CodePrimitiveExpression(Globals.ExportSchemaMethod))) 1308xmlRootAttribute.Arguments.Add(new CodeAttributeArgument("ElementName", new CodePrimitiveExpression(xmlDataContract.TopLevelElementName.Value))); 1312xmlRootAttribute.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(xmlDataContract.TopLevelElementNamespace.Value))); 1316xmlRootAttribute.Arguments.Add(new CodeAttributeArgument("IsNullable", new CodePrimitiveExpression(false))); 1345namespaceAttribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(dataContractNamespace))); 1346namespaceAttribute.Arguments.Add(new CodeAttributeArgument(Globals.ClrNamespaceProperty, new CodePrimitiveExpression(clrNamespace)));
System.ServiceModel (30)
System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (1)
53attributeProperty = new CodeAttributeArgument(propertyName, newValue);
System\ServiceModel\Description\ClientClassGenerator.cs (1)
256CodeAttributeArgument browsableAttributeValue = new CodeAttributeArgument(new CodeFieldReferenceExpression(browsableAttributeState, editorBrowsableState.ToString()));
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (2)
112knownTypeAttribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(knownTypeReference))); 215dataContractAttributeDecl.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(part.Namespace)));
System\ServiceModel\Description\OperationGenerator.cs (7)
775messageContractAttr.Arguments.Add(new CodeAttributeArgument("ProtectionLevel", 787messageContractAttr.Arguments.Add(new CodeAttributeArgument("WrapperName", 789messageContractAttr.Arguments.Add(new CodeAttributeArgument("WrapperNamespace", 791messageContractAttr.Arguments.Add(new CodeAttributeArgument("IsWrapped", 795messageContractAttr.Arguments.Add(new CodeAttributeArgument("IsWrapped", 1013attr.Arguments.Add(new CodeAttributeArgument(field.Name, GetArgValue(fieldValue))); 1022attr.Arguments.Add(new CodeAttributeArgument(property.Name, GetArgValue(propertyValue)));
System\ServiceModel\Description\ServiceContractGenerator.cs (19)
404serviceContractAttr.Arguments.Add(new CodeAttributeArgument("Name", new CodePrimitiveExpression(friendlyName))); 408serviceContractAttr.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(context.Contract.Namespace))); 410serviceContractAttr.Arguments.Add(new CodeAttributeArgument("ConfigurationName", new CodePrimitiveExpression(NamespaceHelper.GetCodeTypeReference(context.Namespace, context.ContractType).BaseType))); 414serviceContractAttr.Arguments.Add(new CodeAttributeArgument("ProtectionLevel", 421serviceContractAttr.Arguments.Add(new CodeAttributeArgument("CallbackContract", new CodeTypeOfExpression(context.DuplexCallbackTypeReference))); 426serviceContractAttr.Arguments.Add(new CodeAttributeArgument("SessionMode", 455serviceOperationAttr.Arguments.Add(new CodeAttributeArgument("IsOneWay", new CodePrimitiveExpression(true))); 459serviceOperationAttr.Arguments.Add(new CodeAttributeArgument("IsTerminating", new CodePrimitiveExpression(true))); 463serviceOperationAttr.Arguments.Add(new CodeAttributeArgument("IsInitiating", new CodePrimitiveExpression(false))); 467serviceOperationAttr.Arguments.Add(new CodeAttributeArgument("AsyncPattern", new CodePrimitiveExpression(true))); 471serviceOperationAttr.Arguments.Add(new CodeAttributeArgument("ProtectionLevel", 554generatedCodeAttribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(assemblyName.Name))); 555generatedCodeAttribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(assemblyName.Version.ToString()))); 662faultContractAttr.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(exceptionTypeReference))); 664faultContractAttr.Arguments.Add(new CodeAttributeArgument("Action", new CodePrimitiveExpression(fault.Action))); 667faultContractAttr.Arguments.Add(new CodeAttributeArgument("ProtectionLevel", 674faultContractAttr.Arguments.Add(new CodeAttributeArgument("Name", new CodePrimitiveExpression(fault.ElementName.EncodedName))); 676faultContractAttr.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(fault.Namespace))); 880attrDecl.Arguments.Add(new CodeAttributeArgument(ServiceContractGenerator.GetEnumReference<TransactionFlowOption>(attr.Transactions)));
System.Web (24)
Compilation\AssemblyBuilder.cs (9)
523new CodeAttributeArgument(new CodePrimitiveExpression(CultureName))}); 533declaration.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression("ASP.NET"))); 534declaration.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(VersionInfo.SystemWebVersion))); 552new CodeAttributeArgument(new CodePrimitiveExpression(BuildManager.StrongNameKeyFile))); 562new CodeAttributeArgument(new CodePrimitiveExpression(BuildManager.StrongNameKeyContainer))); 572new CodeAttributeArgument(new CodePrimitiveExpression(true))); 593declaration = new CodeAttributeDeclaration(new CodeTypeReference(attrType), new CodeAttributeArgument(field)); 600declaration = new CodeAttributeDeclaration(new CodeTypeReference(attrType), new CodeAttributeArgument(field)); 609new CodeAttributeArgument(new CodePrimitiveExpression(BuildManager.TargetFramework.FullName)));
Compilation\BaseCodeDomTreeGenerator.cs (1)
174editorBrowsableAttribute.Arguments.Add(new CodeAttributeArgument(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(EditorBrowsableState)), "Never")));
Compilation\BaseTemplateCodeDomTreeGenerator.cs (2)
463new CodeAttributeArgument(new CodeTypeOfExpression(containerType))}); 473new CodeAttributeArgument(
Compilation\TemplateControlCodeDomTreeGenerator.cs (3)
301attrArgs.Add(new CodeAttributeArgument(new CodePrimitiveExpression(arg.Value))); 305attrArgs.Add(new CodeAttributeArgument(arg.MemberName, new CodePrimitiveExpression(arg.TypedValue.Value))); 313new CodeAttributeArgument(new CodePrimitiveExpression(p.DefaultValue)));
Compilation\UserControlCodeDomTreeGenerator.cs (7)
36CodeAttributeArgument attribArg = new CodeAttributeArgument( 39attribArg = new CodeAttributeArgument(new CodePrimitiveExpression(cacheSettings.VaryByParam)); 41attribArg = new CodeAttributeArgument(new CodePrimitiveExpression(cacheSettings.VaryByControl)); 43attribArg = new CodeAttributeArgument(new CodePrimitiveExpression(cacheSettings.VaryByCustom)); 45attribArg = new CodeAttributeArgument(new CodePrimitiveExpression(cacheSettings.SqlDependency)); 47attribArg = new CodeAttributeArgument(new CodePrimitiveExpression(Parser.FSharedPartialCaching)); 51attribArg = new CodeAttributeArgument("ProviderName", new CodePrimitiveExpression(Parser.Provider));
Configuration\BrowserCapabilitiesCodeGenerator.cs (2)
699new CodeAttributeArgument(new CodePrimitiveExpression(_strongNameKeyFileName))}); 710new CodeAttributeArgument(new CodePrimitiveExpression(ThisAssembly.Version))});
System.Web.Services (9)
System\Web\Services\Description\SoapProtocolImporter.cs (4)
445codeClass.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(DesignerCategoryAttribute).FullName, new CodeAttributeArgument[] { new CodeAttributeArgument(new CodePrimitiveExpression("code")) })); 450webService.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(targetNs))); 455attribute.Arguments.Add(new CodeAttributeArgument("Name", new CodePrimitiveExpression(XmlConvert.DecodeName(Binding.Name)))); 456attribute.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(Binding.ServiceDescription.TargetNamespace)));
System\Web\Services\Description\WebCodeGenerator.cs (5)
50decl.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(assemblyName.Name))); 52decl.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(version == null ? assemblyName.Version.ToString() : version))); 249arguments[i] = new CodeAttributeArgument(null, parameters[i]); 252arguments[parameters.Length + i] = new CodeAttributeArgument(propNames[i], propValues[i]); 356codeClass.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(DesignerCategoryAttribute).FullName, new CodeAttributeArgument[] { new CodeAttributeArgument(new CodePrimitiveExpression("code")) }));
System.Workflow.Activities (4)
WebServiceReceive.cs (4)
760CodeAttributeDeclaration attributeDeclaration = new CodeAttributeDeclaration("WebServiceBinding", new CodeAttributeArgument("ConformsTo", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("WsiProfiles"), "BasicProfile1_1")), new CodeAttributeArgument("EmitConformanceClaims", new CodePrimitiveExpression(true))); 793attrDecl.Arguments.Add(new CodeAttributeArgument("Description", new CodePrimitiveExpression(methodInfo.Name))); 794attrDecl.Arguments.Add(new CodeAttributeArgument("EnableSession", new CodePrimitiveExpression(false)));
System.Workflow.ComponentModel (2)
Shared\XomlSerializationHelpers.cs (2)
290xomlSourceAttribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(filePath))); 291xomlSourceAttribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(checksum)));
System.Xml (44)
System\Xml\Serialization\CodeExporter.cs (10)
107decl.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(assemblyName.Name))); 109decl.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(version == null ? assemblyName.Version.ToString() : version))); 173include.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(derived.TypeDesc.FullName))); 183include.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(arrayMapping.TypeDesc.FullName))); 238attribute.Arguments.Add(new CodeAttributeArgument("AnonymousType", new CodePrimitiveExpression(true))); 242attribute.Arguments.Add(new CodeAttributeArgument("TypeName", new CodePrimitiveExpression(name))); 246attribute.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(ns))); 249attribute.Arguments.Add(new CodeAttributeArgument("IncludeInSchema", new CodePrimitiveExpression(false))); 261attribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(derived.TypeDesc.FullName))); 275attribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(constant.XmlName)));
System\Xml\Serialization\SoapCodeExporter.cs (4)
112codeClass.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(DesignerCategoryAttribute).FullName, new CodeAttributeArgument[] {new CodeAttributeArgument(new CodePrimitiveExpression("code"))})); 196attribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(elementName))); 199attribute.Arguments.Add(new CodeAttributeArgument("DataType", new CodePrimitiveExpression(typeDesc.DataType.Name))); 202attribute.Arguments.Add(new CodeAttributeArgument("IsNullable", new CodePrimitiveExpression(true)));
System\Xml\Serialization\XmlCodeExporter.cs (30)
148codeClass.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(DesignerCategoryAttribute).FullName, new CodeAttributeArgument[] {new CodeAttributeArgument(new CodePrimitiveExpression("code"))})); 176attribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(name))); 179attribute.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(ns))); 182attribute.Arguments.Add(new CodeAttributeArgument("DataType", new CodePrimitiveExpression(typeMapping.TypeDesc.DataType.Name))); 185attribute.Arguments.Add(new CodeAttributeArgument("IsNullable", new CodePrimitiveExpression((bool)rootElement.IsNullable))); 220arguments = new CodeAttributeArgument[] {new CodeAttributeArgument(valueExpression)}; 228arguments = new CodeAttributeArgument[] {new CodeAttributeArgument(valueExpression)}; 237arguments = new CodeAttributeArgument[] {new CodeAttributeArgument(typeofValue), new CodeAttributeArgument(valueExpression)}; 250arguments = new CodeAttributeArgument[] {new CodeAttributeArgument(typeofValue), new CodeAttributeArgument(valueExpression)}; 271arguments = new CodeAttributeArgument[] {new CodeAttributeArgument(typeofValue), new CodeAttributeArgument(valueExpression)}; 277arguments = new CodeAttributeArgument[] {new CodeAttributeArgument(typeofValue), new CodeAttributeArgument(valueExpression)}; 694attribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(member.ChoiceIdentifier.MemberName))); 751attribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(typeDesc.FullName))); 754attribute.Arguments.Add(new CodeAttributeArgument("DataType", new CodePrimitiveExpression(dataType))); 778attribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(name))); 782attribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression("System.Nullable`1[" + typeDesc.FullName + "]"))); 786attribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(typeDesc.FullName))); 790attribute.Arguments.Add(new CodeAttributeArgument("Form", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(XmlSchemaForm).FullName), Enum.Format(typeof(XmlSchemaForm), form, "G")))); 797attribute.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(ns))); 800attribute.Arguments.Add(new CodeAttributeArgument("DataType", new CodePrimitiveExpression(dataTypeDesc.DataType.Name))); 803attribute.Arguments.Add(new CodeAttributeArgument("IsNullable", new CodePrimitiveExpression((bool)isNullable))); 806attribute.Arguments.Add(new CodeAttributeArgument("NestingLevel", new CodePrimitiveExpression(nestingLevel))); 809attribute.Arguments.Add(new CodeAttributeArgument("Order", new CodePrimitiveExpression(sequenceId))); 818attribute.Arguments.Add(new CodeAttributeArgument("Name", new CodePrimitiveExpression(name))); 821attribute.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(ns))); 824attribute.Arguments.Add(new CodeAttributeArgument("Order", new CodePrimitiveExpression(sequenceId)));
XamlBuildTask (7)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (7)
82new CodeAttributeArgument(new CodePrimitiveExpression(assemblyName.Name)), 83new CodeAttributeArgument(new CodePrimitiveExpression(assemblyName.Version.ToString()))); 197new CodeAttributeArgument(new CodePrimitiveExpression(false))); 224arguments[i] = new CodeAttributeArgument(GetCodeExpressionForAttributeArgument(attrib, attrib.Parameters[i], classData)); 228arguments[i] = new CodeAttributeArgument(propertyEntry.Key, GetCodeExpressionForAttributeArgument(attrib, propertyEntry.Value, classData)); 839new CodeAttributeArgument(new CodePrimitiveExpression("Microsoft.Design")), 840new CodeAttributeArgument(new CodePrimitiveExpression("CA1033"))
69 references to CodeAttributeArgument
PresentationBuildTasks (1)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1468CodeAttributeArgument caa = new CodeAttributeArgument(cfre);
System (31)
compmod\microsoft\csharp\csharpcodeprovider.cs (2)
2607private void OutputAttributeArgument(CodeAttributeArgument arg) { 3082foreach (CodeAttributeArgument arg in current.Arguments) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
646protected override void OutputAttributeArgument(CodeAttributeArgument arg) { 688foreach (CodeAttributeArgument arg in current.Arguments) {
compmod\system\codedom\CodeAttributeArgument.cs (3)
33/// Initializes a new instance of <see cref='System.CodeDom.CodeAttributeArgument'/>. 41/// Initializes a new instance of <see cref='System.CodeDom.CodeAttributeArgument'/> using the specified value. 50/// Initializes a new instance of <see cref='System.CodeDom.CodeAttributeArgument'/> using the specified name and
compmod\system\codedom\CodeAttributeArgumentCollection.cs (18)
17/// A collection that stores <see cref='System.CodeDom.CodeAttributeArgument'/> objects. 46/// Initializes a new instance of <see cref='System.CodeDom.CodeAttributeArgumentCollection'/> containing any array of <see cref='System.CodeDom.CodeAttributeArgument'/> objects. 49public CodeAttributeArgumentCollection(CodeAttributeArgument[] value) { 54/// <para>Represents the entry at the specified index of the <see cref='System.CodeDom.CodeAttributeArgument'/>.</para> 56public CodeAttributeArgument this[int index] { 58return ((CodeAttributeArgument)(List[index])); 66/// <para>Adds a <see cref='System.CodeDom.CodeAttributeArgument'/> with the specified value to the 69public int Add(CodeAttributeArgument value) { 76public void AddRange(CodeAttributeArgument[] value) { 102/// <see cref='System.CodeDom.CodeAttributeArgumentCollection'/> contains the specified <see cref='System.CodeDom.CodeAttributeArgument'/>.</para> 104public bool Contains(CodeAttributeArgument value) { 112public void CopyTo(CodeAttributeArgument[] array, int index) { 117/// <para>Returns the index of a <see cref='System.CodeDom.CodeAttributeArgument'/> in 120public int IndexOf(CodeAttributeArgument value) { 125/// <para>Inserts a <see cref='System.CodeDom.CodeAttributeArgument'/> into the <see cref='System.CodeDom.CodeAttributeArgumentCollection'/> at the specified index.</para> 127public void Insert(int index, CodeAttributeArgument value) { 132/// <para> Removes a specific <see cref='System.CodeDom.CodeAttributeArgument'/> from the 135public void Remove(CodeAttributeArgument value) {
compmod\system\codedom\CodeAttributeDeclaration.cs (2)
57public CodeAttributeDeclaration(string name, params CodeAttributeArgument[] arguments) { 65public CodeAttributeDeclaration(CodeTypeReference attributeType, params CodeAttributeArgument[] arguments) {
compmod\system\codedom\compiler\CodeGenerator.cs (2)
994foreach (CodeAttributeArgument arg in current.Arguments) { 1017protected virtual void OutputAttributeArgument(CodeAttributeArgument arg) {
compmod\system\codedom\compiler\CodeValidator.cs (2)
153foreach (CodeAttributeArgument arg in current.Arguments) { 159private void ValidateAttributeArgument(CodeAttributeArgument arg) {
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1548return new CodeAttributeDeclaration(name, new CodeAttributeArgument[] { new CodeAttributeArgument(value) });
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
375CodeAttributeArgument viewGenTypeArgument = new CodeAttributeArgument(viewGenTypeOfExpression);
System.Management (1)
WmiGenerator.cs (1)
91private CodeAttributeArgument caa;
System.ServiceModel (6)
System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (3)
49CodeAttributeArgument attributeProperty = TryGetAttributeProperty(attribute, propertyName); 60public static CodeAttributeArgument TryGetAttributeProperty(CodeAttributeDeclaration attribute, string propertyName) 67foreach (CodeAttributeArgument argument in attribute.Arguments)
System\ServiceModel\Description\ClientClassGenerator.cs (1)
256CodeAttributeArgument browsableAttributeValue = new CodeAttributeArgument(new CodeFieldReferenceExpression(browsableAttributeState, editorBrowsableState.ToString()));
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
204foreach (CodeAttributeArgument attrArg in dataContractAttributeDecl.Arguments)
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
170foreach (CodeAttributeArgument argument in include.Arguments)
System.Web (7)
Compilation\AssemblyBuilder.cs (1)
522new CodeAttributeArgument[] {
Compilation\BaseTemplateCodeDomTreeGenerator.cs (2)
462new CodeAttributeArgument[] { 472new CodeAttributeArgument[] {
Compilation\TemplateControlCodeDomTreeGenerator.cs (1)
299var attrArgs = new List<CodeAttributeArgument>();
Compilation\UserControlCodeDomTreeGenerator.cs (1)
36CodeAttributeArgument attribArg = new CodeAttributeArgument(
Configuration\BrowserCapabilitiesCodeGenerator.cs (2)
698new CodeAttributeArgument[] { 709new CodeAttributeArgument[] {
System.Web.Extensions (1)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
1689foreach (CodeAttributeArgument argument in codeAttribute.Arguments)
System.Web.Services (5)
System\Web\Services\Description\SoapProtocolImporter.cs (1)
445codeClass.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(DesignerCategoryAttribute).FullName, new CodeAttributeArgument[] { new CodeAttributeArgument(new CodePrimitiveExpression("code")) }));
System\Web\Services\Description\WebCodeGenerator.cs (4)
232internal static CodeAttributeDeclarationCollection AddCustomAttribute(CodeAttributeDeclarationCollection metadata, Type type, CodeAttributeArgument[] arguments) { 246CodeAttributeArgument[] arguments = new CodeAttributeArgument[count]; 356codeClass.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(DesignerCategoryAttribute).FullName, new CodeAttributeArgument[] { new CodeAttributeArgument(new CodePrimitiveExpression("code")) }));
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
160foreach (CodeAttributeArgument codeArgument in codeAttribute.Arguments)
System.Xml (11)
System\Xml\Serialization\SoapCodeExporter.cs (1)
112codeClass.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(DesignerCategoryAttribute).FullName, new CodeAttributeArgument[] {new CodeAttributeArgument(new CodePrimitiveExpression("code"))}));
System\Xml\Serialization\XmlCodeExporter.cs (10)
148codeClass.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(DesignerCategoryAttribute).FullName, new CodeAttributeArgument[] {new CodeAttributeArgument(new CodePrimitiveExpression("code"))})); 190CodeAttributeArgument[] GetDefaultValueArguments(PrimitiveMapping mapping, object value, out CodeExpression initExpression) { 197CodeAttributeArgument[] arguments = null; 220arguments = new CodeAttributeArgument[] {new CodeAttributeArgument(valueExpression)}; 228arguments = new CodeAttributeArgument[] {new CodeAttributeArgument(valueExpression)}; 237arguments = new CodeAttributeArgument[] {new CodeAttributeArgument(typeofValue), new CodeAttributeArgument(valueExpression)}; 250arguments = new CodeAttributeArgument[] {new CodeAttributeArgument(typeofValue), new CodeAttributeArgument(valueExpression)}; 271arguments = new CodeAttributeArgument[] {new CodeAttributeArgument(typeofValue), new CodeAttributeArgument(valueExpression)}; 277arguments = new CodeAttributeArgument[] {new CodeAttributeArgument(typeofValue), new CodeAttributeArgument(valueExpression)}; 436CodeAttributeArgument[] arguments = null;
XamlBuildTask (3)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (3)
220CodeAttributeArgument[] arguments = new CodeAttributeArgument[attrib.Parameters.Count + attrib.Properties.Count]; 838CodeAttributeArgument[] suppressMessageArguments = {