public ObjectTypeSymbol( NamespaceOrPackageSymbol containingSymbol, ObjectType declaresDataType) : base(containingSymbol, declaresDataType.Name, declaresDataType) { // TODO check the declared type is in the containing namespace and package Package = containingSymbol.Package; ContainingSymbol = containingSymbol; Name = declaresDataType.Name; DeclaresDataType = declaresDataType; }
public NamespaceSymbol(NamespaceOrPackageSymbol containingSymbol, Name name) : base(containingSymbol, name) { ContainingSymbol = containingSymbol; }