Microsoft.CSharp.RuntimeBinder.Semantics.MethodTypeInferrer.AddUpperBound C# (CSharp) Метод

AddUpperBound() приватный Метод

private AddUpperBound ( Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType pParam, CType pBound ) : void
pParam Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType
pBound CType
Результат void
        private void AddUpperBound(TypeParameterType pParam, CType pBound)
        {
            Debug.Assert(IsUnfixed(pParam));
            int iParam = pParam.GetIndexInTotalParameters();
            if (!_pUpperBounds[iParam].Contains(pBound))
            {
                _pUpperBounds[iParam].Add(pBound);
            }
        }