1 write to Value
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.CodeDom\System\CodePrimitiveExpression.cs (1)
44
Value
= value;
56 references to Value
dotnet-svcutil-lib (56)
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (1)
538
return !(bool)((CodePrimitiveExpression)arg.Value).
Value
;
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (22)
1750
if (e.
Value
== null)
1754
else if (e.
Value
is string)
1756
Output.Write(QuoteSnippetString((string)e.
Value
));
1758
else if (e.
Value
is char)
1760
Output.Write("'" + e.
Value
.ToString() + "'");
1762
else if (e.
Value
is byte)
1764
Output.Write(((byte)e.
Value
).ToString());
1766
else if (e.
Value
is Int16)
1768
Output.Write(((Int16)e.
Value
).ToString());
1770
else if (e.
Value
is Int32)
1772
Output.Write(((Int32)e.
Value
).ToString());
1774
else if (e.
Value
is Int64)
1776
Output.Write(((Int64)e.
Value
).ToString());
1778
else if (e.
Value
is Single)
1780
GenerateSingleFloatValue((Single)e.
Value
);
1782
else if (e.
Value
is Double)
1784
GenerateDoubleValue((Double)e.
Value
);
1786
else if (e.
Value
is Decimal)
1788
GenerateDecimalValue((Decimal)e.
Value
);
1790
else if (e.
Value
is bool)
1792
if ((bool)e.
Value
)
1803
throw new ArgumentException(string.Format(SRCodeDom.InvalidPrimitiveType, e.
Value
.GetType().ToString()));
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (32)
1313
if (e.
Value
is char)
1315
GeneratePrimitiveChar((char)e.
Value
);
1317
else if (e.
Value
is SByte)
1320
Output.Write(((SByte)e.
Value
).ToString());
1322
else if (e.
Value
is UInt16)
1326
Output.Write(((UInt16)e.
Value
).ToString());
1328
else if (e.
Value
is UInt32)
1330
Output.Write(((UInt32)e.
Value
).ToString());
1333
else if (e.
Value
is UInt64)
1335
Output.Write(((UInt64)e.
Value
).ToString());
1352
if (e.
Value
== null)
1356
else if (e.
Value
is string)
1358
Output.Write(QuoteSnippetString((string)e.
Value
));
1360
else if (e.
Value
is char)
1362
Output.Write("'" + e.
Value
.ToString() + "'");
1364
else if (e.
Value
is byte)
1366
Output.Write(((byte)e.
Value
).ToString());
1368
else if (e.
Value
is Int16)
1370
Output.Write(((Int16)e.
Value
).ToString());
1372
else if (e.
Value
is Int32)
1374
Output.Write(((Int32)e.
Value
).ToString());
1376
else if (e.
Value
is Int64)
1378
Output.Write(((Int64)e.
Value
).ToString());
1380
else if (e.
Value
is Single)
1382
GenerateSingleFloatValue((Single)e.
Value
);
1384
else if (e.
Value
is Double)
1386
GenerateDoubleValue((Double)e.
Value
);
1388
else if (e.
Value
is Decimal)
1390
GenerateDecimalValue((Decimal)e.
Value
);
1392
else if (e.
Value
is bool)
1394
if ((bool)e.
Value
)
1405
throw new ArgumentException(string.Format(SRCodeDom.InvalidPrimitiveType, e.
Value
.GetType().ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
208
string nsValue = ((CodePrimitiveExpression)attrArg.Value).
Value
.ToString();