Set() 공개 메소드

public Set ( MethodOrPropertySymbol mps, AggregateType ats, TypeArray typeArgs ) : void
mps MethodOrPropertySymbol
ats AggregateType
typeArgs TypeArray
리턴 void
예제 #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));
            }