Set() public method

public Set ( MethodOrPropertySymbol mps, AggregateType ats, TypeArray typeArgs ) : void
mps MethodOrPropertySymbol
ats AggregateType
typeArgs TypeArray
return void
Esempio n. 1
0
            /////////////////////////////////////////////////////////////////////////////////

            public void AddInconvertibleResult(
                MethodSymbol method,
                AggregateType currentType,
                TypeArray currentTypeArgs)
            {
                if (InconvertibleResult.Sym == null)
                {
                    // This is the first one, so set it for error reporting usage.
                    InconvertibleResult.Set(method, currentType, currentTypeArgs);
                }
                _inconvertibleResults.Add(new MethPropWithInst(method, currentType, currentTypeArgs));
            }