6 writes to _reflector
System.Xaml (6)
System\Xaml\XamlMember.cs (6)
59
_reflector
= reflector;
82
_reflector
= reflector;
115
_reflector
= reflector;
142
_reflector
= reflector;
153
_reflector
= reflector ?? MemberReflector.UnknownReflector;
856
Interlocked.CompareExchange(ref
_reflector
, reflector, null);
79 references to _reflector
System.Xaml (79)
System\Xaml\XamlMember.cs (79)
60
_reflector
.Invoker = invoker;
83
_reflector
.Invoker = invoker;
117
_reflector
.Invoker = invoker;
144
_reflector
.Invoker = invoker;
164
if (
_reflector
.Invoker is null)
166
_reflector
.Invoker = LookupInvoker() ?? XamlMemberInvoker.UnknownInvoker;
168
return
_reflector
.Invoker;
177
return (
_reflector
.IsUnknown);
227
if (
_reflector
.TargetType is null)
229
if (
_reflector
.IsUnknown)
233
_reflector
.TargetType = LookupTargetType() ?? XamlLanguage.Object;
235
return
_reflector
.TargetType;
244
if (
_reflector
.Type is null)
246
_reflector
.Type = LookupType() ?? XamlLanguage.Object;
248
return
_reflector
.Type;
257
if (!
_reflector
.TypeConverterIsSet)
259
_reflector
.TypeConverter = LookupTypeConverter();
261
return
_reflector
.TypeConverter;
270
if (!
_reflector
.ValueSerializerIsSet)
272
_reflector
.ValueSerializer = LookupValueSerializer();
274
return
_reflector
.ValueSerializer;
283
if (!
_reflector
.DeferringLoaderIsSet)
285
_reflector
.DeferringLoader = LookupDeferringLoader();
287
return
_reflector
.DeferringLoader;
347
if (
_reflector
.DependsOn is null)
349
_reflector
.DependsOn = LookupDependsOn() ?? XamlType.EmptyList<XamlMember>.Value;
351
return
_reflector
.DependsOn;
365
if (!
_reflector
.DesignerSerializationVisibilityIsSet)
367
_reflector
.SerializationVisibility = LookupSerializationVisibility();
369
return
_reflector
.SerializationVisibility ?? DesignerSerializationVisibility.Visible;
383
if (!
_reflector
.MarkupExtensionBracketCharactersArgumentIsSet)
385
_reflector
.MarkupExtensionBracketCharactersArgument = LookupMarkupExtensionBracketCharacters();
386
_reflector
.MarkupExtensionBracketCharactersArgumentIsSet = true;
389
return
_reflector
.MarkupExtensionBracketCharactersArgument;
399
if (!
_reflector
.ConstructorArgumentIsSet)
401
_reflector
.ConstructorArgument = LookupConstructorArgument();
403
return
_reflector
.ConstructorArgument;
413
return
_reflector
.DefaultValue;
422
if (!
_reflector
.GetterIsSet)
424
_reflector
.Getter = LookupUnderlyingGetter();
426
return
_reflector
.Getter;
436
return !
_reflector
.DefaultValueIsNotPresent;
445
if (!
_reflector
.DesignerSerializationVisibilityIsSet)
447
_reflector
.SerializationVisibility = LookupSerializationVisibility();
449
return
_reflector
.SerializationVisibility.HasValue;
458
if (!
_reflector
.SetterIsSet)
460
_reflector
.Setter = LookupUnderlyingSetter();
462
return
_reflector
.Setter;
527
Type[] loaderTypes =
_reflector
.GetAttributeTypes(typeof(XamlDeferLoadAttribute), 2);
546
List<string> doPropertyNames =
_reflector
.GetAllAttributeContents<string>(typeof(DependsOnAttribute));
572
result =
_reflector
.GetAttributeValue<DesignerSerializationVisibility>(
582
return
_reflector
.IsAttributePresent(typeof(AmbientAttribute));
615
if (
_reflector
is not null)
617
return
_reflector
.IsUnknown;
667
Type converterType =
_reflector
.GetAttributeType(typeof(TypeConverterAttribute));
686
Type converterType =
_reflector
.GetAttributeType(typeof(ValueSerializerAttribute));
708
IReadOnlyDictionary<char, char> bracketCharactersList =
_reflector
.GetBracketCharacterAttributes(typeof(MarkupExtensionBracketCharactersAttribute));
711
_reflector
.MarkupExtensionBracketCharactersArgument = bracketCharactersList;
714
return
_reflector
.MarkupExtensionBracketCharactersArgument;
728
if (
_reflector
.Getter is not null)
730
return
_reflector
.Getter;
741
if (
_reflector
.Setter is not null)
743
return
_reflector
.Setter;
771
bool? result =
_reflector
.GetFlag(BoolMemberBits.ReadPublic);
775
_reflector
.SetFlag(BoolMemberBits.ReadPublic, result.Value);
786
bool? result =
_reflector
.GetFlag(BoolMemberBits.WritePublic);
790
_reflector
.SetFlag(BoolMemberBits.WritePublic, result.Value);
830
if (!
_reflector
.CustomAttributeProviderIsSetVolatile)
837
_reflector
.UnderlyingMember = UnderlyingMember;
839
_reflector
.SetCustomAttributeProviderVolatile(attrProvider);
841
return
_reflector
.CustomAttributeProvider is not null || UnderlyingMemberInternal.Value is not null;
862
if (!
_reflector
.DefaultValueIsSet)
871
ICustomAttributeProvider attributeProvider =
_reflector
.CustomAttributeProvider ?? UnderlyingMember;
880
_reflector
.DefaultValue = defaultValueAttrib.Value;
884
_reflector
.DefaultValueIsNotPresent = true;
892
if (
_reflector
is null)
901
bool? result =
_reflector
.GetFlag(flagBit);
905
_reflector
.SetFlag(flagBit, result.Value);
946
result =
_reflector
.GetAttributeString(typeof(ConstructorArgumentAttribute), out _);