1 write to records
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\CompilerScopeManager.cs (1)
120
records
= newRecords;
35 references to records
System.Data.SqlXml (35)
System\Xml\Xsl\Xslt\CompilerScopeManager.cs (35)
57
records
[0].flags = ScopeFlags.NsDecl;
58
records
[0].ncName = "xml";
59
records
[0].nsUri = XmlReservedNs.NsXml;
63
records
[0].flags = ScopeFlags.NsDecl;
64
records
[0].ncName = atoms.Xml;
65
records
[0].nsUri = atoms.UriXml;
76
while (
records
[--lastRecord].scopeCount == 0) {
78
lastScopes =
records
[lastRecord].scopeCount;
115
records
[lastRecord].scopeCount = lastScopes;
117
if (++lastRecord ==
records
.Length) {
119
Array.Copy(
records
, 0, newRecords, 0, lastRecord);
130
ScopeFlags flags =
records
[lastRecord].flags;
137
records
[lastRecord].flags = flags | flag;
138
records
[lastRecord].ncName = ncName;
139
records
[lastRecord].nsUri = uri;
140
records
[lastRecord].value = value;
145
ScopeFlags flags =
records
[lastRecord].flags;
161
records
[lastRecord].flags = flags;
163
Debug.Assert((
records
[lastRecord].flags & ScopeFlags.CompatibilityFlags) != ScopeFlags.CompatibilityFlags,
180
ScopeFlags flags = GetName(ref
records
[record], out recPrefix, out recNsUri);
214
ScopeFlags flags = GetName(ref
records
[record], out recPrefix, out recNsUri);
232
ScopeFlags prevFlags = GetName(ref
records
[prev], out prevPrefix, out prevNsUri);
255
ScopeFlags flags = GetName(ref
records
[record], out recLocal, out recNsUri);
269
return (record < 0) ? default(V) :
records
[record].value;
275
if (
records
[record].scopeCount != 0) {
283
get { return (
records
[lastRecord].flags & ScopeFlags.ForwardCompatibility) != 0; }
288
get { return (
records
[lastRecord].flags & ScopeFlags.BackwardCompatibility) != 0; }
293
get { return (
records
[lastRecord].flags & ScopeFlags.CanHaveApplyImports) != 0; }
301
if (
records
[currentRecord].IsNamespace) {
303
if (LookupNamespace(
records
[currentRecord].ncName, lastRecord, currentRecord + 1) != null) {
308
yield return
records
[currentRecord];
333
if (scope.
records
[currentRecord].IsNamespace) {
335
if (scope.LookupNamespace(scope.
records
[currentRecord].ncName, lastRecord, currentRecord + 1) == null) {
347
Debug.Assert(scope.
records
[currentRecord].IsNamespace);
348
return scope.
records
[currentRecord];