59 writes to flags
mscorlib (59)
system\globalization\datetimeparse.cs (59)
65
result.
flags
|= ParseFlags.CaptureOffset;
91
resultData.
flags
|= ParseFlags.CaptureOffset;
142
result.
flags
|= ParseFlags.CaptureOffset;
158
resultData.
flags
|= ParseFlags.CaptureOffset;
216
innerResult.
flags
= result.flags;
585
result.
flags
|= ParseFlags.TimeZoneUsed;
1061
result.
flags
|= ParseFlags.TimeZoneUsed;
1063
result.
flags
|= ParseFlags.TimeZoneUtc;
1102
result.
flags
|= ParseFlags.TimeZoneUsed;
1487
result.
flags
|= ParseFlags.YearDefault;
1514
result.
flags
|= ParseFlags.HaveDate;
1521
result.
flags
|= ParseFlags.HaveDate;
1552
result.
flags
|= ParseFlags.HaveDate;
1558
result.
flags
|= ParseFlags.HaveDate;
1564
result.
flags
|= ParseFlags.HaveDate;
1570
result.
flags
|= ParseFlags.HaveDate;
1726
result.
flags
|= ParseFlags.HaveDate;
1732
result.
flags
|= ParseFlags.HaveDate;
1741
result.
flags
|= ParseFlags.HaveDate;
1747
result.
flags
|= ParseFlags.HaveDate;
1756
result.
flags
|= ParseFlags.HaveDate;
1762
result.
flags
|= ParseFlags.HaveDate;
1787
result.
flags
|= ParseFlags.HaveDate;
1793
result.
flags
|= ParseFlags.HaveDate;
1820
result.
flags
|= ParseFlags.HaveDate;
1825
result.
flags
|= ParseFlags.HaveDate;
1843
result.
flags
|= ParseFlags.HaveDate;
1860
result.
flags
|= ParseFlags.HaveDate;
1877
result.
flags
|= ParseFlags.HaveDate;
1943
result.
flags
|= ParseFlags.HaveTime;
1958
result.
flags
|= ParseFlags.HaveTime;
1973
result.
flags
|= ParseFlags.HaveTime;
2064
result.
flags
|= ParseFlags.HaveYear;
2071
result.
flags
|= ParseFlags.HaveMonth;
2078
result.
flags
|= ParseFlags.HaveDay;
2085
result.
flags
|= ParseFlags.HaveHour;
2092
result.
flags
|= ParseFlags.HaveMinute;
2099
result.
flags
|= ParseFlags.HaveSecond;
2289
result.
flags
|= ParseFlags.CaptureOffset;
2316
parseResult.
flags
|= ParseFlags.CaptureOffset;
2590
result.
flags
|= ParseFlags.TimeZoneUsed;
2604
result.
flags
|= ParseFlags.TimeZoneUsed;
2796
result.
flags
|= ParseFlags.TimeZoneUsed;
2802
result.
flags
|= ParseFlags.TimeZoneUsed;
2804
result.
flags
|= ParseFlags.TimeZoneUtc;
3464
result.
flags
|= ParseFlags.Rfc1123Pattern;
3476
result.
flags
|= ParseFlags.UtcSortPattern;
3481
result.
flags
|= ParseFlags.TimeZoneUsed;
3483
result.
flags
|= ParseFlags.TimeZoneUtc;
3582
result.
flags
|= ParseFlags.ParsedMonthName;
3734
result.
flags
|= ParseFlags.TimeZoneUsed;
3743
result.
flags
|= ParseFlags.TimeZoneUsed;
3745
result.
flags
|= ParseFlags.TimeZoneUtc;
3766
result.
flags
|= ParseFlags.TimeZoneUsed;
3768
result.
flags
|= ParseFlags.TimeZoneUtc;
3782
result.
flags
|= ParseFlags.TimeZoneUsed;
3838
result.
flags
|= ParseFlags.TimeZoneUsed;
3842
result.
flags
|= ParseFlags.TimeZoneUsed;
3920
result.
flags
|= ParseFlags.TimeZoneUsed;
51 references to flags
mscorlib (51)
system\globalization\datetimeparse.cs (51)
216
innerResult.flags = result.
flags
;
580
if ((result.
flags
& ParseFlags.TimeZoneUsed) != 0) {
1054
if ((result.
flags
& ParseFlags.TimeZoneUsed) != 0) {
1092
if (Environment.GetCompatibilityFlag(CompatibilityFlag.DateTimeParseIgnorePunctuation) && ((result.
flags
& ParseFlags.CaptureOffset) == 0)) {
1099
if ((str.m_current == '-' || str.m_current == '+') && ((result.
flags
& ParseFlags.TimeZoneUsed) == 0)) {
1493
if ((result.
flags
& ParseFlags.HaveDate) != 0) {
1532
if ((result.
flags
& ParseFlags.HaveDate) != 0) {
1580
if ((result.
flags
& ParseFlags.HaveDate) != 0) {
1656
if ((result.
flags
& ParseFlags.HaveDate) != 0) {
1705
if ((result.
flags
& ParseFlags.HaveDate) != 0) {
1773
if ((result.
flags
& ParseFlags.HaveDate) != 0) {
1803
if ((result.
flags
& ParseFlags.HaveDate) != 0) {
1836
if ((result.
flags
& ParseFlags.HaveDate) != 0) {
1852
if ((result.
flags
& ParseFlags.HaveDate) != 0) {
1869
if ((result.
flags
& ParseFlags.HaveDate) != 0) {
1929
if ((result.
flags
& ParseFlags.HaveTime) != 0) {
1950
if ((result.
flags
& ParseFlags.HaveTime) != 0) {
1964
if ((result.
flags
& ParseFlags.HaveTime) != 0) {
2022
if ((result.
flags
& ParseFlags.HaveYear) != 0) {
2023
if (((result.
flags
& ParseFlags.HaveMonth) == 0) && ((result.
flags
& ParseFlags.HaveDay) == 0)) {
2029
else if ((result.
flags
& ParseFlags.HaveMonth) != 0) {
2030
if (((result.
flags
& ParseFlags.HaveYear) == 0) && ((result.
flags
& ParseFlags.HaveDay) == 0)) {
2061
if ((result.
flags
& ParseFlags.HaveYear) != 0) {
2068
if ((result.
flags
& ParseFlags.HaveMonth) != 0) {
2075
if ((result.
flags
& ParseFlags.HaveDay) != 0) {
2082
if ((result.
flags
& ParseFlags.HaveHour) != 0) {
2089
if ((result.
flags
& ParseFlags.HaveMinute) != 0) {
2096
if ((result.
flags
& ParseFlags.HaveSecond) != 0) {
2561
if ((result.
flags
& ParseFlags.CaptureOffset) != 0) {
2579
if ((result.
flags
& ParseFlags.TimeZoneUsed) == 0) {
2615
if (((styles & DateTimeStyles.RoundtripKind) != 0) && ((result.
flags
& ParseFlags.TimeZoneUtc) != 0)) {
2631
if ((result.
flags
& ParseFlags.TimeZoneUsed) == 0) {
2664
if (((result.
flags
& ParseFlags.TimeZoneUsed) == 0) && ((styles & DateTimeStyles.AssumeUniversal) == 0)) {
3345
if ((result.
flags
& ParseFlags.CaptureOffset) != 0) {
3346
if ((result.
flags
& ParseFlags.TimeZoneUsed) != 0) {
3362
if ((result.
flags
& ParseFlags.CaptureOffset) != 0) {
3374
&& ((result.Year == -1 || ((result.
flags
& ParseFlags.YearDefault) != 0)) && (result.
flags
& ParseFlags.TimeZoneUsed) != 0) ) {
3463
if ((result.
flags
& ParseFlags.CaptureOffset) != 0) {
3475
if ((result.
flags
& ParseFlags.CaptureOffset) != 0) {
3729
if ((result.
flags
& ParseFlags.TimeZoneUsed) != 0 && tempTimeZoneOffset != result.timeZoneOffset) {
3738
if ((result.
flags
& ParseFlags.TimeZoneUsed) != 0 && result.timeZoneOffset != TimeSpan.Zero) {
3761
if ((result.
flags
& ParseFlags.TimeZoneUsed) != 0 && result.timeZoneOffset != TimeSpan.Zero) {
3777
if ((result.
flags
& ParseFlags.TimeZoneUsed) != 0 && tempTimeZoneOffset != result.timeZoneOffset) {
3836
if ((result.
flags
& ParseFlags.CaptureOffset) != 0) {
3837
if ((result.
flags
& ParseFlags.Rfc1123Pattern) != 0 && quotedStr == GMTName) {
3841
else if ((result.
flags
& ParseFlags.UtcSortPattern) != 0 && quotedStr == ZuluName) {
4027
if (((result.
flags
& ParseFlags.CaptureOffset) != 0) && formatParam[0] == 'U') {
4141
if (!dtfi.YearMonthAdjustment(ref result.Year, ref result.Month, ((result.
flags
& ParseFlags.ParsedMonthName) != 0))) {