43 references to BoolTypeBits
System.Xaml (43)
System\Xaml\Schema\TypeReflector.cs (7)
79
_boolTypeBits = (int)
BoolTypeBits
.Default | (int)
BoolTypeBits
.Unknown | (int)
BoolTypeBits
.WhitespaceSignificantCollection | (int)
BoolTypeBits
.AllValid;
231
internal bool IsUnknown { get { return (_boolTypeBits & (int)
BoolTypeBits
.Unknown) != 0; } }
1029
internal bool? GetFlag(
BoolTypeBits
typeBit)
1034
internal void SetFlag(
BoolTypeBits
typeBit, bool value)
System\Xaml\XamlType.cs (36)
172
public bool ConstructionRequiresArguments { get { return GetFlag(
BoolTypeBits
.ConstructionRequiresArguments); } }
175
public bool IsConstructible { get { return GetFlag(
BoolTypeBits
.Constructible); } }
178
public bool IsMarkupExtension { get { return GetFlag(
BoolTypeBits
.MarkupExtension); } }
179
public bool IsNameScope { get { return GetFlag(
BoolTypeBits
.NameScope); } }
180
public bool IsNullable { get { return GetFlag(
BoolTypeBits
.Nullable); } }
181
public bool IsPublic { get { return GetFlag(
BoolTypeBits
.Public); } }
182
public bool IsUsableDuringInitialization { get { return GetFlag(
BoolTypeBits
.UsableDuringInitialization); } }
183
public bool IsWhitespaceSignificantCollection { get { return GetFlag(
BoolTypeBits
.WhitespaceSignificantCollection); } }
184
public bool IsXData { get { return GetFlag(
BoolTypeBits
.XmlData); } }
185
public bool TrimSurroundingWhitespace { get { return GetFlag(
BoolTypeBits
.TrimSurroundingWhitespace); } }
186
public bool IsAmbient { get { return GetFlag(
BoolTypeBits
.Ambient); } }
738
return GetDefaultFlag(
BoolTypeBits
.ConstructionRequiresArguments);
828
return GetDefaultFlag(
BoolTypeBits
.Constructible);
878
return GetDefaultFlag(
BoolTypeBits
.Nullable);
907
return _reflector.GetFlag(
BoolTypeBits
.WhitespaceSignificantCollection).Value;
909
return GetDefaultFlag(
BoolTypeBits
.WhitespaceSignificantCollection);
1114
return GetDefaultFlag(
BoolTypeBits
.Public);
1141
return _reflector.GetFlag(
BoolTypeBits
.Ambient).Value;
1143
return GetDefaultFlag(
BoolTypeBits
.Ambient);
1246
return GetDefaultFlag(
BoolTypeBits
.TrimSurroundingWhitespace);
1264
return GetDefaultFlag(
BoolTypeBits
.UsableDuringInitialization);
1416
private bool GetFlag(
BoolTypeBits
flagBit)
1438
private static bool GetDefaultFlag(
BoolTypeBits
flagBit)
1440
return (
BoolTypeBits
.Default & flagBit) == flagBit;
1605
private bool LookupBooleanValue(
BoolTypeBits
typeBit)
1610
case
BoolTypeBits
.Constructible:
1614
case
BoolTypeBits
.ConstructionRequiresArguments:
1618
case
BoolTypeBits
.MarkupExtension:
1622
case
BoolTypeBits
.Nullable:
1626
case
BoolTypeBits
.NameScope:
1630
case
BoolTypeBits
.Public:
1634
case
BoolTypeBits
.TrimSurroundingWhitespace:
1638
case
BoolTypeBits
.UsableDuringInitialization:
1648
case
BoolTypeBits
.WhitespaceSignificantCollection:
1652
case
BoolTypeBits
.XmlData:
1656
case
BoolTypeBits
.Ambient: