コード例 #1
0
 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;
 }
コード例 #2
0
 public NamespaceSymbol(NamespaceOrPackageSymbol containingSymbol, Name name)
     : base(containingSymbol, name)
 {
     ContainingSymbol = containingSymbol;
 }