50 references to Value
mscorlib (27)
system\diagnostics\eventing\eventsource.cs (2)
3172attr = (Attribute)Activator.CreateInstance(attributeType, new object[] { data.ConstructorArguments[0].Value }); 3186object value = namedArgument.TypedValue.Value;
system\reflection\customattribute.cs (7)
919return String.Format(CultureInfo.CurrentCulture, typed ? "{0}" : "({1}){0}", Value, ArgumentType.FullName); 921else if (Value == null) 925return String.Format(CultureInfo.CurrentCulture, "\"{0}\"", Value); 928return String.Format(CultureInfo.CurrentCulture, "'{0}'", Value); 931return String.Format(CultureInfo.CurrentCulture, "typeof({0})", ((Type)Value).FullName); 936IList<CustomAttributeTypedArgument> array = Value as IList<CustomAttributeTypedArgument>; 947return String.Format(CultureInfo.CurrentCulture, typed ? "{0}" : "({1}){0}", Value, ArgumentType.Name);
system\reflection\parameterinfo.cs (1)
626return new DateTime((long)value.Value);
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\customconstantattribute.cs (1)
23return namedArgument.TypedValue.Value;
system\runtime\compilerservices\datetimeconstantattribute.cs (2)
38return new DateTime((long)namedArgument.TypedValue.Value); 43return new DateTime((long)attr.ConstructorArguments[0].Value);
system\runtime\compilerservices\decimalconstantattribute.cs (11)
62return (Decimal)namedArgument.TypedValue.Value; 75int low = (int)(UInt32)args[4].Value; 76int mid = (int)(UInt32)args[3].Value; 77int hi = (int)(UInt32)args[2].Value; 78byte sign = (byte)args[1].Value; 79byte scale = (byte)args[0].Value; 86int low = (int)args[4].Value; 87int mid = (int)args[3].Value; 88int hi = (int)args[2].Value; 89byte sign = (byte)args[1].Value; 90byte scale = (byte)args[0].Value;
system\runtime\interopservices\marshal.cs (1)
2367String strProgId = (String)progIdConstructorArg.Value;
PresentationBuildTasks (10)
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 (4)
259xmlns = tca.Value as String; 261clrns = tca.Value as String; 279oldXmlns = tca.Value as String; 281newXmlns = tca.Value as String;
Shared\System\Windows\Markup\ReflectionHelper.cs (2)
307attrValue = tca.Value as String; 310typeValue = tca.Value as Type;
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 (4)
System\Addin\Hosting\InspectionWorker.cs (2)
283ReadOnlyCollection<CustomAttributeTypedArgument> types = (ReadOnlyCollection<CustomAttributeTypedArgument>)arg.Value; 288activatableAs[i++] = new TypeInfo((Type)subArg.Value);
System\Addin\Hosting\Store\PipelineComponent.cs (2)
93String key = (String)args[0].Value; 94String val = (String)args[1].Value;
System.Web (2)
Compilation\TemplateControlCodeDomTreeGenerator.cs (2)
301attrArgs.Add(new CodeAttributeArgument(new CodePrimitiveExpression(arg.Value))); 305attrArgs.Add(new CodeAttributeArgument(arg.MemberName, new CodePrimitiveExpression(arg.TypedValue.Value)));
WindowsBase (2)
Shared\System\Windows\Markup\ReflectionHelper.cs (2)
307attrValue = tca.Value as String; 310typeValue = tca.Value as Type;
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (2)
316visible = (bool)cad.ConstructorArguments[0].Value; 337visible = (bool)cad.ConstructorArguments[0].Value;