2 instantiations of BamlLocalizableResource
PresentationFramework (2)
MS\Internal\Globalization\LocalizableResourceBuilder.cs (1)
116resource = new BamlLocalizableResource
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
391BamlLocalizableResource resourceCopy = pair.Value == null ? null : new BamlLocalizableResource(pair.Value);
26 references to BamlLocalizableResource
PresentationFramework (26)
HashHelper.cs (1)
19typeof(System.Windows.Markup.Localizer.BamlLocalizableResource), // bug 1612118
MS\Internal\Globalization\BamlTreeMap.cs (1)
170BamlLocalizableResource resource = _localizableResourceBuilder.BuildFromNode(key, currentNode);
MS\Internal\Globalization\BamlTreeUpdater.cs (7)
46List<KeyValuePair<BamlLocalizableResourceKey, BamlLocalizableResource>> deferredResources = new(); 47foreach (KeyValuePair<BamlLocalizableResourceKey, BamlLocalizableResource> item in dictionaryEnumerator) 62KeyValuePair<BamlLocalizableResourceKey, BamlLocalizableResource> entry = deferredResources[i]; 70foreach (KeyValuePair<BamlLocalizableResourceKey, BamlLocalizableResource> item in dictionaryEnumerator) 73BamlLocalizableResource resource = item.Value; 139private static bool ApplyChangeToBamlTree(BamlLocalizableResourceKey key, BamlLocalizableResource resource, BamlTreeUpdateMap treeMap) 211if (treeMap.LocalizationDictionary.TryGetValue(key, out BamlLocalizableResource value))
MS\Internal\Globalization\LocalizableResourceBuilder.cs (2)
27internal BamlLocalizableResource BuildFromNode(BamlLocalizableResourceKey key, BamlTreeNode node) 37BamlLocalizableResource resource = null;
System\Windows\Markup\Localizer\BamlLocalizableResource.cs (3)
55internal BamlLocalizableResource(BamlLocalizableResource other) 167BamlLocalizableResource otherResource = other as BamlLocalizableResource;
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (12)
60public BamlLocalizableResource Value 62get => (BamlLocalizableResource)Entry.Value; 126public Dictionary<BamlLocalizableResourceKey, BamlLocalizableResource>.Enumerator GetEnumerator() => _dictionary.GetStructEnumerator(); 141_dictionary = new Dictionary<BamlLocalizableResourceKey, BamlLocalizableResource>(); 148internal Dictionary<BamlLocalizableResourceKey, BamlLocalizableResource>.Enumerator GetStructEnumerator() 207public BamlLocalizableResource this[BamlLocalizableResourceKey key] 226public void Add(BamlLocalizableResourceKey key, BamlLocalizableResource value) 267internal bool TryGetValue(BamlLocalizableResourceKey key, [MaybeNullWhen(false)] out BamlLocalizableResource value) 309foreach (KeyValuePair<BamlLocalizableResourceKey, BamlLocalizableResource> pair in _dictionary) 389foreach (KeyValuePair<BamlLocalizableResourceKey, BamlLocalizableResource> pair in _dictionary) 391BamlLocalizableResource resourceCopy = pair.Value == null ? null : new BamlLocalizableResource(pair.Value); 410private readonly Dictionary<BamlLocalizableResourceKey, BamlLocalizableResource> _dictionary;