25 references to CodeAttributeArgument
Microsoft.Build.Tasks.Core (5)
system.design\stronglytypedresourcebuilder.cs (5)
304var toolArg = new CodeAttributeArgument(new CodePrimitiveExpression(typeof(StronglyTypedResourceBuilder).FullName)); 305var versionArg = new CodeAttributeArgument(new CodePrimitiveExpression(MSBuildConstants.CurrentAssemblyVersion)); 341suppressMessageAttrib.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression("Microsoft.Performance"))); 342suppressMessageAttrib.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression("CA1811:AvoidUncalledPrivateCode"))); 410var editorBrowsableStateAdvanced = new CodeAttributeArgument(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(editorBrowsableStateTypeRef), "Advanced"));
PresentationBuildTasks (9)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (9)
1481CodeAttributeArgument caa = new CodeAttributeArgument(cfre); 1489new CodeAttributeArgument(new CodePrimitiveExpression(category)), 1490new CodeAttributeArgument(new CodePrimitiveExpression(rule))); 2227new CodeAttributeArgument(new CodePrimitiveExpression("Microsoft.Performance")), 2228new CodeAttributeArgument(new CodePrimitiveExpression("CA1823:AvoidUnusedPrivateFields")))); 2447new CodeAttributeArgument(new CodePrimitiveExpression(s_generatedCode_ToolName)), 2448new CodeAttributeArgument(new CodePrimitiveExpression(s_generatedCode_ToolVersion))); 2986new CodeAttributeArgument(new CodePrimitiveExpression(DefaultNamespace))); 3298new CodeAttributeArgument(new CodePrimitiveExpression(normalized)));
System.Runtime.Serialization.Schema (6)
System\Runtime\Serialization\Schema\CodeExporter.cs (6)
521generatedCodeAttribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(assemblyName.Name!))); 522generatedCodeAttribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(assemblyName.Version?.ToString()!))); 998knownTypeAttribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(GetCodeTypeReference(knownTypeContract)))); 1293new CodeAttributeArgument(NullReference), 1301new CodeAttributeArgument(new CodePrimitiveExpression(ImportGlobals.ExportSchemaMethod))) 1361namespaceAttribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(dataContractNamespace)));
System.Windows.Forms.Design (5)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (5)
444CodeAttributeArgument toolArg = new(new CodePrimitiveExpression(typeof(StronglyTypedResourceBuilder).FullName)); 448new(new CodePrimitiveExpression( 492suppressAttribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression("Microsoft.Performance"))); 493suppressAttribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression("CA1811:AvoidUncalledPrivateCode"))); 542CodeAttributeArgument editorBrowsableStateAdvanced = new(