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