28 references to ConstructorArguments
mscorlib (13)
system\diagnostics\eventing\eventsource.cs (4)
3168
Contract.Assert(data.
ConstructorArguments
.Count <= 1);
3170
if (data.
ConstructorArguments
.Count == 1)
3172
attr = (Attribute)Activator.CreateInstance(attributeType, new object[] { data.
ConstructorArguments
[0].Value });
3174
else if (data.
ConstructorArguments
.Count == 0)
system\reflection\customattribute.cs (3)
346
return attrs[i].
ConstructorArguments
[parameter];
505
for (int i = 0; i <
ConstructorArguments
.Count; i ++)
506
ctorArgs += String.Format(CultureInfo.CurrentCulture, i == 0 ? "{0}" : ", {0}",
ConstructorArguments
[i]);
system\resources\resourcemanager.cs (1)
881
v = (String)data.
ConstructorArguments
[0].Value;
system\rttype.cs (1)
1801
m_defaultMemberName = attr.
ConstructorArguments
[0].Value as string;
system\runtime\compilerservices\datetimeconstantattribute.cs (2)
32
Contract.Requires(attr.
ConstructorArguments
.Count == 1);
43
return new DateTime((long)attr.
ConstructorArguments
[0].Value);
system\runtime\compilerservices\decimalconstantattribute.cs (1)
69
System.Collections.Generic.IList<CustomAttributeTypedArgument> args = attr.
ConstructorArguments
;
system\runtime\interopservices\marshal.cs (1)
2361
IList<CustomAttributeTypedArgument> caConstructorArgs = cas[i].
ConstructorArguments
;
PresentationBuildTasks (7)
Framework\System\Windows\Markup\ParserContext.cs (3)
903
constructorArgumentName = attributeData.
ConstructorArguments
[0].Value as string;
912
bracketCharacters.AddBracketCharacters((char)attributeData.
ConstructorArguments
[0].Value, (char)attributeData.
ConstructorArguments
[1].Value);
Framework\System\Windows\Markup\XamlReaderHelper.cs (1)
4908
contentWrapper = attributes[i].
ConstructorArguments
[0].Value as Type;
Framework\System\Windows\Markup\XmlnsCache.cs (2)
254
IList<CustomAttributeTypedArgument> constructorArguments = data.
ConstructorArguments
;
274
IList<CustomAttributeTypedArgument> constructorArguments = data.
ConstructorArguments
;
Shared\System\Windows\Markup\ReflectionHelper.cs (1)
303
IList<CustomAttributeTypedArgument> constructorArguments = cad.
ConstructorArguments
;
PresentationFramework (3)
src\Framework\System\Windows\Markup\ParserContext.cs (3)
903
constructorArgumentName = attributeData.
ConstructorArguments
[0].Value as string;
912
bracketCharacters.AddBracketCharacters((char)attributeData.
ConstructorArguments
[0].Value, (char)attributeData.
ConstructorArguments
[1].Value);
System.AddIn (1)
System\Addin\Hosting\Store\PipelineComponent.cs (1)
92
IList<CustomAttributeTypedArgument> args = ca.
ConstructorArguments
;
System.Web (1)
Compilation\TemplateControlCodeDomTreeGenerator.cs (1)
300
foreach (var arg in attr.
ConstructorArguments
) {
WindowsBase (1)
Shared\System\Windows\Markup\ReflectionHelper.cs (1)
303
IList<CustomAttributeTypedArgument> constructorArguments = cad.
ConstructorArguments
;
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (2)
316
visible = (bool)cad.
ConstructorArguments
[0].Value;
337
visible = (bool)cad.
ConstructorArguments
[0].Value;