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