public Set ( |
||
mps | ||
ats | ||
typeArgs | ||
리턴 | void |
public void Set(MethodOrPropertySymbol mps, AggregateType ats, TypeArray typeArgs)
{
if (mps == null)
{
ats = null;
typeArgs = null;
}
Debug.Assert(ats == null || mps != null && mps.getClass() == ats.getAggregate());
base.Set(mps, ats);
TypeArgs = typeArgs;
}
}
///////////////////////////////////////////////////////////////////////////////// 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)); }