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