Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
703 B

  1. class TestAccessClass1
  2. {
  3. string Prop1;
  4. uint32 Prop2;
  5. };
  6. class TestAccessClass2
  7. {
  8. string Prop1;
  9. uint32 Prop2;
  10. object UntypedEmbeddedProp1;
  11. };
  12. class TestAccessClass3
  13. {
  14. [key] string Name;
  15. string Prop1;
  16. uint32 Prop2;
  17. TestAccessClass2 TypedEmbeddedProp1;
  18. };
  19. instance of TestAccessClass3
  20. {
  21. Name = "Test";
  22. Prop1 = "Level1";
  23. Prop2 = 1;
  24. TypedEmbeddedProp1 = instance of TestAccessClass2
  25. {
  26. Prop1 = "TypedLevel2";
  27. Prop2 = 2;
  28. UntypedEmbeddedProp1 = instance of TestAccessClass1
  29. {
  30. Prop1 = "UntypedLevel3";
  31. Prop2 = 3;
  32. };
  33. };
  34. };