1 instantiation of Boolean
PresentationFramework (1)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2138bamlType.DefaultConstructor = delegate() { return new System.Boolean(); };
1208 references to Boolean
mscorlib (342)
microsoft\win32\oavariantlib.cs (1)
40typeof(Boolean),
microsoft\win32\registrykey.cs (1)
489public void DeleteSubKeyTree(String subkey, Boolean throwOnMissingSubKey) {
system\array.cs (1)
777Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) {
system\bitconverter.cs (2)
46r[0] = (value ? (byte)Boolean.True : (byte)Boolean.False );
system\boolean.cs (12)
27, IComparable<Boolean>, IEquatable<Boolean> 107if (!(obj is Boolean)) { 111return (m_value==((Boolean)obj).m_value); 115public bool Equals(Boolean obj) 131if (!(obj is Boolean)) { 135if (m_value==((Boolean)obj).m_value) { 143public int CompareTo(Boolean value) { 158public static Boolean Parse (String value) { 161Boolean result = false; 172public static Boolean TryParse (String value, out Boolean result) {
system\collections\istructuralequatable.cs (1)
4Boolean Equals(Object other, IEqualityComparer comparer);
system\convert.cs (25)
119(RuntimeType)typeof(Boolean), 444return Boolean.Parse(value); 450return Boolean.Parse(value); 606return value? (sbyte)Boolean.True: (sbyte)Boolean.False; 717return value? (byte)Boolean.True: (byte)Boolean.False; 820return value? (short)Boolean.True: (short)Boolean.False; 923return value? (ushort)Boolean.True: (ushort)Boolean.False; 1034return value? Boolean.True: Boolean.False; 1148return value? (uint)Boolean.True: (uint)Boolean.False; 1262return value? Boolean.True: Boolean.False; 1354return value? (ulong)Boolean.True: (ulong)Boolean.False; 1526return value? Boolean.True: Boolean.False; 1613return value? Boolean.True: Boolean.False; 1699return value? Boolean.True: Boolean.False;
system\currenttimezone.cs (3)
95internal long GetUtcOffsetFromUniversalTime(DateTime time, ref Boolean isAmbiguousLocalDst) { 120Boolean isDst = false; 146Boolean isAmbiguousLocalDst = false;
system\datetime.cs (15)
168internal DateTime(long ticks, DateTimeKind kind, Boolean isAmbiguousDst) { 377Boolean foundTicks = false; 378Boolean foundDateData = false; 713Boolean isAmbiguousLocalDst = false; 725Boolean isDaylightSavings = false; 797public Boolean IsDaylightSavingTime() { 995internal Boolean IsAmbiguousDaylightSavingTime() { 1056Boolean isAmbiguousLocalDst = false; 1401Boolean isDaylightSavings = false; 1402Boolean isAmbiguousLocalDst = false; 1466public static Boolean TryParse(String s, out DateTime result) { 1470public static Boolean TryParse(String s, IFormatProvider provider, DateTimeStyles styles, out DateTime result) { 1475public static Boolean TryParseExact(String s, String format, IFormatProvider provider, DateTimeStyles style, out DateTime result) { 1480public static Boolean TryParseExact(String s, String[] formats, IFormatProvider provider, DateTimeStyles style, out DateTime result) { 1656internal static Boolean TryCreate(int year, int month, int day, int hour, int minute, int second, int millisecond, out DateTime result) {
system\datetimeoffset.cs (8)
727public static Boolean TryParse(String input, out DateTimeOffset result) { 730Boolean parsed = DateTimeParse.TryParse(input, 739public static Boolean TryParse(String input, IFormatProvider formatProvider, DateTimeStyles styles, out DateTimeOffset result) { 743Boolean parsed = DateTimeParse.TryParse(input, 752public static Boolean TryParseExact(String input, String format, IFormatProvider formatProvider, DateTimeStyles styles, 757Boolean parsed = DateTimeParse.TryParseExact(input, 767public static Boolean TryParseExact(String input, String[] formats, IFormatProvider formatProvider, DateTimeStyles styles, 772Boolean parsed = DateTimeParse.TryParseExactMultiple(input,
system\decimal.cs (2)
548public static Boolean TryParse(String s, out Decimal result) { 552public static Boolean TryParse(String s, NumberStyles style, IFormatProvider provider, out Decimal result) {
System\Diagnostics\Eventing\TraceLogging\SimpleTypeInfos.cs (5)
46: TraceLoggingTypeInfo<Boolean> 56public override void WriteData(TraceLoggingDataCollector collector, ref Boolean value) 330: TraceLoggingTypeInfo<Boolean[]> 340public override void WriteData(TraceLoggingDataCollector collector, ref Boolean[] value) 1045var hasValue = value.HasValue;
System\Diagnostics\Eventing\TraceLogging\Statics.cs (2)
601if (elementType == typeof(Boolean)) 713else if (dataType == typeof(Boolean))
system\enum.cs (2)
877public Boolean HasFlag(Enum flag) { 937if (underlyingType == typeof(Boolean))
system\globalization\calendar.cs (1)
766internal virtual Boolean TryToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era, out DateTime result) {
system\globalization\datetimeformat.cs (3)
717private static void FormatCustomizedTimeZone(DateTime dateTime, TimeSpan offset, String format, Int32 tokenLen, Boolean timeOnly, StringBuilder result) { 719Boolean dateTimeFormat = (offset == NullOffset); 916Boolean timeOnlySpecialCase = false;
system\globalization\datetimeformatinfo.cs (5)
2264internal Boolean HasForceTwoDigitYears { 2285internal Boolean HasYearMonthAdjustment { 2296internal Boolean YearMonthAdjustment(ref int year, ref int month, Boolean parsedMonthName) { 2700out Boolean badFormat,
system\globalization\datetimeparse.cs (33)
600private static Boolean Lex(DS dps, ref __DTString str, ref DateTimeToken dtok, ref DateTimeRawInfo raw, ref DateTimeResult result, ref DateTimeFormatInfo dtfi, DateTimeStyles styles) 1129private static Boolean VerifyValidPunctuation(ref __DTString str) { 1200private static Boolean GetYearMonthDayOrder(String datePattern, DateTimeFormatInfo dtfi, out int order) 1299private static Boolean GetYearMonthOrder(String pattern, DateTimeFormatInfo dtfi, out int order) 1365private static Boolean GetMonthDayOrder(String pattern, DateTimeFormatInfo dtfi, out int order) 1491private static Boolean GetDayOfNN(ref DateTimeResult result, ref DateTimeStyles styles, ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) { 1530private static Boolean GetDayOfNNN(ref DateTimeResult result, ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1578private static Boolean GetDayOfMN(ref DateTimeResult result, ref DateTimeStyles styles, ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) { 1634private static Boolean GetHebrewDayOfNM(ref DateTimeResult result, ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1654private static Boolean GetDayOfNM(ref DateTimeResult result, ref DateTimeStyles styles, ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1703private static Boolean GetDayOfMNN(ref DateTimeResult result, ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1771private static Boolean GetDayOfYNN(ref DateTimeResult result, ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) { 1801private static Boolean GetDayOfNNY(ref DateTimeResult result, ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) { 1834private static Boolean GetDayOfYMN(ref DateTimeResult result, ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) { 1850private static Boolean GetDayOfYN(ref DateTimeResult result, ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1867private static Boolean GetDayOfYM(ref DateTimeResult result, ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1906private static Boolean AdjustHour(ref int hour, TM timeMark) { 1927private static Boolean GetTimeOfN(DateTimeFormatInfo dtfi, ref DateTimeResult result, ref DateTimeRawInfo raw) 1947private static Boolean GetTimeOfNN(DateTimeFormatInfo dtfi, ref DateTimeResult result, ref DateTimeRawInfo raw) 1962private static Boolean GetTimeOfNNN(DateTimeFormatInfo dtfi, ref DateTimeResult result, ref DateTimeRawInfo raw) 1980private static Boolean GetDateOfDSN(ref DateTimeResult result, ref DateTimeRawInfo raw) 1991private static Boolean GetDateOfNDS(ref DateTimeResult result, ref DateTimeRawInfo raw) 2015private static Boolean GetDateOfNNDS(ref DateTimeResult result, ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 2115internal static Boolean ProcessHebrewTerminalState(DS dps, ref DateTimeResult result, ref DateTimeStyles styles, ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) { 2196internal static Boolean ProcessTerminaltState(DS dps, ref DateTimeResult result, ref DateTimeStyles styles, ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 2559private static Boolean DetermineTimeZoneAdjustments(ref DateTimeResult result, DateTimeStyles styles, Boolean bTimeOnly) { 2627private static Boolean DateTimeOffsetTimeZonePostProcessing(ref DateTimeResult result, DateTimeStyles styles) { 2666Boolean toUtcResult = AdjustTimeZoneToUniversal(ref result); 2687private static Boolean AdjustTimeZoneToUniversal(ref DateTimeResult result) { 2709private static Boolean AdjustTimeZoneToLocal(ref DateTimeResult result, bool bTimeOnly) { 2713Boolean isAmbiguousLocalDst = false; 2737Boolean isDaylightSavings = false;
system\globalization\gregoriancalendar.cs (1)
575internal override Boolean TryToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era, out DateTime result) {
system\globalization\timespanparse.cs (30)
219internal Boolean EOL { 284internal Boolean FullAppCompatMatch(TimeSpanFormat.FormatLiterals pattern) { 294internal Boolean PartialAppCompatMatch(TimeSpanFormat.FormatLiterals pattern) { 303internal Boolean FullMatch(TimeSpanFormat.FormatLiterals pattern) { 314internal Boolean FullDMatch(TimeSpanFormat.FormatLiterals pattern) { 321internal Boolean FullHMMatch(TimeSpanFormat.FormatLiterals pattern) { 329internal Boolean FullDHMMatch(TimeSpanFormat.FormatLiterals pattern) { 339internal Boolean FullHMSMatch(TimeSpanFormat.FormatLiterals pattern) { 348internal Boolean FullDHMSMatch(TimeSpanFormat.FormatLiterals pattern) { 358internal Boolean FullHMSFMatch(TimeSpanFormat.FormatLiterals pattern) { 377private Boolean m_posLocInit; 378private Boolean m_negLocInit; 403internal Boolean ProcessToken(ref TimeSpanToken tok, ref TimeSpanResult result) { 567internal static Boolean TryParse(String input, IFormatProvider formatProvider, out TimeSpan result) { 591internal static Boolean TryParseExact(String input, String format, IFormatProvider formatProvider, TimeSpanStyles styles, out TimeSpan result) { 615internal static Boolean TryParseExactMultiple(String input, String[] formats, IFormatProvider formatProvider, TimeSpanStyles styles, out TimeSpan result) { 638private static Boolean TryParseTimeSpan(String input, TimeSpanStandardStyles style, IFormatProvider formatProvider, ref TimeSpanResult result) { 697private static Boolean ProcessTerminalState(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) { 731private static Boolean ProcessTerminal_DHMSF(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) { 790private static Boolean ProcessTerminal_HMS_F_D(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) { 898private static Boolean ProcessTerminal_HM_S_D(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) { 1007private static Boolean ProcessTerminal_HM(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) { 1067private static Boolean ProcessTerminal_D(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) { 1128private static Boolean TryParseExactTimeSpan(String input, String format, IFormatProvider formatProvider, TimeSpanStyles styles, ref TimeSpanResult result) { 1170private static Boolean TryParseByFormat(String input, String format, TimeSpanStyles styles, ref TimeSpanResult result) { 1321private static Boolean ParseExactDigits(ref TimeSpanTokenizer tokenizer, int minDigitLength, out int result) { 1327private static Boolean ParseExactDigits(ref TimeSpanTokenizer tokenizer, int minDigitLength, int maxDigitLength, out int zeroes, out int result) { 1344private static Boolean ParseExactLiteral(ref TimeSpanTokenizer tokenizer, StringBuilder enquotedString) { 1360private static Boolean TryParseTimeSpanConstant(String input, ref TimeSpanResult result) { 1522private static Boolean TryParseExactMultipleTimeSpan(String input, String[] formats, IFormatProvider formatProvider, TimeSpanStyles styles, ref TimeSpanResult result) {
system\int64.cs (2)
136public static Boolean TryParse(String s, out Int64 result) { 140public static Boolean TryParse(String s, NumberStyles style, IFormatProvider provider, out Int64 result) {
system\internal.cs (5)
72new Dictionary<IntPtr, Boolean>(); 74new Dictionary<Object, Boolean>(); 96NullableHelper<Boolean>(); 110new List<Boolean>(); 135SZArrayHelper<Boolean>(null);
system\io\filestream.cs (1)
1322public virtual void Flush(Boolean flushToDisk)
system\io\isolatedstorage\isolatedstorage.cs (1)
481public virtual Boolean IncreaseQuotaTo(Int64 newQuotaSize) {
system\io\isolatedstorage\isolatedstoragefile.cs (1)
410public override Boolean IncreaseQuotaTo(Int64 newQuotaSize) {
system\io\isolatedstorage\isolatedstoragefilestream.cs (1)
385public override void Flush(Boolean flushToDisk) {
system\io\textwriter.cs (2)
226Write(value ? Boolean.TrueLiteral : Boolean.FalseLiteral);
system\number.cs (34)
325public unsafe static extern Boolean NumberBufferToDecimal(byte* number, ref Decimal value); 329internal unsafe static extern Boolean NumberBufferToDouble(byte* number, ref Double value); 370public Boolean sign; 391private static Boolean HexNumberToInt32(ref NumberBuffer number, ref Int32 value) { 393Boolean returnValue = HexNumberToUInt32(ref number, ref passedValue); 398private static Boolean HexNumberToInt64(ref NumberBuffer number, ref Int64 value) { 400Boolean returnValue = HexNumberToUInt64(ref number, ref passedValue); 406private unsafe static Boolean HexNumberToUInt32(ref NumberBuffer number, ref UInt32 value) { 451private unsafe static Boolean HexNumberToUInt64(ref NumberBuffer number, ref UInt64 value) { 495private static Boolean IsWhite(char ch) { 500private unsafe static Boolean NumberToInt32(ref NumberBuffer number, ref Int32 value) { 534private unsafe static Boolean NumberToInt64(ref NumberBuffer number, ref Int64 value) { 568private unsafe static Boolean NumberToUInt32(ref NumberBuffer number, ref UInt32 value) { 596private unsafe static Boolean NumberToUInt64(ref NumberBuffer number, ref UInt64 value) { 741private unsafe static Boolean ParseNumber(ref char * str, NumberStyles options, ref NumberBuffer number, StringBuilder sb, NumberFormatInfo numfmt, Boolean parseDecimal) { 762Boolean parsingCurrency = false; 782Boolean signflag = false; // Cache the results of "options & PARSE_LEADINGSIGN && !(state & STATE_SIGN)" to avoid doing this twice 783Boolean bigNumber = (sb != null); // When a StringBuilder is provided then we use it in place of the number.digits char[50] 784Boolean bigNumberHex = (bigNumber && ((options & NumberStyles.AllowHexSpecifier) != 0)); 860Boolean negExp = false; 1021private unsafe static void StringToNumber(String str, NumberStyles options, ref NumberBuffer number, NumberFormatInfo info, Boolean parseDecimal) { 1037private static Boolean TrailingZeros(String s, Int32 index) { 1048internal unsafe static Boolean TryParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt, out Decimal result) { 1065internal unsafe static Boolean TryParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt, out Double result) { 1081internal unsafe static Boolean TryParseInt32(String s, NumberStyles style, NumberFormatInfo info, out Int32 result) { 1105internal unsafe static Boolean TryParseInt64(String s, NumberStyles style, NumberFormatInfo info, out Int64 result) { 1129internal unsafe static Boolean TryParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt, out Single result) { 1151internal unsafe static Boolean TryParseUInt32(String s, NumberStyles style, NumberFormatInfo info, out UInt32 result) { 1175internal unsafe static Boolean TryParseUInt64(String s, NumberStyles style, NumberFormatInfo info, out UInt64 result) { 1198internal static Boolean TryStringToNumber(String str, NumberStyles options, ref NumberBuffer number, NumberFormatInfo numfmt, Boolean parseDecimal) { 1204internal unsafe static Boolean TryStringToNumber(String str, NumberStyles options, ref NumberBuffer number, StringBuilder sb, NumberFormatInfo numfmt, Boolean parseDecimal) {
system\resources\resourcewriter.cs (1)
535else if (type == typeof(Boolean))
system\runtime\compilerservices\AsyncMethodBuilder.cs (6)
752if (typeof(TResult) == typeof(Boolean)) // only the relevant branches are kept for each value-type generic instantiation 754Boolean value = (Boolean)(object)result; 755Task<Boolean> task = value ? AsyncTaskCache.TrueTask : AsyncTaskCache.FalseTask; 805internal readonly static Task<Boolean> TrueTask = CreateCacheableTask(true); 807internal readonly static Task<Boolean> FalseTask = CreateCacheableTask(false);
system\runtime\interopservices\windowsruntime\clripropertyvalueimpl.cs (2)
141public Boolean GetBoolean() 287public Boolean[] GetBooleanArray()
system\runtime\interopservices\windowsruntime\ipropertyvalue.cs (2)
64Boolean GetBoolean(); 118Boolean[] GetBooleanArray();
system\runtime\remoting\activationservices.cs (1)
987Boolean bDupe;
system\runtime\remoting\message.cs (3)
751else if (pt == typeof(Boolean)) 3465(fUnordered is System.Boolean) && 4443(fUnordered is System.Boolean) &&
system\runtime\serialization\formatter.cs (1)
141if (varType==typeof(Boolean)) {
system\runtime\serialization\formatters\binary\binaryconverter.cs (3)
283array = new Boolean[length]; 492internal static Type typeofBoolean = typeof(Boolean); 517internal static Type typeofBooleanArray = typeof(Boolean[]);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (1)
67internal void WriteBoolean(Boolean value)
system\runtime\serialization\formatters\binary\binaryutilclasses.cs (3)
837Boolean[] booleanA = null; 861booleanA = (Boolean[])array; 901booleanA[index] = Boolean.Parse(value);
system\security\permissions\isolatedstoragepermission.cs (1)
271m_permanentData = param != null ? (Boolean.Parse(param)) : false ;
system\single.cs (3)
233public static Boolean TryParse(String s, out Single result) { 237public static Boolean TryParse(String s, NumberStyles style, IFormatProvider provider, out Single result) { 242private static Boolean TryParse(String s, NumberStyles style, NumberFormatInfo info, out Single result) {
system\string.cs (8)
2182public Boolean EndsWith(String value) { 2189public Boolean EndsWith(String value, StringComparison comparisonType) { 2232public Boolean EndsWith(String value, Boolean ignoreCase, CultureInfo culture) { 2558public Boolean StartsWith(String value) { 2569public Boolean StartsWith(String value, StringComparison comparisonType) { 2619public Boolean StartsWith(String value, Boolean ignoreCase, CultureInfo culture) {
system\threading\eventwaithandle.cs (1)
125Boolean isManualReset;
system\threading\ManualResetEventSlim.cs (1)
710/// Unlike most of the members of <see cref="ManualResetEventSlim"/>, <see cref="Dispose(Boolean)"/> is not
system\threading\SemaphoreSlim.cs (1)
862/// Unlike most of the members of <see cref="SemaphoreSlim"/>, <see cref="Dispose(Boolean)"/> is not
system\threading\SpinLock.cs (2)
578/// cref="Exit(Boolean)"/> using true as the argument, but Exit() could be slightly faster than Exit(true). 606/// Calling <see cref="Exit(Boolean)"/> with the <paramref name="useMemoryBarrier"/> argument set to
system\threading\volatile.cs (1)
38var value = location;
system\timespan.cs (6)
304public static Boolean TryParse(String s, out TimeSpan result) { 307public static Boolean TryParse(String input, IFormatProvider formatProvider, out TimeSpan result) { 310public static Boolean TryParseExact(String input, String format, IFormatProvider formatProvider, out TimeSpan result) { 313public static Boolean TryParseExact(String input, String[] formats, IFormatProvider formatProvider, out TimeSpan result) { 316public static Boolean TryParseExact(String input, String format, IFormatProvider formatProvider, TimeSpanStyles styles, out TimeSpan result) { 320public static Boolean TryParseExact(String input, String[] formats, IFormatProvider formatProvider, TimeSpanStyles styles, out TimeSpan result) {
system\timezone.cs (2)
116Boolean isAmbiguousLocalDst = false; 226Boolean isDst = false;
system\timezoneinfo.cs (72)
66private Boolean m_supportsDaylightSavingTime; 309public Boolean SupportsDaylightSavingTime { 347Boolean isAmbiguous = false; 395Boolean isAmbiguous = false; 494public Boolean IsAmbiguousTime(DateTimeOffset dateTimeOffset) { 504public Boolean IsAmbiguousTime(DateTime dateTime) { 508internal Boolean IsAmbiguousTime(DateTime dateTime, TimeZoneInfoOptions flags) { 542public Boolean IsDaylightSavingTime(DateTimeOffset dateTimeOffset) { 543Boolean isDaylightSavingTime; 549public Boolean IsDaylightSavingTime(DateTime dateTime) { 553internal Boolean IsDaylightSavingTime(DateTime dateTime, TimeZoneInfoOptions flags) { 557private Boolean IsDaylightSavingTime(DateTime dateTime, TimeZoneInfoOptions flags, CachedData cachedData) { 592Boolean isDaylightSavings; 620public Boolean IsInvalidTime(DateTime dateTime) { 621Boolean isInvalid = false; 784Boolean sourceIsDaylightSavings = false; 810Boolean isAmbiguousLocalDst = false; 979public Boolean HasSameRules(TimeZoneInfo other) { 1086private TimeZoneInfo(Win32Native.TimeZoneInformation zone, Boolean dstDisabled) { 1119Boolean disableDaylightSavingTime) { 1121Boolean adjustmentRulesSupportDst; 1201Boolean disableDaylightSavingTime) { 1220Boolean adjustmentRulesSupportDst; 1264m_supportsDaylightSavingTime = (Boolean)info.GetValue("SupportsDaylightSavingTime", typeof(Boolean)); 1307static private Boolean CheckDaylightSavingTimeNotSupported(Win32Native.TimeZoneInformation timeZone) { 1327static private DateTime ConvertUtcToTimeZone(Int64 ticks, TimeZoneInfo destinationTimeZone, out Boolean isAmbiguousLocalDst) { 1424static private String FindIdFromTimeZoneInformation(Win32Native.TimeZoneInformation timeZone, out Boolean dstDisabled) { 1478static private Boolean GetIsDaylightSavings(DateTime time, AdjustmentRule rule, DaylightTimeStruct daylightTime, TimeZoneInfoOptions flags) { 1510Boolean invalidAtStart = rule.DaylightDelta > TimeSpan.Zero; 1515Boolean isDst = CheckIsDst(startTime, time, endTime, false); 1538static private Boolean GetIsDaylightSavingsFromUtc(DateTime time, Int32 Year, TimeSpan utc, AdjustmentRule rule, out Boolean isAmbiguousLocalDst, TimeZoneInfo zone) { 1603Boolean isDst = CheckIsDst(startTime, time, endTime, ignoreYearAdjustment); 1639static private Boolean CheckIsDst(DateTime startTime, DateTime time, DateTime endTime,bool ignoreYearAdjustment) { 1640Boolean isDst; 1681static private Boolean GetIsAmbiguousTime(DateTime time, AdjustmentRule rule, DaylightTimeStruct daylightTime) { 1682Boolean isAmbiguous = false; 1745static private Boolean GetIsInvalidTime(DateTime time, AdjustmentRule rule, DaylightTimeStruct daylightTime) { 1746Boolean isInvalid = false; 1836Boolean dstDisabled = dynamicTimeZoneInformation.DynamicDaylightTimeDisabled; 1911static private TimeZoneInfo GetLocalTimeZoneFromWin32Data(Win32Native.TimeZoneInformation timeZoneInformation, Boolean dstDisabled) { 2001Boolean isDaylightSavings = GetIsDaylightSavings(time, rule, daylightTime, flags); 2018Boolean isDaylightSavings; 2022static private TimeSpan GetUtcOffsetFromUtc(DateTime time, TimeZoneInfo zone, out Boolean isDaylightSavings) { 2023Boolean isAmbiguousLocalDst; 2028static internal TimeSpan GetDateTimeNowUtcOffsetFromUtc(DateTime time, out Boolean isAmbiguousLocalDst) { 2029Boolean isDaylightSavings = false; 2052static internal TimeSpan GetUtcOffsetFromUtc(DateTime time, TimeZoneInfo zone, out Boolean isDaylightSavings, out Boolean isAmbiguousLocalDst) { 2456static private Boolean TryCompareStandardDate(Win32Native.TimeZoneInformation timeZone, Win32Native.RegistryTimeZoneInformation registryTimeZoneInfo) { 2479static private Boolean TryCompareTimeZoneInformationToRegistry(Win32Native.TimeZoneInformation timeZone, string id, out Boolean dstDisabled) { 2511Boolean result = TryCompareStandardDate(timeZone, registryTimeZoneInfo); 2617Boolean succeeded = UnsafeNativeMethods.GetFileMUIPath( 2682static private Boolean TryGetLocalizedNamesByRegistryKey(RegistryKey key, out String displayName, out String standardName, out String daylightName) { 2856static private TimeZoneInfoResult TryGetTimeZone(string id, Boolean dstDisabled, out TimeZoneInfo value, out Exception e, CachedData cachedData) { 2915static internal Boolean UtcOffsetOutOfRange(TimeSpan offset) { 2932out Boolean adjustmentRulesSupportDst) { 3280private Boolean m_isFixedDateRule; 3315public Boolean IsFixedDateRule { 3404Boolean isFixedDateRule) { 3506m_isFixedDateRule = (Boolean)info.GetValue("IsFixedDateRule", typeof(Boolean)); 3794private String GetNextStringValue(Boolean canEndWithoutSeparator) { 3884private DateTime GetNextDateTimeValue(Boolean canEndWithoutSeparator, string format) { 3898private TimeSpan GetNextTimeSpanValue(Boolean canEndWithoutSeparator) { 3915private Int32 GetNextInt32Value(Boolean canEndWithoutSeparator) { 3930private AdjustmentRule[] GetNextAdjustmentRuleArrayValue(Boolean canEndWithoutSeparator) { 3961private AdjustmentRule GetNextAdjustmentRuleValue(Boolean canEndWithoutSeparator) { 4047private TransitionTime GetNextTransitionTimeValue(Boolean canEndWithoutSeparator) { 4126Boolean sepFound = false;
system\tuple.cs (16)
93public override Boolean Equals(Object obj) { 97Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) { 183public override Boolean Equals(Object obj) { 187Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) { 288public override Boolean Equals(Object obj) { 292Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) { 404public override Boolean Equals(Object obj) { 408Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) { 531public override Boolean Equals(Object obj) { 535Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) { 669public override Boolean Equals(Object obj) { 673Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) { 818public override Boolean Equals(Object obj) { 822Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) { 982public override Boolean Equals(Object obj) { 986Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) {
system\uint64.cs (2)
135public static Boolean TryParse(String s, out UInt64 result) { 140public static Boolean TryParse(String s, NumberStyles style, IFormatProvider provider, out UInt64 result) {
system\variant.cs (3)
93typeof(Boolean), 166m_data1 = (val)?Boolean.True:Boolean.False;
PresentationBuildTasks (8)
Base\System\Windows\Markup\TypeConverterHelper.cs (1)
201else if (typeof(Boolean).IsAssignableFrom(type))
BuildTasks\Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (1)
321/// Optional <see cref="Boolean"/> task parameter
Framework\System\Windows\Markup\BamlMapTable.cs (1)
1619if (type == typeof(Boolean))
Framework\System\Windows\Markup\BamlRecords.cs (2)
2632else if (ValueType == typeof(Boolean)) 2634TypeConverter boolConverter = TypeDescriptor.GetConverter(typeof(Boolean));
Framework\System\Windows\Markup\BamlRecordWriter.cs (1)
627defKeyRecord.Shared = Boolean.Parse(xamlDefNode.Value);
Framework\System\Windows\Markup\KnownTypes.cs (1)
5488case KnownElements.Boolean: t = typeof(Boolean); break;
Framework\System\Windows\Markup\XamlParser.cs (1)
955Boolean.Parse(attributeValue); // For validation only.
PresentationCore (49)
Core\CSharp\MS\Internal\AnimatedTypeHelpers.cs (4)
354internal static Double GetSegmentLengthBoolean(Boolean from, Boolean to) 605internal static bool IsValidAnimationValueBoolean(Boolean value) 841private static Boolean IsInvalidDouble(Double value)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\SerializationHelper.cs (2)
301else if (typeof(Boolean) == type) 305else if (typeof(Boolean[]) == type)
Core\CSharp\System\Windows\CoreCompatibilityPreferences.cs (2)
115if (Boolean.TryParse(s, out value)) 155if (Boolean.TryParse(s, out value))
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanAnimationBase.cs (9)
103return GetCurrentValue((Boolean)defaultOriginValue, (Boolean)defaultDestinationValue, animationClock); 115return typeof(Boolean); 152public Boolean GetCurrentValue(Boolean defaultOriginValue, Boolean defaultDestinationValue, AnimationClock animationClock) 215protected abstract Boolean GetCurrentValueCore(Boolean defaultOriginValue, Boolean defaultDestinationValue, AnimationClock animationClock);
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (8)
331protected sealed override Boolean GetCurrentValueCore( 332Boolean defaultOriginValue, 333Boolean defaultDestinationValue, 359Boolean currentIterationValue; 395Boolean fromValue; 551private Boolean GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 862Boolean prevKeyValue = _keyFrames[index - 1].Value; 866Boolean currentKeyValue = _keyFrames[index].Value;
Core\CSharp\System\Windows\Media\Animation\Generated\DiscreteKeyFrames.cs (4)
52public DiscreteBooleanKeyFrame(Boolean value) 60public DiscreteBooleanKeyFrame(Boolean value, KeyTime keyTime) 88protected override Boolean InterpolateValueCore(Boolean baseValue, double keyFrameProgress)
Core\CSharp\System\Windows\Media\Animation\Generated\KeyFrames.cs (10)
48protected BooleanKeyFrame(Boolean value) 57protected BooleanKeyFrame(Boolean value, KeyTime keyTime) 100typeof(Boolean), 115Value = (Boolean)value; 122public Boolean Value 126return (Boolean)GetValue(ValueProperty); 143public Boolean InterpolateValue( 144Boolean baseValue, 164protected abstract Boolean InterpolateValueCore( 165Boolean baseValue,
Core\CSharp\System\Windows\Media\Composition.cs (1)
201internal static UInt32 BooleanToUInt32(Boolean v)
Core\CSharp\System\Windows\Media\MediaContext.cs (1)
517internal Boolean HasSSE2Support
Core\CSharp\System\Windows\Media3D\Quaternion.cs (1)
42using BOOL = System.Boolean;
Core\CSharp\System\Windows\Media3D\Viewport2DVisual3D.cs (7)
500if ((Boolean)diffMaterial.GetValue(Viewport2DVisual3D.IsVisualHostMaterialProperty)) 509if ((Boolean)emmMaterial.GetValue(Viewport2DVisual3D.IsVisualHostMaterialProperty)) 518if ((Boolean)specMaterial.GetValue(Viewport2DVisual3D.IsVisualHostMaterialProperty)) 529if ((Boolean)matGroup.GetValue(Viewport2DVisual3D.IsVisualHostMaterialProperty)) 715typeof(Boolean), 724public static void SetIsVisualHostMaterial(Material element, Boolean value) 736public static Boolean GetIsVisualHostMaterial(Material element)
PresentationFramework (24)
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
164part.NameValuePairs.Add(TextSelectionProcessor.IncludeOverlaps, Boolean.TrueString);
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (1)
537typeof(Decimal),typeof(Boolean),
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (1)
719locator.Parts[locator.Parts.Count - 1].NameValuePairs.Add(TextSelectionProcessor.IncludeOverlaps, Boolean.TrueString);
src\Framework\System\Windows\Annotations\LocatorPart.cs (2)
245if (Boolean.TryParse(overlapsString, out overlaps) && overlaps) 304if (Boolean.TryParse(overlapsString, out overlaps) && overlaps)
src\Framework\System\Windows\Controls\BooleanToSelectiveScrollingOrientationConverter.cs (1)
31var valueAsBool = (bool)value;
src\Framework\System\Windows\Controls\DataGridHeadersVisibilityToVisibilityConverter.cs (1)
30var visible = false;
src\Framework\System\Windows\Controls\DataGridRow.cs (2)
724var hasDetailsTemplate = row.DetailsTemplate != null || row.DetailsTemplateSelector != null; 725var isRealItem = row.Item != CollectionView.NewItemPlaceholder;
src\Framework\System\Windows\Documents\FixedFindEngine.cs (1)
409String.Compare(sidewaysString, Boolean.TrueString, StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
751var disposing = false;
src\Framework\System\Windows\FrameworkCompatibilityPreferences.cs (3)
257if (Boolean.TryParse(s, out useSetWindowPos)) 307if (Boolean.TryParse(s, out value)) 441if (Boolean.TryParse(s, out shouldThrowOnCopyOrCutFailure))
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
135case 43: t = () => typeof(Boolean); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2136typeof(System.Boolean),
src\Framework\System\Windows\Markup\BamlMapTable.cs (1)
1619if (type == typeof(Boolean))
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
3659bool freeze = Boolean.Parse(bamlPresentationOptionsAttributeRecord.Value);
src\Framework\System\Windows\Markup\BamlRecords.cs (2)
2632else if (ValueType == typeof(Boolean)) 2634TypeConverter boolConverter = TypeDescriptor.GetConverter(typeof(Boolean));
src\Framework\System\Windows\Markup\BamlRecordWriter.cs (1)
627defKeyRecord.Shared = Boolean.Parse(xamlDefNode.Value);
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5587case KnownElements.Boolean: t = typeof(System.Boolean); break;
src\Framework\System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
162if (xamlProperty != null && xamlProperty.Type.UnderlyingType == typeof(Boolean))
src\Framework\System\Windows\Shell\ThumbButtonInfo.cs (1)
130var enabled = (bool)value;
SMDiagnostics (1)
System\ServiceModel\Diagnostics\MachineSettingsSection.cs (1)
25properties.Add(new ConfigurationProperty(MachineSettingsSection.enableLoggingKnownPiiKey, typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
System (14)
compmod\system\codedom\compiler\CompilerInfo.cs (1)
27internal Boolean _mapped;
compmod\system\collections\generic\sortedset.cs (1)
1848internal override bool InOrderTreeWalk(TreeWalkPredicate<T> action, Boolean reverse) {
compmod\system\componentmodel\AmbientValueAttribute.cs (1)
100/// <para>Initializes a new instance of the <see cref='System.ComponentModel.AmbientValueAttribute'/> class using a <see cref='System.Boolean'/>
compmod\system\componentmodel\BooleanConverter.cs (1)
49return Boolean.Parse(text);
compmod\system\componentmodel\DefaultValueAttribute.cs (1)
118/// <para>Initializes a new instance of the <see cref='System.ComponentModel.DefaultValueAttribute'/> class using a <see cref='System.Boolean'/>
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (1)
527args, typeof(Boolean), /* publicOnly= */ false);
compmod\system\diagnostics\BooleanSwitch.cs (1)
49if (Boolean.TryParse(Value, out b))
net\System\Net\NetworkInformation\ping.cs (1)
183protected override void Dispose(Boolean disposing)
sys\system\runtime\versioning\FrameworkName.cs (4)
77public override Boolean Equals(Object obj) { 81public Boolean Equals(FrameworkName other) { 210public static Boolean operator ==(FrameworkName left, FrameworkName right) { 217public static Boolean operator !=(FrameworkName left, FrameworkName right) {
sys\system\threading\Barrier.cs (2)
556public Boolean SignalAndWait(TimeSpan timeout) 583public Boolean SignalAndWait(TimeSpan timeout, CancellationToken cancellationToken)
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
328if ((Boolean)e.NewValue == true)
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
169if ((Boolean)e.NewValue)
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
120typeof(Boolean),
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
412var isUndoRedoInProgress = this.Context.Services.GetService<UndoEngine>().IsUndoRedoInProgress;
System.AddIn (3)
System\Addin\MiniReflection\MetadataReader\Metadata.cs (2)
39internal static readonly Boolean[] IsDefined = new Boolean[(Int32)Tables.MaxTable + 1];
System\Addin\MiniReflection\MiniParameterInfo.cs (1)
81return new TypeInfo(typeof(Boolean));
System.AddIn.Contract (5)
System\Addin\Contract\RemoteArgument.cs (5)
379public RemoteArgument(System.Boolean value) 387public RemoteArgument(System.Boolean value, bool isByRef) 829public System.Boolean BooleanValue 837return default(System.Boolean); 843return (System.Boolean)this._value;
System.ComponentModel.DataAnnotations (1)
DataAnnotations\AppSettings.cs (1)
31if (settings == null || !Boolean.TryParse(settings["dataAnnotations:dataTypeAttribute:disableRegEx"], out _disableRegEx)) {
System.Configuration (2)
System\Configuration\MgmtConfigurationRecord.cs (2)
2840overrideMode = OverrideModeSetting.CreateFromXmlReadValue(Boolean.Parse(allowOverrideAttribute)); 2852inheritInChildApps = Boolean.Parse(inheritInChildAppsAttribute);
System.Core (49)
Microsoft\Scripting\Actions\CallSiteOps.cs (1)
51var res = site._match;
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (32)
40public Boolean CanReduce { get { return _node.CanReduce; } } 43public Boolean IsLifted { get { return _node.IsLifted; } } 44public Boolean IsLiftedToNull { get { return _node.IsLiftedToNull; } } 59public Boolean CanReduce { get { return _node.CanReduce; } } 88public Boolean CanReduce { get { return _node.CanReduce; } } 104public Boolean CanReduce { get { return _node.CanReduce; } } 118public Boolean CanReduce { get { return _node.CanReduce; } } 123public Boolean IsClear { get { return _node.IsClear; } } 137public Boolean CanReduce { get { return _node.CanReduce; } } 152public Boolean CanReduce { get { return _node.CanReduce; } } 166public Boolean CanReduce { get { return _node.CanReduce; } } 183public Boolean CanReduce { get { return _node.CanReduce; } } 199public Boolean CanReduce { get { return _node.CanReduce; } } 213public Boolean CanReduce { get { return _node.CanReduce; } } 229public Boolean CanReduce { get { return _node.CanReduce; } } 235public Boolean TailCall { get { return _node.TailCall; } } 246public Boolean CanReduce { get { return _node.CanReduce; } } 263public Boolean CanReduce { get { return _node.CanReduce; } } 277public Boolean CanReduce { get { return _node.CanReduce; } } 293public Boolean CanReduce { get { return _node.CanReduce; } } 308public Boolean CanReduce { get { return _node.CanReduce; } } 323public Boolean CanReduce { get { return _node.CanReduce; } } 338public Boolean CanReduce { get { return _node.CanReduce; } } 353public Boolean CanReduce { get { return _node.CanReduce; } } 355public Boolean IsByRef { get { return _node.IsByRef; } } 368public Boolean CanReduce { get { return _node.CanReduce; } } 393public Boolean CanReduce { get { return _node.CanReduce; } } 411public Boolean CanReduce { get { return _node.CanReduce; } } 427public Boolean CanReduce { get { return _node.CanReduce; } } 442public Boolean CanReduce { get { return _node.CanReduce; } } 444public Boolean IsLifted { get { return _node.IsLifted; } } 445public Boolean IsLiftedToNull { get { return _node.IsLiftedToNull; } }
Microsoft\Scripting\Ast\IndexExpression.cs (1)
246var isFirst = true;
Microsoft\Scripting\Ast\LambdaExpression.cs (9)
298/// <param name="tailCall">A <see cref="Boolean"/> that indicates if tail call optimization will be applied when compiling the created expression. </param> 321/// <param name="tailCall">A <see cref="Boolean"/> that indicates if tail call optimization will be applied when compiling the created expression. </param> 347/// <param name="tailCall">A <see cref="Boolean"/> that indicates if tail call optimization will be applied when compiling the created expression. </param> 370/// <param name="tailCall">A <see cref="Boolean"/> that indicates if tail call optimization will be applied when compiling the created expression. </param> 391/// <param name="tailCall">A <see cref="Boolean"/> that indicates if tail call optimization will be applied when compiling the created expression. </param> 413/// <param name="tailCall">A <see cref="Boolean"/> that indicates if tail call optimization will be applied when compiling the created expression. </param> 436/// <param name="tailCall">A <see cref="Boolean"/> that indicates if tail call optimization will be applied when compiling the created expression. </param> 460/// <param name="tailCall">A <see cref="Boolean"/> that indicates if tail call optimization will be applied when compiling the created expression. </param> 510/// <param name="tailCall">A <see cref="Boolean"/> that indicates if tail call optimization will be applied when compiling the created expression. </param>
Microsoft\Scripting\Ast\ParameterExpression.cs (1)
49case TypeCode.Boolean: return new PrimitiveParameterExpression<Boolean>(name);
System\Diagnostics\Eventing\EventProvider.cs (5)
431else if (data is Boolean) 433dataDescriptor->Size = (uint)sizeof(Boolean); 434Boolean* booleanptr = (Boolean*)dataBuffer; 435*booleanptr = (Boolean)data;
System.Data (176)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
328if ((Boolean)e.NewValue == true)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
169if ((Boolean)e.NewValue)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
120typeof(Boolean),
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
412var isUndoRedoInProgress = this.Context.Services.GetService<UndoEngine>().IsUndoRedoInProgress;
fx\src\data\Microsoft\SqlServer\Server\ITypedGetters.cs (1)
25Boolean GetBoolean( int ordinal );
fx\src\data\Microsoft\SqlServer\Server\ITypedGettersV3.cs (1)
33Boolean GetBoolean( SmiEventSink sink, int ordinal );
fx\src\data\Microsoft\SqlServer\Server\ITypedSetters.cs (1)
20void SetBoolean( int ordinal, Boolean value );
fx\src\data\Microsoft\SqlServer\Server\ITypedSettersV3.cs (1)
35void SetBoolean( SmiEventSink sink, int ordinal, Boolean value );
fx\src\data\Microsoft\SqlServer\Server\MemoryRecordBuffer.cs (2)
45public override Boolean GetBoolean(SmiEventSink sink, int ordinal) { 133public override void SetBoolean(SmiEventSink sink, int ordinal, Boolean value) {
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (1)
93ht.Add( typeof( System.Boolean ), ExtendedClrTypeCode.Boolean );
fx\src\data\Microsoft\SqlServer\Server\SmiRecordBuffer.cs (2)
112public virtual Boolean GetBoolean( int ordinal ) { 455public virtual void SetBoolean( int ordinal, Boolean value ) {
fx\src\data\Microsoft\SqlServer\Server\SmiRequestExecutor.cs (2)
170public virtual Boolean GetBoolean( int ordinal ) { 513public virtual void SetBoolean( int ordinal, Boolean value ) {
fx\src\data\Microsoft\SqlServer\Server\SmiTypedGetterSetter.cs (2)
56public virtual Boolean GetBoolean(SmiEventSink sink, int ordinal) { 249public virtual void SetBoolean(SmiEventSink sink, int ordinal, Boolean value) {
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (2)
41[FieldOffset(0)] internal Boolean _boolean; 71internal Boolean Boolean {
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (5)
69return (Boolean)result; 1333internal static void SetDBNull( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, Boolean value ) { 1337internal static void SetBoolean( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SmiMetaData metaData, Boolean value ) { 1590case ExtendedClrTypeCode.Boolean: SetBoolean_Unchecked( sink, setters, ordinal, (Boolean) value ); break; 3208private static void SetBoolean_Unchecked( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, Boolean value ) {
fx\src\data\System\Data\CodeGen\datacache.cs (5)
900CodeMemberMethod isNull = MethodDecl(typeof(System.Boolean), "Is" + rowColumnName + "Null", MemberAttributes.Public | MemberAttributes.Final); { 1128initVarsMethod.Parameters.Add(ParameterDecl(typeof(Boolean), "initTable")); 1169CodeMemberMethod shouldSerializeTables = MethodDecl(typeof(System.Boolean), "ShouldSerializeTables", MemberAttributes.Family | MemberAttributes.Override); { 1177CodeMemberMethod shouldSerializeRelations = MethodDecl(typeof(System.Boolean), "ShouldSerializeRelations", MemberAttributes.Family | MemberAttributes.Override); { 1370CodeMemberMethod shouldSerializeTableProperty = MethodDecl(typeof(System.Boolean), "ShouldSerialize"+TableProperty, MemberAttributes.Private); {
fx\src\data\System\Data\ColumnTypeConverter.cs (1)
25typeof(Boolean),
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
2042Boolean formatLiteral, 2270static internal Boolean RemoveStringQuotes(string quotePrefix, string quoteSuffix, string quotedString, out string unquotedString) {
fx\src\data\System\Data\Common\BooleanStorage.cs (18)
18private const Boolean defaultValue = false; 20private Boolean[] values; 23: base(column, typeof(Boolean), defaultValue, StorageType.Boolean) { 31Boolean min = true; 45Boolean max = false; 70throw ExprException.Overflow(typeof(Boolean)); 76Boolean valueNo1 = values[recordNo1]; 77Boolean valueNo2 = values[recordNo2]; 99Boolean valueNo1 = values[recordNo]; 103return valueNo1.CompareTo((Boolean)value); 125Boolean value = values[record]; 145Boolean[] newValues = new Boolean[capacity]; 158return XmlConvert.ToString((Boolean) value); 162return new Boolean[recordCount]; 166Boolean[] typedStore = (Boolean[]) store; 172values = (Boolean[]) store;
fx\src\data\System\Data\Common\DataStorage.cs (1)
74typeof(Boolean),
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (2)
403if (Boolean.TryParse((string)value, out tmp2)) { 404vtype = typeof(Boolean);
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (4)
260return Boolean.Parse(svalue); 268throw ADP.ConvertFailed(value.GetType(), typeof(Boolean), e); 290return Boolean.Parse(svalue); 298throw ADP.ConvertFailed(value.GetType(), typeof(Boolean), e);
fx\src\data\System\Data\Common\DBDataPermission.cs (2)
285_isUnrestricted = (null != unrestrictedValue) && Boolean.Parse(unrestrictedValue); 290_allowBlankPassword = (null != allowNull) && Boolean.Parse(allowNull);
fx\src\data\System\Data\Common\DBParameter.cs (1)
53abstract public Boolean IsNullable {
fx\src\data\System\Data\Common\ObjectStorage.cs (2)
217if (valType == typeof(Boolean)){ 218values[recordNo] = BitConverter.GetBytes((Boolean)value);
fx\src\data\System\Data\Common\System.Data_BID.cs (23)
209internal static void NotificationsTrace(string fmtPrintfW, System.Boolean a1) { 233internal static void NotificationsTrace(string fmtPrintfW, System.Int32 a1, System.Boolean a2) { 251internal static void NotificationsTrace(string fmtPrintfW, System.Boolean a1, string fmtPrintfW2, string fmtPrintfW3, string fmtPrintfW4) { 348internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3) { 390internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Boolean a2, System.Int32 a3) { 471internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Boolean a2) { 483internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3) { 495internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3, System.Int32 a4, System.Boolean a5) { 556internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Boolean a2) { 574internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3) { 583internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3) { 610internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3, System.Int32 a4) { 633internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3); 653internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Boolean a2, System.Int32 a3); 678internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Boolean a1); 729internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Boolean a2); 737internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Boolean a1, System.String a2, System.String a3, System.String a4); 745internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3); 753internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3, System.Int32 a4, System.Boolean a5); 800internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Boolean a2); 808internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3); 812internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3); 824internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3, System.Int32 a4);
fx\src\data\System\Data\DataTable.cs (1)
249Boolean fCreatedDataSet = false;
fx\src\data\System\Data\DataTableReader.cs (7)
615DataColumn IsLong = new DataColumn(SchemaTableColumn.IsLong, typeof(System.Boolean)); 616DataColumn AllowDBNull = new DataColumn(SchemaTableColumn.AllowDBNull, typeof(System.Boolean)); 617DataColumn IsReadOnly = new DataColumn(SchemaTableOptionalColumn.IsReadOnly, typeof(System.Boolean)); 618DataColumn IsRowVersion = new DataColumn(SchemaTableOptionalColumn.IsRowVersion, typeof(System.Boolean)); 619DataColumn IsUnique = new DataColumn(SchemaTableColumn.IsUnique, typeof(System.Boolean)); 620DataColumn IsKeyColumn = new DataColumn(SchemaTableColumn.IsKey, typeof(System.Boolean)); 621DataColumn IsAutoIncrement = new DataColumn(SchemaTableOptionalColumn.IsAutoIncrement, typeof(System.Boolean));
fx\src\data\System\Data\Filter\BinaryNode.cs (2)
203if (((vLeft.GetType() == typeof(SqlBoolean)) && ((vRight.GetType() == typeof(SqlBoolean))|| (vRight.GetType() == typeof(Boolean))))|| 204((vRight.GetType() == typeof(SqlBoolean)) && ((vLeft.GetType() == typeof(SqlBoolean))|| (vLeft.GetType() == typeof(Boolean))))){
fx\src\data\System\Data\Filter\DataExpression.cs (1)
226return Boolean.Parse((string)value);
fx\src\data\System\Data\Filter\FunctionNode.cs (1)
280return Boolean.Parse((string)argumentValues[0]);
fx\src\data\System\Data\IDataParameter.cs (1)
24Boolean IsNullable {
fx\src\data\System\Data\Odbc\Odbc32.cs (1)
778static private readonly TypeMap _Bit = new TypeMap(OdbcType.Bit, DbType.Boolean, typeof(Boolean), ODBC32.SQL_TYPE.BIT, ODBC32.SQL_C.BIT, ODBC32.SQL_C.BIT, 1, 1, false);
fx\src\data\System\Data\Odbc\OdbcConnection.cs (1)
674internal Boolean SQLGetFunctions(ODBC32.SQL_API odbcFunction) {
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (7)
1935columns.Add(new DataColumn("IsLong", typeof(System.Boolean))); 1936columns.Add(new DataColumn("AllowDBNull", typeof(System.Boolean))); 1937columns.Add(new DataColumn("IsReadOnly", typeof(System.Boolean))); 1938columns.Add(new DataColumn("IsRowVersion", typeof(System.Boolean))); 1939columns.Add(new DataColumn("IsUnique", typeof(System.Boolean))); 1940columns.Add(new DataColumn("IsKey", typeof(System.Boolean))); 1941columns.Add(new DataColumn("IsAutoIncrement", typeof(System.Boolean)));
fx\src\data\System\Data\Odbc\odbcmetadatafactory.cs (4)
436private DataTable DataTableFromDataReaderProcedureColumns(IDataReader reader, string tableName,Boolean isColumn) { 833private DataTable GetProcedureColumnsCollection(String[] restrictions, OdbcConnection connection,Boolean isColumns){ 960private DataTable GetTablesCollection(String[] restrictions, OdbcConnection connection, Boolean isTables){ 1003private Boolean IncludeIndexRow(object rowIndexName,
fx\src\data\System\Data\Odbc\OdbcParameter.cs (1)
116Boolean isNullable,
fx\src\data\System\Data\OleDb\ColumnBinding.cs (7)
441Value_BOOL((Boolean) value); 556internal Boolean Value_BOOL() { 562private void Value_BOOL(Boolean value) { 1096internal Boolean ValueBoolean() { 1097Boolean value; 1105value = (Boolean) ValueVariant(); 1112throw CheckTypeValueStatusValue(typeof(Boolean));
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (1)
159static private readonly NativeDBType D_Boolean = new NativeDBType(0xff, 2, true, false, OleDbType.Boolean, NativeDBType.BOOL, S_BOOL, typeof(System.Boolean), NativeDBType.BOOL, DbType.Boolean ); // 1 - integer2 (variant_bool)
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (1)
454else if (typeof(Boolean) == info._type) {
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (11)
167override public Boolean IsClosed { 315DataColumn isLong = new DataColumn("IsLong", typeof(System.Boolean)); 316DataColumn allowDBNull = new DataColumn("AllowDBNull", typeof(System.Boolean)); 317DataColumn isReadOnly = new DataColumn("IsReadOnly", typeof(System.Boolean)); 318DataColumn isRowVersion = new DataColumn("IsRowVersion", typeof(System.Boolean)); 320DataColumn isUnique = new DataColumn("IsUnique", typeof(System.Boolean)); 321DataColumn isKey = new DataColumn("IsKey", typeof(System.Boolean)); 322DataColumn isAutoIncrement = new DataColumn("IsAutoIncrement", typeof(System.Boolean)); 323DataColumn isHidden = new DataColumn("IsHidden", typeof(System.Boolean)); 761override public Boolean GetBoolean(int ordinal) { 1054override public Boolean IsDBNull(int ordinal) {
fx\src\data\System\Data\OleDb\OleDbParameter.cs (1)
65ParameterDirection direction, Boolean isNullable,
fx\src\data\System\Data\OleDb\PropertyInfoSet.cs (1)
154case VarEnum.VT_BOOL: return typeof(System.Boolean);
fx\src\data\System\Data\Sql\SqlMetaData.cs (1)
1048case TypeCode.Boolean: value = this.Adjust((Boolean)value); break;
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (5)
67internal Boolean positive; 87[FieldOffset(0)] internal Boolean _boolean; 136internal Boolean Boolean { 143return (Boolean)this.Value; // anything else we haven't thought of goes through boxing. 762case SqlBuffer.StorageType.Boolean: return typeof(Boolean);
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (12)
441DataColumn IsLong = new DataColumn(SchemaTableColumn.IsLong, typeof(System.Boolean)); 442DataColumn AllowDBNull = new DataColumn(SchemaTableColumn.AllowDBNull, typeof(System.Boolean)); 443DataColumn IsReadOnly = new DataColumn(SchemaTableOptionalColumn.IsReadOnly, typeof(System.Boolean)); 444DataColumn IsRowVersion = new DataColumn(SchemaTableOptionalColumn.IsRowVersion, typeof(System.Boolean)); 446DataColumn IsUnique = new DataColumn(SchemaTableColumn.IsUnique, typeof(System.Boolean)); 447DataColumn IsKey = new DataColumn(SchemaTableColumn.IsKey, typeof(System.Boolean)); 448DataColumn IsAutoIncrement = new DataColumn(SchemaTableOptionalColumn.IsAutoIncrement, typeof(System.Boolean)); 449DataColumn IsHidden = new DataColumn(SchemaTableOptionalColumn.IsHidden, typeof(System.Boolean)); 458DataColumn IsAliased = new DataColumn(SchemaTableColumn.IsAliased, typeof(System.Boolean)); 459DataColumn IsExpression = new DataColumn(SchemaTableColumn.IsExpression, typeof(System.Boolean)); 460DataColumn IsIdentity = new DataColumn("IsIdentity", typeof(System.Boolean)); 468DataColumn IsColumnSet = new DataColumn("IsColumnSet", typeof(System.Boolean));
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (12)
481DataColumn IsLong = new DataColumn(SchemaTableColumn.IsLong, typeof(System.Boolean)); 482DataColumn AllowDBNull = new DataColumn(SchemaTableColumn.AllowDBNull, typeof(System.Boolean)); 483DataColumn IsReadOnly = new DataColumn(SchemaTableOptionalColumn.IsReadOnly, typeof(System.Boolean)); 484DataColumn IsRowVersion = new DataColumn(SchemaTableOptionalColumn.IsRowVersion, typeof(System.Boolean)); 486DataColumn IsUnique = new DataColumn(SchemaTableColumn.IsUnique, typeof(System.Boolean)); 487DataColumn IsKey = new DataColumn(SchemaTableColumn.IsKey, typeof(System.Boolean)); 488DataColumn IsAutoIncrement = new DataColumn(SchemaTableOptionalColumn.IsAutoIncrement, typeof(System.Boolean)); 489DataColumn IsHidden = new DataColumn(SchemaTableOptionalColumn.IsHidden, typeof(System.Boolean)); 498DataColumn IsAliased = new DataColumn(SchemaTableColumn.IsAliased, typeof(System.Boolean)); 499DataColumn IsExpression = new DataColumn(SchemaTableColumn.IsExpression, typeof(System.Boolean)); 500DataColumn IsIdentity = new DataColumn("IsIdentity", typeof(System.Boolean)); 509DataColumn IsColumnSet = new DataColumn("IsColumnSet", typeof(System.Boolean));
fx\src\data\System\Data\SqlClient\SqlEnums.cs (1)
740(255, 255, 1, true, false, false, TdsEnums.SQLBIT, TdsEnums.SQLBITN, MetaTypeName.BIT, typeof(System.Boolean), typeof(SqlBoolean), SqlDbType.Bit, DbType.Boolean, 0);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (5)
1477Boolean disableTnir = ShouldDisableTnir(connectionOptions); 1481Boolean isParallel = connectionOptions.MultiSubnetFailover || (connectionOptions.TransparentNetworkIPResolution && !disableTnir); 1509Boolean isFirstTransparentAttempt = connectionOptions.TransparentNetworkIPResolution && !disableTnir && attemptNumber == 1; 1666Boolean isAzureEndPoint = ADP.IsAzureSqlServerEndpoint(connectionOptions.DataSource); 1668Boolean isFedAuthEnabled = this._accessTokenInBytes != null ||
fx\src\data\System\Data\SqlClient\TdsRecordBufferSetter.cs (1)
86public override void SetBoolean(SmiEventSink sink, int ordinal, Boolean value) {
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (1)
116internal void SetBoolean(Boolean value) {
fx\src\data\System\Data\SQLTypes\SQLBoolean.cs (2)
252return new SqlBoolean(Boolean.Parse(s)); 262return new SqlBoolean(Boolean.Parse(s));
fx\src\data\System\Data\xmlsaver.cs (1)
216if (type == typeof(Boolean)|| type == typeof(SqlBoolean))
fx\src\data\System\Data\XMLSchema.cs (1)
1641internal static Boolean IsXsdType(string name) {
System.Data.Entity (29)
System\Data\Common\EntitySql\AST\Literal.cs (2)
71_type = typeof(System.Boolean); 381if (!Boolean.TryParse(booleanLiteralValue, out result))
System\Data\Common\EntitySql\CqlParser.cs (2)
59Boolean yydebug; //do I want debug output? 113Boolean init_stacks()
System\Data\EntityModel\SchemaObjectModel\ScalarType.cs (2)
118Boolean temp; 119if (!Boolean.TryParse(text, out temp))
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (1)
57typeDefaultMap[PrimitiveTypeKind.Boolean] = default(Boolean);
System\Data\Metadata\Edm\Provider\ClrProviderManifest.cs (1)
207primitiveTypes[(int)PrimitiveTypeKind.Boolean] = CreatePrimitiveType(typeof(Boolean), PrimitiveTypeKind.Boolean);
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (1)
158InitializePrimitiveType(primitiveTypes[(int)PrimitiveTypeKind.Boolean], PrimitiveTypeKind.Boolean, EdmConstants.Boolean, typeof(Boolean));
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
1593var selectorLambdaIsTrivialRename = IsTrivialRename(selectorLambda, parent, out outerBindingName, out innerBindingName, out initializerMetadata);
System\Data\Objects\EntityEntry.cs (1)
1869var originalValueFound = this.FindOriginalValue(member, this._wrappedEntity.Entity, out originalStateManagerValue);
System\Data\Objects\ObjectContext.cs (1)
273if (Boolean.TryParse(value, out useV35Behavior))
System\Data\Objects\SqlClient\SqlFunctions.cs (7)
923public static System.Int32? DataLength(System.Boolean? arg) 1004public static System.Int32? Checksum(System.Boolean? arg1) 1085public static System.Int32? Checksum(System.Boolean? arg1, System.Boolean? arg2) 1166public static System.Int32? Checksum(System.Boolean? arg1, System.Boolean? arg2, System.Boolean? arg3)
System\Data\Objects\SqlClient\SqlSpatialFunctions.cs (6)
53public static System.Data.Spatial.DbGeography BufferWithTolerance(System.Data.Spatial.DbGeography geographyValue, System.Double? distance, System.Double? tolerance, System.Boolean? relative) 80public static System.Boolean? Filter(System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography geographyOther) 89public static System.Boolean? InstanceOf(System.Data.Spatial.DbGeography geographyValue, System.String geometryTypeName) 146public static System.Data.Spatial.DbGeometry BufferWithTolerance(System.Data.Spatial.DbGeometry geometryValue, System.Double? distance, System.Double? tolerance, System.Boolean? relative) 155public static System.Boolean? InstanceOf(System.Data.Spatial.DbGeometry geometryValue, System.String geometryTypeName) 164public static System.Boolean? Filter(System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry geometryOther)
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
841var hasNullSentinelVar = false;
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
2011private void ParenthesizeExpressionWithoutRedundantConstantCasts(DbExpression value, SqlBuilder sqlBuilder, Boolean isSameEdmType)
Util\AppSettings.cs (2)
34if (settings == null || !Boolean.TryParse(settings["EntityFramework_SimplifyLimitOperations"], out _SimplifyLimitOperations)) 39if (settings == null || !Boolean.TryParse(settings["EntityFramework_SimplifyUserSpecifiedViews"], out _SimplifyUserSpecifiedViews))
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityStoreSchemaGenerator\EntityStoreSchemaGenerator.LoadMethodSessionState.cs (1)
143var success = ItemCollection.TryGetItem<PrimitiveType>(StoreNamespace + "." + typeName, false, out primitiveType);
System.Data.Services (7)
System\Data\Services\Epm\EpmHelper.cs (1)
86if (!Boolean.TryParse(Convert.ToString(epmKeepInContentProperty.Value, CultureInfo.InvariantCulture), out epmKeepInContent))
System\Data\Services\Parsing\WebConvert.cs (3)
401else if (typeof(Boolean) == targetType) 510else if (typeof(Boolean) == targetType) 627else if (typeof(Boolean) == valueType)
System\Data\Services\Serializers\JsonSerializer.cs (1)
329else if (typeof(Boolean) == value.GetType())
System\Data\Services\WebUtil.cs (2)
70new KeyValuePair<Type, string>(typeof(Boolean), XmlConstants.EdmBooleanTypeName), 71new KeyValuePair<Type, string>(typeof(Boolean?), XmlConstants.EdmBooleanTypeName),
System.Data.Services.Client (3)
parent\Server\System\Data\Services\Parsing\WebConvert.cs (1)
627else if (typeof(Boolean) == valueType)
System\Data\Services\Client\ClientConvert.cs (2)
463types[(int)StorageType.Boolean] = typeof(Boolean); 500named.Add(XmlConstants.EdmBooleanTypeName, typeof(Boolean));
System.Data.Services.Design (2)
parent\Server\System\Data\Services\Epm\EpmHelper.cs (1)
86if (!Boolean.TryParse(Convert.ToString(epmKeepInContentProperty.Value, CultureInfo.InvariantCulture), out epmKeepInContent))
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
204if (!Boolean.TryParse(Convert.ToString(isOpenTypeProperty.Value, CultureInfo.InvariantCulture), out isOpenType))
System.Data.SqlXml (1)
System\Xml\Xsl\XsltOld\Processor.cs (1)
208parameter is Boolean ||
System.IdentityModel (3)
System\IdentityModel\Configuration\Properties.cs (2)
192properties.Add(new ConfigurationProperty("saveBootstrapContext", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 244properties.Add(new ConfigurationProperty("enabled", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
System\IdentityModel\IdentityModelWrappedXmlDictionaryReader.cs (1)
370public override Boolean ReadContentAsBoolean()
System.Management (21)
Instrumentation\SchemaMapping.cs (2)
413 else if(t2 == typeof(Boolean)) 536 else if(t2 == typeof(Boolean))
managementpath.cs (2)
1057public override Boolean CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 1074public override Boolean CanConvertTo(ITypeDescriptorContext context, Type destinationType)
managementquery.cs (2)
3173 public override Boolean CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 3190 public override Boolean CanConvertTo(ITypeDescriptorContext context, Type destinationType)
managementscope.cs (2)
1647public override Boolean CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 1664public override Boolean CanConvertTo(ITypeDescriptorContext context, Type destinationType)
property.cs (7)
505 if (val is Boolean[]) 509 wmiValue = new Boolean [length]; 511 ((Boolean[])(wmiValue))[i] = Convert.ToBoolean(valArray.GetValue(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Boolean))); 589 wmiValue = Convert.ToBoolean(val,(IFormatProvider)culInfo.GetFormat(typeof(System.Boolean))); 658 else if (elementType == typeof(System.Boolean)) 810 else if (valueType == typeof(System.Boolean))
qualifier.cs (5)
107 if ((qualVal is Int32[]) || (qualVal is Double[]) || (qualVal is String[]) || (qualVal is Boolean[])) 136 else if (elementType == typeof(Boolean)) 138 wmiValue = new Boolean [length]; 140 ((Boolean[])(wmiValue))[i] = Convert.ToBoolean(valArray.GetValue(i),(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Boolean)));
WmiGenerator.cs (1)
5279ret = System.Convert.ToBoolean(classobj.Qualifiers["dynamic"].Value,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Boolean)));
System.Numerics (5)
System\Numerics\BigInteger.cs (2)
825public static Boolean TryParse(String value, out BigInteger result) { 829public static Boolean TryParse(String value, NumberStyles style, IFormatProvider provider, out BigInteger result) {
System\Numerics\BigNumber.cs (3)
322internal unsafe static Boolean TryParseBigInteger(String value, NumberStyles style, NumberFormatInfo info, out BigInteger result) { 368private unsafe static Boolean HexNumberToBigInteger(ref BigNumberBuffer number, ref BigInteger value) { 415private unsafe static Boolean NumberToBigInteger(ref BigNumberBuffer number, ref BigInteger value) {
System.Runtime.Caching (1)
System\Caching\Configuration\ConfigUtil.cs (1)
75if (!Boolean.TryParse(sValue, out bValue)) {
System.Runtime.Remoting (3)
channels\core\socketcache.cs (1)
378private static void TimeoutSockets(Object state, Boolean wasSignalled)
channels\ipc\portcache.cs (1)
65private static void TimeoutConnections(Object state, Boolean wasSignalled)
metadata\sudscommon.cs (1)
77internal static Type typeofBoolean = typeof(Boolean);
System.Runtime.Serialization (5)
System\Runtime\Serialization\Configuration\Properties.cs (1)
63properties.Add(new ConfigurationProperty("enableUnsafeTypeForwarding", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
System\Runtime\Serialization\DataContract.cs (1)
738type = typeof(Boolean);
System\Xml\ValueHandle.cs (1)
219public Boolean ToBoolean()
System\Xml\XmlBaseReader.cs (1)
1658public override Boolean ReadContentAsBoolean()
System\Xml\XmlDictionaryReader.cs (1)
1689public override Boolean ReadContentAsBoolean()
System.Security (8)
system\security\cryptography\xml\c14nutil.cs (2)
631public Boolean IsFixedSize { 635public Boolean IsReadOnly {
system\security\cryptography\xml\encryptedkey.cs (2)
306Boolean IList.IsFixedSize { 310Boolean IList.IsReadOnly {
system\security\cryptography\xml\encryptedtype.cs (2)
360public Boolean IsFixedSize { 364public Boolean IsReadOnly {
system\security\cryptography\xml\signedinfo.cs (2)
55public Boolean IsReadOnly { 59public Boolean IsSynchronized {
System.ServiceModel (113)
System\ServiceModel\Configuration\Properties.cs (111)
38properties.Add(new ConfigurationProperty("performanceCountersEnabled", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 94properties.Add(new ConfigurationProperty("teredoEnabled", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 145properties.Add(new ConfigurationProperty("contextManagementEnabled", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 170properties.Add(new ConfigurationProperty("contextManagementEnabled", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 196properties.Add(new ConfigurationProperty("contextManagementEnabled", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 221properties.Add(new ConfigurationProperty("contextManagementEnabled", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 623properties.Add(new ConfigurationProperty("isChainIncluded", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 731properties.Add(new ConfigurationProperty("isOptional", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 755properties.Add(new ConfigurationProperty("includeExceptionDetailInFaults", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 829properties.Add(new ConfigurationProperty("useIdentityConfiguration", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 836properties.Add(new ConfigurationProperty("supportInteractive", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 993properties.Add(new ConfigurationProperty("packetRoutable", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1066properties.Add(new ConfigurationProperty("wmiProviderEnabled", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1144properties.Add(new ConfigurationProperty("propagateActivity", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1145properties.Add(new ConfigurationProperty("activityTracing", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1146properties.Add(new ConfigurationProperty("messageFlowTracing", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1172properties.Add(new ConfigurationProperty("establishSecurityContext", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1177properties.Add(new ConfigurationProperty("negotiateServiceCredential", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1252properties.Add(new ConfigurationProperty("allowCookies", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1253properties.Add(new ConfigurationProperty("bypassProxyOnLocal", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1262properties.Add(new ConfigurationProperty("useDefaultWebProxy", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1335properties.Add(new ConfigurationProperty("requireClientCertificate", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1359properties.Add(new ConfigurationProperty("allowCookies", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1362properties.Add(new ConfigurationProperty("bypassProxyOnLocal", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1363properties.Add(new ConfigurationProperty("decompressionEnabled", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1365properties.Add(new ConfigurationProperty("keepAliveEnabled", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1373properties.Add(new ConfigurationProperty("unsafeConnectionNtlmAuthentication", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1374properties.Add(new ConfigurationProperty("useDefaultWebProxy", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1459properties.Add(new ConfigurationProperty("cacheIssuedTokens", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1494properties.Add(new ConfigurationProperty("allowUntrustedRsaIssuers", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1551properties.Add(new ConfigurationProperty("useStrTransform", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1600properties.Add(new ConfigurationProperty("cacheCookies", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1601properties.Add(new ConfigurationProperty("detectReplays", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1608properties.Add(new ConfigurationProperty("reconnectTransportOnFailure", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1634properties.Add(new ConfigurationProperty("detectReplays", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1644properties.Add(new ConfigurationProperty("reconnectTransportOnFailure", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1696properties.Add(new ConfigurationProperty("logEntireMessage", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1697properties.Add(new ConfigurationProperty("logKnownPii", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1698properties.Add(new ConfigurationProperty("logMalformedMessages", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1699properties.Add(new ConfigurationProperty("logMessagesAtServiceLevel", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1700properties.Add(new ConfigurationProperty("logMessagesAtTransportLevel", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1728properties.Add(new ConfigurationProperty("negotiateServiceCredential", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1805properties.Add(new ConfigurationProperty("durable", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1806properties.Add(new ConfigurationProperty("exactlyOnce", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1809properties.Add(new ConfigurationProperty("receiveContextEnabled", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1814properties.Add(new ConfigurationProperty("useSourceJournal", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1815properties.Add(new ConfigurationProperty("useMsmqTracing", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1916properties.Add(new ConfigurationProperty("durable", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1917properties.Add(new ConfigurationProperty("exactlyOnce", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1919properties.Add(new ConfigurationProperty("receiveContextEnabled", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1925properties.Add(new ConfigurationProperty("useSourceJournal", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1926properties.Add(new ConfigurationProperty("useMsmqTracing", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1953properties.Add(new ConfigurationProperty("useActiveDirectory", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2132properties.Add(new ConfigurationProperty("establishSecurityContext", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2238properties.Add(new ConfigurationProperty("createNotificationOnConnection", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2241properties.Add(new ConfigurationProperty("disablePayloadMasking", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2296properties.Add(new ConfigurationProperty("transactionFlow", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2358properties.Add(new ConfigurationProperty("useActiveDirectory", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2408properties.Add(new ConfigurationProperty("transactionFlow", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2417properties.Add(new ConfigurationProperty("portSharingEnabled", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2470properties.Add(new ConfigurationProperty("enabled", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2729properties.Add(new ConfigurationProperty("bypassProxyOnLocal", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2730properties.Add(new ConfigurationProperty("transactionFlow", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2739properties.Add(new ConfigurationProperty("useDefaultWebProxy", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2763properties.Add(new ConfigurationProperty("allowCookies", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2812properties.Add(new ConfigurationProperty("manualAddressing", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2886properties.Add(new ConfigurationProperty("ordered", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2936properties.Add(new ConfigurationProperty("flowControlEnabled", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2941properties.Add(new ConfigurationProperty("ordered", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2991properties.Add(new ConfigurationProperty("allowSerializedSigningTokenOnReply", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2992properties.Add(new ConfigurationProperty("enableUnsecuredResponse", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2994properties.Add(new ConfigurationProperty("requireDerivedKeys", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2996properties.Add(new ConfigurationProperty("includeTimestamp", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2997properties.Add(new ConfigurationProperty("allowInsecureTransport", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3003properties.Add(new ConfigurationProperty("protectTokens", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3005properties.Add(new ConfigurationProperty("requireSecurityContextCancellation", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3006properties.Add(new ConfigurationProperty("requireSignatureConfirmation", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3007properties.Add(new ConfigurationProperty("canRenewSecurityContextToken", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3083properties.Add(new ConfigurationProperty("impersonateCallerForAllOperations", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3084properties.Add(new ConfigurationProperty("impersonateOnSerializingReply", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3114properties.Add(new ConfigurationProperty("useIdentityConfiguration", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3182properties.Add(new ConfigurationProperty("isSystemEndpoint", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3236properties.Add(new ConfigurationProperty("aspNetCompatibilityEnabled", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3237properties.Add(new ConfigurationProperty("closeIdleServicesAtLowMemory", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3239properties.Add(new ConfigurationProperty("multipleSiteBindingsEnabled", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3314properties.Add(new ConfigurationProperty("httpGetEnabled", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3316properties.Add(new ConfigurationProperty("httpsGetEnabled", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3374properties.Add(new ConfigurationProperty("suppressAuditFailure", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3474properties.Add(new ConfigurationProperty("requireClientCertificate", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3500properties.Add(new ConfigurationProperty("portSharingEnabled", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3501properties.Add(new ConfigurationProperty("teredoEnabled", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3656properties.Add(new ConfigurationProperty("includeWindowsGroups", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3659properties.Add(new ConfigurationProperty("cacheLogonTokens", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3685properties.Add(new ConfigurationProperty("allowNtlm", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3710properties.Add(new ConfigurationProperty("includeWindowsGroups", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3711properties.Add(new ConfigurationProperty("allowAnonymousLogons", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3783properties.Add(new ConfigurationProperty("bypassProxyOnLocal", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3785properties.Add(new ConfigurationProperty("transactionFlow", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3795properties.Add(new ConfigurationProperty("useDefaultWebProxy", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3922properties.Add(new ConfigurationProperty("ignoreExtensionDataObject", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4002properties.Add(new ConfigurationProperty("includeWindowsGroups", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4003properties.Add(new ConfigurationProperty("mapClientCertificateToWindowsAccount", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4247properties.Add(new ConfigurationProperty("requiresSession", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4373properties.Add(new ConfigurationProperty("allowWildcardAction", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4502properties.Add(new ConfigurationProperty("httpHelpPageEnabled", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4504properties.Add(new ConfigurationProperty("httpsHelpPageEnabled", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4510properties.Add(new ConfigurationProperty("includeExceptionDetailInFaults", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4535properties.Add(new ConfigurationProperty(ConfigurationStrings.HealthDetailsEnabled, typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4536properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpGetEnabled, typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4538properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpsGetEnabled, typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4646properties.Add(new ConfigurationProperty("asynchronousSendEnabled", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Description\MetadataSet.cs (2)
984public override System.Boolean CanDeserialize(System.Xml.XmlReader xmlReader) 1048public override System.Boolean CanSerialize(System.Type type)
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\Configuration\EndpointDiscoveryElement.cs (1)
88typeof(Boolean),
System.ServiceModel.Internals (5)
System\Runtime\Diagnostics\DiagnosticEventProvider.cs (5)
363else if (data is Boolean) 365dataDescriptor->Size = (uint)sizeof(Boolean); 366Boolean* booleanptr = (Boolean*)dataBuffer; 367*booleanptr = (Boolean)data;
System.ServiceModel.Web (6)
System\ServiceModel\Configuration\WebHttpBindingElement.cs (4)
161properties.Add(new ConfigurationProperty("allowCookies", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 162properties.Add(new ConfigurationProperty("bypassProxyOnLocal", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 172properties.Add(new ConfigurationProperty("useDefaultWebProxy", typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 174properties.Add(new ConfigurationProperty(WebConfigurationStrings.CrossDomainScriptAccessEnabled, typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Dispatcher\QueryStringConverter.cs (2)
40this.defaultSupportedQueryStringTypes.Add(typeof(Boolean), null); 111return parameter == null ? default(Boolean) : Convert.ToBoolean(parameter, CultureInfo.InvariantCulture);
System.Web (53)
Compilation\AssemblyBuilder.cs (1)
906if (Boolean.TryParse(providerOptionValue, out value)) {
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
170var hasOptionalAttribute = false;
Compilation\XsdBuildProvider.cs (1)
70var isVer35 = CompilationUtil.IsCompilerVersion35(assemblyBuilder.CodeDomProvider.GetType());
Hosting\ApplicationManager.cs (4)
1016if (!(useTaskFriendlySynchronizationContextElement != null && Boolean.TryParse(useTaskFriendlySynchronizationContextElement.Value, out requireHostExecutionContextManager))) { 1023if (useRandomizedStringHashAlgorithmElement != null && Boolean.TryParse(useRandomizedStringHashAlgorithmElement.Value, out useRandomizedStringHashAlgorithm)) { 1034if (Boolean.TryParse(element.Value, out value)) { 1064Boolean.TryParse(disableFcnDaclReadElement.Value, out skipReadingAndCachingDacls);
ModelBinding\DataTypeUtil.cs (1)
25internal static string ToDataTypeName(this DataTypeAttribute attribute, Func<DataTypeAttribute, Boolean> isDataType = null) {
State\SessionStateItemCollection.cs (1)
161t=typeof(Boolean);
UI\ClientScriptManager.cs (3)
980Tuple<ScriptKey, String, Boolean> entry = new Tuple<ScriptKey, String, Boolean>(key, script, needsScriptTags); 1173foreach (Tuple<ScriptKey, String, Boolean> entry in scripts) {
UI\ControlBuilder.cs (2)
1054else if (memberType == typeof(Boolean)) { 2827if (!Boolean.TryParse(localize, out parseResult)) {
UI\WebControls\AutoGeneratedField.cs (3)
224if (data is Boolean) { 225((CheckBox)boundControl).Checked = (Boolean)data; 229((CheckBox)boundControl).Checked = Boolean.Parse(data.ToString());
UI\WebControls\CheckBoxField.cs (3)
320if (data is Boolean) { 321((CheckBox)boundControl).Checked = (Boolean)data; 325((CheckBox)boundControl).Checked = Boolean.Parse(data.ToString());
UI\WebControls\ModelDataSourceView.cs (1)
836var operationThrew = false;
Util\altserialization.cs (2)
61else if (value is Boolean) { 63writer.Write((Boolean) value);
Util\AppSettings.cs (30)
38if (settings == null || !Boolean.TryParse(settings["aspnet:UseHostHeaderForRequestUrl"], out _useHostHeaderForRequestUrl)) 41if (settings == null || !Boolean.TryParse(settings["aspnet:AllowAnonymousImpersonation"], out _allowAnonymousImpersonation)) 44if (settings == null || !Boolean.TryParse(settings["aspnet:ScriptResourceAllowNonJsFiles"], out _scriptResourceAllowNonJsFiles)) 47if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyEncryption"], out _useLegacyEncryption)) 50if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyMachineKeyEncryption"], out _useLegacyMachineKeyEncryption)) 53if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyFormsAuthenticationTicketCompatibility"], out _useLegacyFormsAuthenticationTicketCompatibility)) 56if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyEventValidationCompatibility"], out _useLegacyEventValidationCompatibility)) 61if (settings == null || !Boolean.TryParse(settings["aspnet:AlwaysIgnoreViewStateValidationErrors"], out _alwaysIgnoreViewStateValidationErrors)) 64if (settings == null || !Boolean.TryParse(settings["aspnet:AllowRelaxedHttpUserName"], out _allowRelaxedHttpUserName)) 67if (settings == null || !Boolean.TryParse(settings["aspnet:JavaScriptDoNotEncodeAmpersand"], out _javaScriptDoNotEncodeAmpersand)) 70if (settings == null || !Boolean.TryParse(settings["aspnet:UseTaskFriendlySynchronizationContext"], out _useTaskFriendlySynchronizationContext)) 73if (settings == null || !Boolean.TryParse(settings["aspnet:AllowAsyncDuringSyncStages"], out _allowAsyncDuringSyncStages)) 82if (settings == null || !Boolean.TryParse(settings["aspnet:DoNotDisposeSpecialHttpApplicationInstances"], out _doNotDisposeSpecialHttpApplicationInstances)) 88if (settings == null || !Boolean.TryParse(settings["aspnet:RestrictXmlControls"], out _restrictXmlControls)) 91if (settings == null || !Boolean.TryParse(settings["aspnet:AllowRelaxedRelativeUrl"], out _allowRelaxedRelativeUrl)) 94if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyRequestUrlGeneration"], out _useLegacyRequestUrlGeneration)) 97if (settings == null || !Boolean.TryParse(settings["aspnet:AllowUtf7RequestContentEncoding"], out _allowUtf7RequestContentEncoding)) 100if (settings == null || !Boolean.TryParse(settings["aspnet:AllowRelaxedUnicodeDecoding"], out _allowRelaxedUnicodeDecoding)) 103if (settings == null || !Boolean.TryParse(settings["aspnet:DontUsePercentUUrlEncoding"], out _dontUsePercentUUrlEncoding)) 115if (settings == null || !Boolean.TryParse(settings["aspnet:PortableCompilationOutput"], out _portableCompilationOutput)) 124if (settings == null || !Boolean.TryParse(settings["aspnet:EnsureSessionStateLockedOnFlush"], out _ensureSessionStateLockedOnFlush)) 127if (settings == null || !Boolean.TryParse(settings["aspnet:UseRandomizedStringHashAlgorithm"], out _useRandomizedStringHashAlgorithm)) 130if (settings == null || !Boolean.TryParse(settings["aspnet:EnableAsyncModelBinding"], out _enableAsyncModelBinding)) 136if (settings == null || !Boolean.TryParse(settings["aspnet:LogMembershipPasswordFormatWarning"], out _logMembershipPasswordFormatWarning)) 139if (settings == null || !Boolean.TryParse(settings["aspnet:AvoidDuplicatedSetCookie"], out _avoidDuplicatedSetCookie)) 142if (settings == null || !Boolean.TryParse(settings["aspnet:GetValidationMemberName"], out _getValidationMemberName)) 145if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyClientServicesJsonHandling"], out _useLegacyClientServicesJsonHandling)) 148if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyMultiValueHeaderHandling"], out _useLegacyMultiValueHeaderHandling)) 151if (settings == null || !Boolean.TryParse(settings["aspnet:SuppressSameSiteNone"], out _suppressSameSiteNone)) 182return (settings != null && Boolean.TryParse(settings[key], out value)) ? value : (bool?)null;
System.Web.DataVisualization (10)
Common\Annotation\AnnotationBase.cs (1)
2044Boolean selected = this.IsSelected;
Common\DataManager\DataPoint.cs (2)
2074 else if(value is Boolean) 2076 return ((Boolean)value) ? 1.0 : 0.0;
Common\DataManager\DataSeries.cs (1)
938 type == typeof(Boolean) )
Common\General\Axis.cs (1)
2689Boolean axisOnEdge = false;
Common\General\Selection.cs (4)
2948private Boolean IsChartAreaCircular(ChartArea area) 2968private Boolean IsArea3D(ChartArea area) 3100Boolean axisOnEdge = false; 3194private ArrayList GetMarkers(RectangleF rect, Boolean addAdditionalMarkers)
WebForm\General\ChartHttpHandler.cs (1)
1138if (Boolean.TryParse(value, out privateImg) && !privateImg)
System.Web.DynamicData (1)
DynamicData\DataSourceUtil.cs (1)
23typeNameToTypeCode[typeof(Boolean)] = TypeCode.Boolean;
System.Web.Entity (4)
System\Data\WebControls\EntityDataSourceQueryBuilder.cs (1)
129var hasOrderByClause = !String.IsNullOrEmpty(orderByClause);
System\Data\WebControls\EntityDataSourceUtil.cs (2)
319return typeof(Boolean); 393return typeof(Boolean);
System\Data\WebControls\EntityDataSourceView.cs (1)
394var checkEntitySet = wasQueryModified && !String.IsNullOrEmpty(_owner.EntitySetName) && (CanDelete || CanUpdate);
System.Web.Extensions (33)
Compilation\XmlSerializer\DataSvcMapFileSerializer.cs (6)
143WriteAttribute(@"Ignore", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Ignore))); 146WriteAttribute(@"IsMergeResult", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsMergeResult))); 720public override System.Boolean CanDeserialize(System.Xml.XmlReader xmlReader) { 769public override System.Boolean CanSerialize(System.Type type) {
Compilation\XmlSerializer\SvcMapFileSerializer.cs (26)
114WriteAttribute(@"Ignore", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Ignore))); 117WriteAttribute(@"IsMergeResult", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsMergeResult))); 183WriteElementStringRaw(@"GenerateAsynchronousMethods", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@GenerateAsynchronousMethods))); 185WriteElementStringRaw(@"GenerateTaskBasedAsynchronousMethod", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@GenerateTaskBasedAsynchronousMethod))); 187WriteElementStringRaw(@"EnableDataBinding", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@EnableDataBinding))); 198WriteElementStringRaw(@"ImportXmlTypes", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@ImportXmlTypes))); 199WriteElementStringRaw(@"GenerateInternalTypes", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@GenerateInternalTypes))); 200WriteElementStringRaw(@"GenerateMessageContracts", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@GenerateMessageContracts))); 221WriteElementStringRaw(@"GenerateSerializableTypes", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@GenerateSerializableTypes))); 224WriteElementStringRaw(@"UseSerializerForFaults", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@UseSerializerForFaults))); 227WriteElementStringRaw(@"Wrapped", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Wrapped))); 229WriteElementStringRaw(@"ReferenceAllAssemblies", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@ReferenceAllAssemblies))); 1445public override System.Boolean CanDeserialize(System.Xml.XmlReader xmlReader) { 1494public override System.Boolean CanSerialize(System.Type type) {
UI\WebControls\Dynamic.cs (1)
600typeof(Boolean),
System.Web.Mobile (1)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (1)
754public override void WriteLine(Boolean v) {
System.Web.Services (130)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (127)
242if (((global::System.Boolean)o.@Required) != false) { 243WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 264if (((global::System.Boolean)o.@Required) != false) { 265WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 286if (((global::System.Boolean)o.@Required) != false) { 287WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 525if (((global::System.Boolean)o.@Required) != false) { 526WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 564if (((global::System.Boolean)o.@Required) != false) { 565WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 685if (((global::System.Boolean)o.@Required) != false) { 686WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 714if (((global::System.Boolean)o.@Required) != false) { 715WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 774if (((global::System.Boolean)o.@Required) != false) { 775WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 815WriteAttribute(@"ignoreCase", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IgnoreCase))); 842if (((global::System.Boolean)o.@Required) != false) { 843WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 864if (((global::System.Boolean)o.@Required) != false) { 865WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 887if (((global::System.Boolean)o.@Required) != false) { 888WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 918if (((global::System.Boolean)o.@Required) != false) { 919WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 949if (((global::System.Boolean)o.@Required) != false) { 950WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 982if (((global::System.Boolean)o.@Required) != false) { 983WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 1014if (((global::System.Boolean)o.@Required) != false) { 1015WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 1047if (((global::System.Boolean)o.@Required) != false) { 1048WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 1167if (((global::System.Boolean)o.@Required) != false) { 1168WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 1188if (((global::System.Boolean)o.@Required) != false) { 1189WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 1209if (((global::System.Boolean)o.@Required) != false) { 1210WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 1244if (((global::System.Boolean)o.@Required) != false) { 1245WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 1266if (((global::System.Boolean)o.@Required) != false) { 1267WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 1273if (((global::System.Boolean)o.@SoapActionRequired) != false) { 1274WriteAttribute(@"soapActionRequired", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@SoapActionRequired))); 1304if (((global::System.Boolean)o.@Required) != false) { 1305WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 1329if (((global::System.Boolean)o.@Required) != false) { 1330WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 1351if (((global::System.Boolean)o.@Required) != false) { 1352WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@Required))); 2232if (((global::System.Boolean)o.@IsAbstract) != false) { 2233WriteAttribute(@"abstract", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsAbstract))); 2249if (((global::System.Boolean)o.@IsNillable) != false) { 2250WriteAttribute(@"nillable", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsNillable))); 2642if (((global::System.Boolean)o.@IsFixed) != false) { 2643WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsFixed))); 2676if (((global::System.Boolean)o.@IsFixed) != false) { 2677WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsFixed))); 2710if (((global::System.Boolean)o.@IsFixed) != false) { 2711WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsFixed))); 2744if (((global::System.Boolean)o.@IsFixed) != false) { 2745WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsFixed))); 2778if (((global::System.Boolean)o.@IsFixed) != false) { 2779WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsFixed))); 2812if (((global::System.Boolean)o.@IsFixed) != false) { 2813WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsFixed))); 2846if (((global::System.Boolean)o.@IsFixed) != false) { 2847WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsFixed))); 2880if (((global::System.Boolean)o.@IsFixed) != false) { 2881WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsFixed))); 2914if (((global::System.Boolean)o.@IsFixed) != false) { 2915WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsFixed))); 2948if (((global::System.Boolean)o.@IsFixed) != false) { 2949WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsFixed))); 2982if (((global::System.Boolean)o.@IsFixed) != false) { 2983WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsFixed))); 3016if (((global::System.Boolean)o.@IsFixed) != false) { 3017WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsFixed))); 3132if (((global::System.Boolean)o.@IsAbstract) != false) { 3133WriteAttribute(@"abstract", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsAbstract))); 3138if (((global::System.Boolean)o.@IsMixed) != false) { 3139WriteAttribute(@"mixed", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsMixed))); 3488WriteAttribute(@"mixed", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.@IsMixed)));
System\Web\Services\Description\WebReferenceOptions.cs (3)
226WriteElementStringRaw(@"verbose", @"http://microsoft.com/webReference/", System.Xml.XmlConvert.ToString((System.Boolean)((System.Boolean)o.@Verbose))); 425public override System.Boolean CanDeserialize(System.Xml.XmlReader xmlReader) {
System.Windows.Forms (7)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (5)
52private static Type defaultBooleanType = typeof(System.Boolean); 106else if (value is System.Boolean) 1826else if (((DataGridViewCheckBoxCell)Owner).EditedFormattedValue is Boolean) 1828Boolean state = (Boolean)(((DataGridViewCheckBoxCell)Owner).EditedFormattedValue);
winforms\Managed\System\WinForms\HelpProvider.cs (1)
174return(Boolean) b;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
1927var shouldInvertForHC = colorInversionNeededInHC && (fBold || (selected && !hasFocus));
System.Windows.Forms.DataVisualization (9)
Common\Annotation\AnnotationBase.cs (1)
2044Boolean selected = this.IsSelected;
Common\DataManager\DataPoint.cs (2)
2074 else if(value is Boolean) 2076 return ((Boolean)value) ? 1.0 : 0.0;
Common\DataManager\DataSeries.cs (1)
938 type == typeof(Boolean) )
Common\General\Axis.cs (1)
2689Boolean axisOnEdge = false;
Common\General\Selection.cs (4)
2948private Boolean IsChartAreaCircular(ChartArea area) 2968private Boolean IsArea3D(ChartArea area) 3100Boolean axisOnEdge = false; 3194private ArrayList GetMarkers(RectangleF rect, Boolean addAdditionalMarkers)
System.Workflow.Runtime (1)
Hosting\SqlWorkflowPersistenceService.cs (1)
688private Boolean _unloadOnIdle;
System.Xml (54)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
2887map[(int)BinXmlToken.XSD_BOOLEAN] = typeof(System.Boolean);
System\Xml\Serialization\CodeGenerator.cs (1)
1091new Type[] { typeof(Int32), typeof(Int32), typeof(Int32), typeof(Boolean), typeof(Byte) },
System\Xml\Serialization\PrimitiveXmlSerializers.cs (2)
36WriteElementStringRaw(@"boolean", @"", System.Xml.XmlConvert.ToString((System.Boolean)((System.Boolean)o)));
System\Xml\Serialization\SchemaObjectWriter.cs (11)
671if (((System.Boolean)o.@IsAbstract) != false) { 672WriteAttribute(@"abstract", @"", XmlConvert.ToString((System.Boolean)((System.Boolean)o.@IsAbstract))); 675if (((System.Boolean)o.@IsMixed) != false) { 676WriteAttribute(@"mixed", @"", XmlConvert.ToString((System.Boolean)((System.Boolean)o.@IsMixed))); 755WriteAttribute(@"mixed", @"", XmlConvert.ToString((System.Boolean)((System.Boolean)o.@IsMixed))); 814if (((System.Boolean)o.@IsAbstract) != false) { 815WriteAttribute(@"abstract", @"", XmlConvert.ToString((System.Boolean)((System.Boolean)o.@IsAbstract)));
System\Xml\Serialization\XmlSerializationILGen.cs (1)
309typeof(Boolean),
System\Xml\Serialization\XmlSerializationReaderILGen.cs (20)
514new Type[] { typeof(Boolean) }, 864Type argType = source == "false" ? typeof(Boolean) : typeof(String); 1176argTypes.Add(typeof(Boolean)); 1179argTypes.Add(typeof(Boolean)); 1311new Type[] { typeof(Boolean) }, 1361argTypes.Add(typeof(Boolean)); 1364argTypes.Add(typeof(Boolean)); 1374LocalBuilder locIsNull = ilg.DeclareLocal(typeof(Boolean), "isNull"); 1548new Type[] { typeof(Boolean) }, 2458new Type[] { typeof(String), typeof(Boolean) }, 2584new Type[] { typeof(Boolean) }, 2674new Type[] { typeof(Array), typeof(Int32), typeof(Type), typeof(Boolean) }, 3006new Type[] { typeof(Boolean) } 3186argTypes.Add(typeof(Boolean)); 3189argTypes.Add(typeof(Boolean)); 3212new Type[] { typeof(Boolean) }, 3258isWrappedAny ? new Type[] { typeof(IXmlSerializable), typeof(Boolean) } : new Type[] { typeof(IXmlSerializable) }, 3324isWrappedAny ? new Type[] { typeof(IXmlSerializable), typeof(Boolean) } : new Type[] { typeof(IXmlSerializable) }, 3478LocalBuilder paramsRead = ilg.DeclareLocal(typeof(Boolean[]), "paramsRead"); 3479ilg.NewArray(typeof(Boolean), length);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (12)
272new Type[] { typeof(string), typeof(string), typeof(object), typeof(Boolean) }, 717argTypes.Add(typeof(Boolean)); 720argTypes.Add(typeof(Boolean)); 888argTypes.Add(typeof(Boolean)); 891argTypes.Add(typeof(Boolean)); 947new Type[] { typeof(String), typeof(String), typeof(Object), typeof(Boolean) }, 981new Type[] { typeof(Boolean) }, 1016new Type[] { typeof(String), typeof(String), typeof(Object), typeof(Boolean), typeof(XmlSerializerNamespaces) }, 1942argTypes.Add(typeof(Boolean)); 1945argTypes.Add(typeof(Boolean)); 2007new Type[] { cast, typeof(String), typeof(String), typeof(Boolean), typeof(Boolean) },
System\Xml\XmlConvert.cs (3)
628public static string ToString(Boolean value) { 817public static Boolean ToBoolean (string s) { 825internal static Exception TryToBoolean(string s, out Boolean result) {
System\Xml\XmlDownloadManager.cs (3)
184public override Boolean CanRead { 188public override Boolean CanSeek { 192public override Boolean CanWrite {
WindowsBase (13)
Base\System\Security\Permissions\MediaPermission.cs (2)
375securityElement.AddAttribute("Unrestricted", Boolean.TrueString); 406if (unrestricted != null && Boolean.Parse(unrestricted))
Base\System\Security\Permissions\WebBrowserPermission.cs (2)
239securityElement.AddAttribute("Unrestricted", Boolean.TrueString); 268if (unrestricted != null && Boolean.Parse(unrestricted))
Base\System\Windows\BaseCompatibilityPreferences.cs (1)
225if (Boolean.TryParse(s, out value))
Base\System\Windows\Markup\TypeConverterHelper.cs (3)
201else if (typeof(Boolean).IsAssignableFrom(type)) 285else if (type == typeof(Boolean)) 385else if (typeof(Boolean).IsAssignableFrom(type))
Shared\MS\Utility\TraceProvider.cs (5)
401else if (data is Boolean) 403dataDescriptor->Size = (uint)sizeof(Boolean); 404Boolean* booleanptr = (Boolean*)dataBuffer; 405*booleanptr = (Boolean)data;