2 writes to _nsDeclarations
PresentationBuildTasks (2)
Framework\System\Windows\Markup\XmlnsDictionary.cs (2)
596
_nsDeclarations
= new NamespaceDeclaration[8];
651
_nsDeclarations
= new_nsDeclarations;
48 references to _nsDeclarations
PresentationBuildTasks (48)
Framework\System\Windows\Markup\XmlnsDictionary.cs (48)
236
if (
_nsDeclarations
[thisDecl].Uri != null)
238
namespaceTable[
_nsDeclarations
[thisDecl].Prefix] =
_nsDeclarations
[thisDecl].Uri;
357
if ((
_nsDeclarations
[thisDecl].Prefix == prefix) &&
358
_nsDeclarations
[thisDecl].Uri != null &&
359
_nsDeclarations
[thisDecl].Uri != String.Empty)
361
return
_nsDeclarations
[thisDecl].Uri;
414
_nsDeclarations
[_lastDecl].ScopeCount++;
426
int lastScopeCount =
_nsDeclarations
[_lastDecl].ScopeCount;
429
while (decl > 0 &&
_nsDeclarations
[decl-1].ScopeCount == lastScopeCount)
436
if (
_nsDeclarations
[decl].ScopeCount > 0)
438
_nsDeclarations
[decl].ScopeCount--;
439
_nsDeclarations
[decl].Prefix = String.Empty;
440
_nsDeclarations
[decl].Uri = null;
512
if (
_nsDeclarations
[thisDecl].Uri != null)
514
if (!prefixes.Contains(
_nsDeclarations
[thisDecl].Prefix))
515
prefixes.Add(
_nsDeclarations
[thisDecl].Prefix);
533
if (
_nsDeclarations
[thisDecl].Uri != null)
535
namespaceTable[
_nsDeclarations
[thisDecl].Prefix] =
_nsDeclarations
[thisDecl].Uri;
558
get {return
_nsDeclarations
.IsSynchronized; }
566
get {return
_nsDeclarations
.SyncRoot; }
597
_nsDeclarations
[0].Prefix = string.Empty;
598
_nsDeclarations
[0].Uri = null;
599
_nsDeclarations
[0].ScopeCount = 0;
628
int lastScopeCount =
_nsDeclarations
[_lastDecl].ScopeCount;
634
thisDecl >= 0 &&
_nsDeclarations
[thisDecl].ScopeCount == lastScopeCount;
637
if (String.Equals(
_nsDeclarations
[thisDecl].Prefix, prefix))
640
_nsDeclarations
[thisDecl].Uri = xmlNamespace;
646
if (_lastDecl ==
_nsDeclarations
.Length - 1)
648
NamespaceDeclaration[] new_nsDeclarations = new NamespaceDeclaration[
_nsDeclarations
.Length * 2];
650
Array.Copy(
_nsDeclarations
, 0, new_nsDeclarations, 0,
_nsDeclarations
.Length);
656
_nsDeclarations
[_lastDecl].Prefix = prefix;
657
_nsDeclarations
[_lastDecl].Uri = xmlNamespace;
659
_nsDeclarations
[_lastDecl].ScopeCount = lastScopeCount;
681
int lastScopeCount =
_nsDeclarations
[_lastDecl-1].ScopeCount;
683
thisDecl >= 0 &&
_nsDeclarations
[thisDecl].ScopeCount == lastScopeCount;
686
if ((
_nsDeclarations
[thisDecl].Prefix == prefix) && (
_nsDeclarations
[thisDecl].Uri == xmlNamespace))
688
_nsDeclarations
[thisDecl].Uri = null;
708
int lastScopeCount =
_nsDeclarations
[i].ScopeCount;
709
while (
_nsDeclarations
[i].ScopeCount == lastScopeCount)
719
string prefix =
_nsDeclarations
[i].Prefix;
720
string xmlNamespace =
_nsDeclarations
[i].Uri;
746
if ( (
_nsDeclarations
[thisDecl].Prefix == prefix) &&
_nsDeclarations
[thisDecl].Uri != null)
748
if (prefix.Length > 0 ||
_nsDeclarations
[thisDecl].Uri.Length > 0)