6 writes to _reflector
System.Xaml (6)
System\Xaml\XamlMember.cs (6)
62
_reflector
= reflector;
85
_reflector
= reflector;
118
_reflector
= reflector;
145
_reflector
= reflector;
156
_reflector
= reflector ?? MemberReflector.UnknownReflector;
859
Interlocked.CompareExchange(ref
_reflector
, reflector, null);
79 references to _reflector
System.Xaml (79)
System\Xaml\XamlMember.cs (79)
63
_reflector
.Invoker = invoker;
86
_reflector
.Invoker = invoker;
120
_reflector
.Invoker = invoker;
147
_reflector
.Invoker = invoker;
167
if (
_reflector
.Invoker == null)
169
_reflector
.Invoker = LookupInvoker() ?? XamlMemberInvoker.UnknownInvoker;
171
return
_reflector
.Invoker;
180
return (
_reflector
.IsUnknown);
230
if (
_reflector
.TargetType == null)
232
if (
_reflector
.IsUnknown)
236
_reflector
.TargetType = LookupTargetType() ?? XamlLanguage.Object;
238
return
_reflector
.TargetType;
247
if (
_reflector
.Type == null)
249
_reflector
.Type = LookupType() ?? XamlLanguage.Object;
251
return
_reflector
.Type;
260
if (!
_reflector
.TypeConverterIsSet)
262
_reflector
.TypeConverter = LookupTypeConverter();
264
return
_reflector
.TypeConverter;
273
if (!
_reflector
.ValueSerializerIsSet)
275
_reflector
.ValueSerializer = LookupValueSerializer();
277
return
_reflector
.ValueSerializer;
286
if (!
_reflector
.DeferringLoaderIsSet)
288
_reflector
.DeferringLoader = LookupDeferringLoader();
290
return
_reflector
.DeferringLoader;
350
if (
_reflector
.DependsOn == null)
352
_reflector
.DependsOn = LookupDependsOn() ?? XamlType.EmptyList<XamlMember>.Value;
354
return
_reflector
.DependsOn;
368
if (!
_reflector
.DesignerSerializationVisibilityIsSet)
370
_reflector
.SerializationVisibility = LookupSerializationVisibility();
372
return
_reflector
.SerializationVisibility ?? DesignerSerializationVisibility.Visible;
386
if (!
_reflector
.MarkupExtensionBracketCharactersArgumentIsSet)
388
_reflector
.MarkupExtensionBracketCharactersArgument = LookupMarkupExtensionBracketCharacters();
389
_reflector
.MarkupExtensionBracketCharactersArgumentIsSet = true;
392
return
_reflector
.MarkupExtensionBracketCharactersArgument;
402
if (!
_reflector
.ConstructorArgumentIsSet)
404
_reflector
.ConstructorArgument = LookupConstructorArgument();
406
return
_reflector
.ConstructorArgument;
416
return
_reflector
.DefaultValue;
425
if (!
_reflector
.GetterIsSet)
427
_reflector
.Getter = LookupUnderlyingGetter();
429
return
_reflector
.Getter;
439
return !
_reflector
.DefaultValueIsNotPresent;
448
if (!
_reflector
.DesignerSerializationVisibilityIsSet)
450
_reflector
.SerializationVisibility = LookupSerializationVisibility();
452
return
_reflector
.SerializationVisibility.HasValue;
461
if (!
_reflector
.SetterIsSet)
463
_reflector
.Setter = LookupUnderlyingSetter();
465
return
_reflector
.Setter;
530
Type[] loaderTypes =
_reflector
.GetAttributeTypes(typeof(XamlDeferLoadAttribute), 2);
549
List<string> doPropertyNames =
_reflector
.GetAllAttributeContents<string>(typeof(DependsOnAttribute));
575
result =
_reflector
.GetAttributeValue<DesignerSerializationVisibility>(
585
return
_reflector
.IsAttributePresent(typeof(AmbientAttribute));
618
if (
_reflector
!= null)
620
return
_reflector
.IsUnknown;
670
Type converterType =
_reflector
.GetAttributeType(typeof(TypeConverterAttribute));
689
Type converterType =
_reflector
.GetAttributeType(typeof(ValueSerializerAttribute));
711
IReadOnlyDictionary<char, char> bracketCharactersList =
_reflector
.GetBracketCharacterAttributes(typeof(MarkupExtensionBracketCharactersAttribute));
714
_reflector
.MarkupExtensionBracketCharactersArgument = bracketCharactersList;
717
return
_reflector
.MarkupExtensionBracketCharactersArgument;
731
if (
_reflector
.Getter != null)
733
return
_reflector
.Getter;
744
if (
_reflector
.Setter != null)
746
return
_reflector
.Setter;
774
bool? result =
_reflector
.GetFlag(BoolMemberBits.ReadPublic);
778
_reflector
.SetFlag(BoolMemberBits.ReadPublic, result.Value);
789
bool? result =
_reflector
.GetFlag(BoolMemberBits.WritePublic);
793
_reflector
.SetFlag(BoolMemberBits.WritePublic, result.Value);
833
if (!
_reflector
.CustomAttributeProviderIsSetVolatile)
840
_reflector
.UnderlyingMember = UnderlyingMember;
842
_reflector
.SetCustomAttributeProviderVolatile(attrProvider);
844
return
_reflector
.CustomAttributeProvider != null || UnderlyingMemberInternal.Value != null;
865
if (!
_reflector
.DefaultValueIsSet)
874
ICustomAttributeProvider attributeProvider =
_reflector
.CustomAttributeProvider ?? UnderlyingMember;
883
_reflector
.DefaultValue = defaultValueAttrib.Value;
887
_reflector
.DefaultValueIsNotPresent = true;
895
if (
_reflector
== null)
904
bool? result =
_reflector
.GetFlag(flagBit);
908
_reflector
.SetFlag(flagBit, result.Value);
949
result =
_reflector
.GetAttributeString(typeof(ConstructorArgumentAttribute), out _);