2 writes to _tokens
System.ServiceModel.Primitives (2)
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (2)
29_tokens = new SecurityTokenEntry[InitialTokenArraySize]; 64_tokens = newTokens;
17 references to _tokens
System.ServiceModel.Primitives (17)
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (17)
55_tokens[_tokenCount++] = new SecurityTokenEntry(token, tokenParameters, allowedReferenceStyle); 60if (_tokenCount == _tokens.Length) 62SecurityTokenEntry[] newTokens = new SecurityTokenEntry[_tokens.Length * 2]; 63Array.Copy(_tokens, 0, newTokens, 0, _tokenCount); 112securityKey = _tokens[i].Token.ResolveKeyIdentifierClause(keyIdentifierClause); 151if (matchOnlyExternal && _tokens[i].AllowedReferenceStyle != SecurityTokenReferenceStyle.External) 156SecurityToken token = _tokens[i].Token; 157if (_tokens[i].TokenParameters != null && _tokens[i].TokenParameters.MatchesKeyIdentifierClause(token, keyIdentifierClause, _tokens[i].AllowedReferenceStyle)) 162else if (_tokens[i].TokenParameters == null) 165if (_tokens[i].AllowedReferenceStyle == SecurityTokenReferenceStyle.Internal && MatchDirectReference(token, keyIdentifierClause)) 198DerivedKeySecurityToken derivedKeyToken = _tokens[i].Token as DerivedKeySecurityToken; 206resolvedToken = _tokens[i].Token; 237i, _tokens[i].AllowedReferenceStyle, _tokens[i].Token.GetType(), _tokens[i].TokenParameters);