src\Framework\System\Windows\ResourceReferenceExpression.cs (21)
64if (ReadInternalState(InternalState.HasCachedResourceValue) == true)
99if (ReadInternalState(InternalState.IsMentorCacheValid) == false)
104WriteInternalState(InternalState.IsMentorCacheValid, true);
166WriteInternalState(InternalState.HasCachedResourceValue, true);
180if (!ReadInternalState(InternalState.IsListeningForInflated))
183WriteInternalState(InternalState.IsListeningForInflated, true);
280if (ReadInternalState(InternalState.IsListeningForInflated))
283WriteInternalState(InternalState.IsListeningForInflated, false);
293WriteInternalState(InternalState.HasCachedResourceValue, false);
306if (ReadInternalState(InternalState.IsMentorCacheValid) == true)
333WriteInternalState(InternalState.IsMentorCacheValid, false);
401if (!ReadInternalState(InternalState.IsListeningForFreezableChanges))
416WriteInternalState(InternalState.IsListeningForFreezableChanges, true);
423if (ReadInternalState(InternalState.IsListeningForFreezableChanges))
446WriteInternalState(InternalState.IsListeningForFreezableChanges, false);
454if (ReadInternalState(InternalState.IsListeningForInflated))
458WriteInternalState(InternalState.IsListeningForInflated, false);
466private bool ReadInternalState(InternalState reqFlag)
473private void WriteInternalState(InternalState reqFlag, bool set)
499private InternalState _state = InternalState.Default; // this is a byte (see def'n)