From 3bff787285958e15dff81c4042066cbaa0e1dc76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=91=A8=F0=9F=8F=BC=E2=80=8D=F0=9F=92=BB=20Romain=20M?= =?UTF-8?q?arcadier-Muller?= Date: Mon, 16 Dec 2019 14:57:53 +0100 Subject: [PATCH 1/2] fix(dotnet): documentation strings sometimes invalid The XML-doc generation for the C# classes was not correctly accounting for the necesaity to encode certain characters (e.g: `&`) for use in XML context, which resulted in invalid documentation strings being generated. Additionally, slugified parameter names need to be represented in their "pure" form (without the `@` slug) in the `` tag. This uses `xmlbuilder` to generate the minimal XML tag pairs, ensuring the content is correctly encoded. The `@` slug is rmeoved from `` tags, and the `` block is generated inconditionally (even if empty), silencing a C# warning about there being no documentation XML on a public member. Finally, moved some `await` in `for` loops out, to hopefully positively impact the generation speeds overall. --- packages/jsii-pacmak/bin/jsii-pacmak.ts | 1 - packages/jsii-pacmak/lib/builder.ts | 11 +-- packages/jsii-pacmak/lib/npm-modules.ts | 18 ++--- packages/jsii-pacmak/lib/target.ts | 2 + packages/jsii-pacmak/lib/targets/dotnet.ts | 41 ++++++---- .../lib/targets/dotnet/dotnetdocgenerator.ts | 77 ++++++++----------- .../lib/targets/dotnet/dotnetgenerator.ts | 35 +++------ .../lib/targets/dotnet/filegenerator.ts | 6 +- packages/jsii-pacmak/lib/targets/java.ts | 28 ++++--- packages/jsii-pacmak/lib/util.ts | 9 +-- ...ulatorPackageId.BaseOfBasePackageId.csproj | 3 + .../BaseOfBaseNamespace/IVeryBaseInterface.cs | 2 + .../IVeryBaseInterfaceProxy.cs | 2 + .../BaseOfBaseNamespace/IVeryBaseProps.cs | 2 + .../Internal/DependencyResolution/Anchor.cs | 9 --- .../BaseOfBaseNamespace/Very.cs | 7 ++ .../BaseOfBaseNamespace/VeryBaseProps.cs | 2 + .../BaseOfBaseNamespace/VeryBasePropsProxy.cs | 2 + ...s.CalculatorPackageId.BasePackageId.csproj | 3 + .../CalculatorNamespace/BaseNamespace/Base.cs | 10 ++- .../BaseNamespace/BaseProps.cs | 3 + .../BaseNamespace/BasePropsProxy.cs | 3 + .../BaseNamespace/IBaseInterface.cs | 2 + .../BaseNamespace/IBaseInterfaceProxy.cs | 3 + .../BaseNamespace/IBaseProps.cs | 2 + .../Internal/DependencyResolution/Anchor.cs | 10 --- ...ts.CalculatorPackageId.LibPackageId.csproj | 3 + .../LibNamespace/EnumFromScopedModule.cs | 2 + .../LibNamespace/IDoublable.cs | 1 + .../LibNamespace/IDoublableProxy.cs | 1 + .../LibNamespace/IFriendly.cs | 1 + .../LibNamespace/IFriendlyProxy.cs | 1 + .../LibNamespace/IMyFirstStruct.cs | 1 + .../LibNamespace/IStructWithOnlyOptionals.cs | 2 + .../LibNamespace/IThreeLevelsInterface.cs | 2 + .../IThreeLevelsInterfaceProxy.cs | 4 + .../Internal/DependencyResolution/Anchor.cs | 10 --- .../LibNamespace/MyFirstStruct.cs | 1 + .../LibNamespace/MyFirstStructProxy.cs | 1 + .../LibNamespace/Number.cs | 6 +- .../LibNamespace/Operation.cs | 5 ++ .../LibNamespace/StructWithOnlyOptionals.cs | 2 + .../StructWithOnlyOptionalsProxy.cs | 2 + .../LibNamespace/Value_.cs | 5 ++ ...azon.JSII.Tests.CalculatorPackageId.csproj | 3 + .../CalculatorNamespace/AbstractClass.cs | 10 +++ .../CalculatorNamespace/AbstractClassBase.cs | 7 ++ .../AbstractClassBaseProxy.cs | 2 + .../CalculatorNamespace/AbstractClassProxy.cs | 4 + .../AbstractClassReturner.cs | 9 +++ .../JSII/Tests/CalculatorNamespace/Add.cs | 8 +- .../Tests/CalculatorNamespace/AllTypes.cs | 30 ++++++++ .../Tests/CalculatorNamespace/AllTypesEnum.cs | 4 + .../CalculatorNamespace/AllowedMethodNames.cs | 16 ++++ .../AmbiguousParameters.cs | 10 +++ .../AnonymousImplementationProvider.cs | 8 ++ .../AsyncVirtualMethods.cs | 12 +++ .../CalculatorNamespace/AugmentableClass.cs | 8 ++ .../Tests/CalculatorNamespace/BaseJsii976.cs | 6 ++ .../JSII/Tests/CalculatorNamespace/Bell.cs | 8 ++ .../CalculatorNamespace/BinaryOperation.cs | 8 +- .../Tests/CalculatorNamespace/Calculator.cs | 11 ++- .../CalculatorNamespace/CalculatorProps.cs | 3 + .../CalculatorPropsProxy.cs | 3 + .../CalculatorNamespace/ChildStruct982.cs | 3 + .../ChildStruct982Proxy.cs | 3 + ...ClassThatImplementsTheInternalInterface.cs | 10 +++ .../ClassThatImplementsThePrivateInterface.cs | 10 +++ .../ClassWithCollections.cs | 14 ++++ .../CalculatorNamespace/ClassWithDocs.cs | 9 +++ .../ClassWithJavaReservedWords.cs | 10 +++ .../ClassWithMutableObjectLiteralProperty.cs | 7 ++ ...rivateConstructorAndAutomaticProperties.cs | 9 +++ .../CalculatorNamespace/ConfusingToJackson.cs | 8 ++ .../ConfusingToJacksonStruct.cs | 2 + .../ConfusingToJacksonStructProxy.cs | 2 + .../ConstructorPassesThisOut.cs | 7 ++ .../Tests/CalculatorNamespace/Constructors.cs | 13 ++++ .../ConsumePureInterface.cs | 8 ++ .../ConsumerCanRingBell.cs | 22 ++++++ .../ConsumersOfThisCrazyTypeSystem.cs | 10 +++ .../Tests/CalculatorNamespace/DataRenderer.cs | 11 +++ .../DefaultedConstructorArgument.cs | 12 +++ .../CalculatorNamespace/Demonstrate982.cs | 10 ++- .../CalculatorNamespace/DeprecatedClass.cs | 11 +++ .../CalculatorNamespace/DeprecatedEnum.cs | 3 + .../CalculatorNamespace/DeprecatedStruct.cs | 2 + .../DeprecatedStructProxy.cs | 2 + .../DerivedClassHasNoProperties/Base.cs | 7 ++ .../DerivedClassHasNoProperties/Derived.cs | 6 ++ .../CalculatorNamespace/DerivedStruct.cs | 5 ++ .../CalculatorNamespace/DerivedStructProxy.cs | 5 ++ .../DiamondInheritanceBaseLevelStruct.cs | 2 + .../DiamondInheritanceBaseLevelStructProxy.cs | 2 + .../DiamondInheritanceFirstMidLevelStruct.cs | 3 + ...mondInheritanceFirstMidLevelStructProxy.cs | 3 + .../DiamondInheritanceSecondMidLevelStruct.cs | 3 + ...ondInheritanceSecondMidLevelStructProxy.cs | 3 + .../DiamondInheritanceTopLevelStruct.cs | 5 ++ .../DiamondInheritanceTopLevelStructProxy.cs | 5 ++ .../DisappointingCollectionSource.cs | 7 ++ .../DoNotOverridePrivates.cs | 10 +++ .../DoNotRecognizeAnyAsOptional.cs | 9 +++ .../CalculatorNamespace/DocumentedClass.cs | 13 +++- .../DontComplainAboutVariadicAfterOptional.cs | 9 +++ .../CalculatorNamespace/DoubleTrouble.cs | 6 ++ .../CalculatorNamespace/EnumDispenser.cs | 7 ++ .../EraseUndefinedHashValues.cs | 9 +++ .../EraseUndefinedHashValuesOptions.cs | 3 + .../EraseUndefinedHashValuesOptionsProxy.cs | 3 + .../CalculatorNamespace/ExperimentalClass.cs | 11 +++ .../CalculatorNamespace/ExperimentalEnum.cs | 3 + .../CalculatorNamespace/ExperimentalStruct.cs | 2 + .../ExperimentalStructProxy.cs | 2 + .../CalculatorNamespace/ExportedBaseClass.cs | 8 ++ .../ExtendsInternalInterface.cs | 3 + .../ExtendsInternalInterfaceProxy.cs | 3 + .../CalculatorNamespace/GiveMeStructs.cs | 10 +++ .../JSII/Tests/CalculatorNamespace/Greetee.cs | 1 + .../Tests/CalculatorNamespace/GreeteeProxy.cs | 1 + .../CalculatorNamespace/GreetingAugmenter.cs | 8 ++ .../IAnonymousImplementationProvider.cs | 2 + .../IAnonymousImplementationProviderProxy.cs | 2 + .../IAnonymouslyImplementMe.cs | 3 + .../IAnonymouslyImplementMeProxy.cs | 3 + .../IAnotherPublicInterface.cs | 2 + .../IAnotherPublicInterfaceProxy.cs | 2 + .../JSII/Tests/CalculatorNamespace/IBell.cs | 2 + .../Tests/CalculatorNamespace/IBellProxy.cs | 2 + .../Tests/CalculatorNamespace/IBellRinger.cs | 2 + .../CalculatorNamespace/IBellRingerProxy.cs | 2 + .../CalculatorNamespace/ICalculatorProps.cs | 3 + .../CalculatorNamespace/IChildStruct982.cs | 2 + .../IConcreteBellRinger.cs | 2 + .../IConcreteBellRingerProxy.cs | 2 + .../IConfusingToJacksonStruct.cs | 2 + .../IDeprecatedInterface.cs | 3 + .../IDeprecatedInterfaceProxy.cs | 3 + .../CalculatorNamespace/IDeprecatedStruct.cs | 2 + .../CalculatorNamespace/IDerivedStruct.cs | 4 + .../IDiamondInheritanceBaseLevelStruct.cs | 2 + .../IDiamondInheritanceFirstMidLevelStruct.cs | 2 + ...IDiamondInheritanceSecondMidLevelStruct.cs | 2 + .../IDiamondInheritanceTopLevelStruct.cs | 2 + .../IEraseUndefinedHashValuesOptions.cs | 3 + .../IExperimentalInterface.cs | 3 + .../IExperimentalInterfaceProxy.cs | 3 + .../IExperimentalStruct.cs | 2 + .../IExtendsInternalInterface.cs | 3 + .../IExtendsPrivateInterface.cs | 3 + .../IExtendsPrivateInterfaceProxy.cs | 3 + .../Tests/CalculatorNamespace/IFriendlier.cs | 4 +- .../CalculatorNamespace/IFriendlierProxy.cs | 4 +- .../IFriendlyRandomGenerator.cs | 1 + .../IFriendlyRandomGeneratorProxy.cs | 5 +- .../Tests/CalculatorNamespace/IGreetee.cs | 1 + .../CalculatorNamespace/IImplictBaseOfBase.cs | 2 + .../IInterfaceImplementedByAbstractClass.cs | 1 + ...nterfaceImplementedByAbstractClassProxy.cs | 1 + .../IInterfaceThatShouldNotBeADataType.cs | 1 + ...IInterfaceThatShouldNotBeADataTypeProxy.cs | 3 + .../IInterfaceWithInternal.cs | 2 + .../IInterfaceWithInternalProxy.cs | 2 + .../IInterfaceWithMethods.cs | 3 + .../IInterfaceWithMethodsProxy.cs | 3 + .../IInterfaceWithOptionalMethodArguments.cs | 3 + ...terfaceWithOptionalMethodArgumentsProxy.cs | 3 + .../IInterfaceWithProperties.cs | 3 + .../IInterfaceWithPropertiesExtension.cs | 2 + .../IInterfaceWithPropertiesExtensionProxy.cs | 4 + .../IInterfaceWithPropertiesProxy.cs | 3 + .../CalculatorNamespace/IJSII417Derived.cs | 4 + .../IJSII417DerivedProxy.cs | 6 ++ .../IJSII417PublicBaseOfBase.cs | 3 + .../IJSII417PublicBaseOfBaseProxy.cs | 3 + .../CalculatorNamespace/IJsii487External.cs | 1 + .../CalculatorNamespace/IJsii487External2.cs | 1 + .../IJsii487External2Proxy.cs | 1 + .../IJsii487ExternalProxy.cs | 1 + .../Tests/CalculatorNamespace/IJsii496.cs | 1 + .../CalculatorNamespace/IJsii496Proxy.cs | 1 + .../ILoadBalancedFargateServiceProps.cs | 8 ++ .../IMutableObjectLiteral.cs | 2 + .../IMutableObjectLiteralProxy.cs | 2 + .../CalculatorNamespace/INestedStruct.cs | 3 +- .../INonInternalInterface.cs | 3 + .../INonInternalInterfaceProxy.cs | 4 + .../INullShouldBeTreatedAsUndefinedData.cs | 3 + .../IObjectWithProperty.cs | 2 + .../IObjectWithPropertyProxy.cs | 2 + .../CalculatorNamespace/IOptionalStruct.cs | 2 + .../CalculatorNamespace/IParentStruct982.cs | 1 + .../IPrivatelyImplemented.cs | 2 + .../IPrivatelyImplementedProxy.cs | 2 + .../CalculatorNamespace/IPublicInterface.cs | 2 + .../CalculatorNamespace/IPublicInterface2.cs | 2 + .../IPublicInterface2Proxy.cs | 2 + .../IPublicInterfaceProxy.cs | 2 + .../IRandomNumberGenerator.cs | 4 +- .../IRandomNumberGeneratorProxy.cs | 4 +- .../CalculatorNamespace/IReturnJsii976.cs | 1 + .../IReturnJsii976Proxy.cs | 1 + .../CalculatorNamespace/IReturnsNumber.cs | 3 + .../IReturnsNumberProxy.cs | 3 + .../Tests/CalculatorNamespace/IRootStruct.cs | 2 + .../CalculatorNamespace/ISecondLevelStruct.cs | 1 + .../CalculatorNamespace/ISmellyStruct.cs | 3 + .../CalculatorNamespace/IStableInterface.cs | 3 + .../IStableInterfaceProxy.cs | 3 + .../CalculatorNamespace/IStableStruct.cs | 2 + .../Tests/CalculatorNamespace/IStructA.cs | 3 + .../Tests/CalculatorNamespace/IStructB.cs | 3 + .../IStructParameterType.cs | 3 + .../IStructReturningDelegate.cs | 1 + .../IStructReturningDelegateProxy.cs | 1 + .../IStructWithJavaReservedWords.cs | 5 ++ .../ISupportsNiceJavaBuilderProps.cs | 2 + .../CalculatorNamespace/ITopLevelStruct.cs | 1 + .../CalculatorNamespace/IUnionProperties.cs | 3 + .../ImplementInternalInterface.cs | 7 ++ .../CalculatorNamespace/Implementation.cs | 7 ++ .../ImplementsInterfaceWithInternal.cs | 7 ++ ...ImplementsInterfaceWithInternalSubclass.cs | 6 ++ .../ImplementsPrivateInterface.cs | 7 ++ .../CalculatorNamespace/ImplictBaseOfBase.cs | 4 + .../ImplictBaseOfBaseProxy.cs | 4 + .../CalculatorNamespace/InbetweenClass.cs | 7 ++ .../Foo.cs | 7 ++ .../Hello.cs | 2 + .../HelloProxy.cs | 2 + .../IHello.cs | 2 + .../Hello.cs | 2 + .../HelloProxy.cs | 2 + .../IHello.cs | 2 + .../CalculatorNamespace/InterfacesMaker.cs | 6 ++ .../Internal/DependencyResolution/Anchor.cs | 12 --- .../CalculatorNamespace/JSII417Derived.cs | 10 +++ .../JSII417PublicBaseOfBase.cs | 9 +++ .../JSObjectLiteralForInterface.cs | 8 ++ .../JSObjectLiteralToNative.cs | 7 ++ .../JSObjectLiteralToNativeClass.cs | 8 ++ .../CalculatorNamespace/JavaReservedWords.cs | 59 ++++++++++++++ .../CalculatorNamespace/Jsii487Derived.cs | 6 ++ .../CalculatorNamespace/Jsii496Derived.cs | 6 ++ .../Tests/CalculatorNamespace/JsiiAgent_.cs | 5 ++ .../CalculatorNamespace/JsonFormatter.cs | 20 +++++ .../LoadBalancedFargateServiceProps.cs | 8 ++ .../LoadBalancedFargateServicePropsProxy.cs | 8 ++ .../MethodNamedProperty.cs | 8 ++ .../Tests/CalculatorNamespace/Multiply.cs | 8 +- .../JSII/Tests/CalculatorNamespace/Negate.cs | 6 ++ .../Tests/CalculatorNamespace/NestedStruct.cs | 3 +- .../CalculatorNamespace/NestedStructProxy.cs | 3 +- .../NodeStandardLibrary.cs | 17 ++-- .../NullShouldBeTreatedAsUndefined.cs | 13 ++++ .../NullShouldBeTreatedAsUndefinedData.cs | 3 + ...NullShouldBeTreatedAsUndefinedDataProxy.cs | 3 + .../CalculatorNamespace/NumberGenerator.cs | 10 +++ .../ObjectRefsInCollections.cs | 7 ++ .../ObjectWithPropertyProvider.cs | 6 ++ .../JSII/Tests/CalculatorNamespace/Old.cs | 5 ++ .../OptionalArgumentInvoker.cs | 9 +++ .../OptionalConstructorArgument.cs | 12 +++ .../CalculatorNamespace/OptionalStruct.cs | 2 + .../OptionalStructConsumer.cs | 9 +++ .../OptionalStructProxy.cs | 2 + .../OverridableProtectedMember.cs | 12 +++ .../OverrideReturnsObject.cs | 8 ++ .../CalculatorNamespace/ParentStruct982.cs | 1 + .../ParentStruct982Proxy.cs | 1 + .../PartiallyInitializedThisConsumer.cs | 10 +++ .../PartiallyInitializedThisConsumerProxy.cs | 5 ++ .../Tests/CalculatorNamespace/Polymorphism.cs | 8 ++ .../JSII/Tests/CalculatorNamespace/Power.cs | 8 +- .../PropertyNamedProperty.cs | 7 ++ .../Tests/CalculatorNamespace/PublicClass.cs | 7 ++ .../PythonReservedWords.cs | 38 +++++++++ .../ReferenceEnumFromScopedPackage.cs | 9 +++ ...ReturnsPrivateImplementationOfInterface.cs | 13 +++- .../Tests/CalculatorNamespace/RootStruct.cs | 2 + .../CalculatorNamespace/RootStructProxy.cs | 2 + .../RootStructValidator.cs | 7 ++ .../RuntimeTypeChecking.cs | 15 ++++ .../CalculatorNamespace/SecondLevelStruct.cs | 1 + .../SecondLevelStructProxy.cs | 1 + .../SingleInstanceTwoTypes.cs | 8 ++ .../Tests/CalculatorNamespace/SingletonInt.cs | 7 ++ .../CalculatorNamespace/SingletonString.cs | 7 ++ .../Tests/CalculatorNamespace/SmellyStruct.cs | 3 + .../CalculatorNamespace/SmellyStructProxy.cs | 3 + .../CalculatorNamespace/SomeTypeJsii976.cs | 8 ++ .../Tests/CalculatorNamespace/StableClass.cs | 11 +++ .../Tests/CalculatorNamespace/StableEnum.cs | 3 + .../Tests/CalculatorNamespace/StableStruct.cs | 2 + .../CalculatorNamespace/StableStructProxy.cs | 2 + .../CalculatorNamespace/StaticContext.cs | 7 ++ .../JSII/Tests/CalculatorNamespace/Statics.cs | 13 +++- .../Tests/CalculatorNamespace/StringEnum.cs | 4 + .../CalculatorNamespace/StripInternal.cs | 7 ++ .../JSII/Tests/CalculatorNamespace/StructA.cs | 3 + .../Tests/CalculatorNamespace/StructAProxy.cs | 3 + .../JSII/Tests/CalculatorNamespace/StructB.cs | 3 + .../Tests/CalculatorNamespace/StructBProxy.cs | 3 + .../StructParameterType.cs | 3 + .../StructParameterTypeProxy.cs | 3 + .../CalculatorNamespace/StructPassing.cs | 11 +++ .../StructUnionConsumer.cs | 9 +++ .../StructWithJavaReservedWords.cs | 5 ++ .../StructWithJavaReservedWordsProxy.cs | 5 ++ .../JSII/Tests/CalculatorNamespace/Sum.cs | 5 ++ .../SupportsNiceJavaBuilder.cs | 15 +++- .../SupportsNiceJavaBuilderProps.cs | 2 + .../SupportsNiceJavaBuilderPropsProxy.cs | 2 + ...upportsNiceJavaBuilderWithRequiredProps.cs | 13 +++- .../CalculatorNamespace/SyncVirtualMethods.cs | 26 +++++++ .../JSII/Tests/CalculatorNamespace/Thrower.cs | 7 ++ .../CalculatorNamespace/TopLevelStruct.cs | 1 + .../TopLevelStructProxy.cs | 1 + .../CalculatorNamespace/UnaryOperation.cs | 7 ++ .../CalculatorNamespace/UnionProperties.cs | 3 + .../UnionPropertiesProxy.cs | 3 + .../UseBundledDependency.cs | 7 ++ .../Tests/CalculatorNamespace/UseCalcBase.cs | 6 ++ .../UsesInterfaceWithProperties.cs | 13 ++++ .../CalculatorNamespace/VariadicInvoker.cs | 9 +++ .../CalculatorNamespace/VariadicMethod.cs | 13 +++- .../VirtualMethodPlayground.cs | 16 ++++ .../Tests/CalculatorNamespace/VoidCallback.cs | 9 +++ .../CalculatorNamespace/VoidCallbackProxy.cs | 2 + .../WithPrivatePropertyInConstructor.cs | 7 ++ .../composition/CompositeOperation.cs | 5 ++ 331 files changed, 1732 insertions(+), 224 deletions(-) delete mode 100644 packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/Internal/DependencyResolution/Anchor.cs delete mode 100644 packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/Internal/DependencyResolution/Anchor.cs delete mode 100644 packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Internal/DependencyResolution/Anchor.cs delete mode 100644 packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Internal/DependencyResolution/Anchor.cs diff --git a/packages/jsii-pacmak/bin/jsii-pacmak.ts b/packages/jsii-pacmak/bin/jsii-pacmak.ts index 98a0e963de..4ac8a0c21f 100644 --- a/packages/jsii-pacmak/bin/jsii-pacmak.ts +++ b/packages/jsii-pacmak/bin/jsii-pacmak.ts @@ -149,7 +149,6 @@ import { ALL_BUILDERS, TargetName } from '../lib/targets'; // We run all target sets in parallel for minimal wall clock time await Promise.all(targetSets.map(async targetSet => { - // for (const targetSet of targetSets) { logging.info(`Packaging '${targetSet.targetType}' for ${describePackages(targetSet)}`); await timers.recordAsync(targetSet.targetType, () => buildTargetsForLanguage(targetSet.targetType, targetSet.modules, perLanguageDirectory) diff --git a/packages/jsii-pacmak/lib/builder.ts b/packages/jsii-pacmak/lib/builder.ts index 33d4e15357..7468d7ed29 100644 --- a/packages/jsii-pacmak/lib/builder.ts +++ b/packages/jsii-pacmak/lib/builder.ts @@ -66,13 +66,10 @@ export class OneByOneBuilder implements TargetBuilder { } public async buildModules(): Promise { - for (const module of this.modules) { - if (this.options.codeOnly) { - await this.generateModuleCode(module, this.options); - } else { - await this.buildModule(module, this.options); - } - } + const promises = this.modules.map(module => this.options.codeOnly + ? this.generateModuleCode(module, this.options) + : this.buildModule(module, this.options)); + await Promise.all(promises); } private async generateModuleCode(module: JsiiModule, options: BuildOptions) { diff --git a/packages/jsii-pacmak/lib/npm-modules.ts b/packages/jsii-pacmak/lib/npm-modules.ts index ad7d372967..0bd36dd14b 100644 --- a/packages/jsii-pacmak/lib/npm-modules.ts +++ b/packages/jsii-pacmak/lib/npm-modules.ts @@ -18,9 +18,10 @@ import { topologicalSort } from './toposort'; export async function findJsiiModules(directories: string[], recurse: boolean) { const ret: JsiiModule[] = []; const visited = new Set(); - for (const dir of directories.length > 0 ? directories : ['.']) { - await visitPackage(dir, true); - } + + const toVisit = directories.length > 0 ? directories : ['.']; + await Promise.all(toVisit.map(dir => visitPackage(dir, true))); + return topologicalSort(ret, m => m.name, m => m.dependencyNames); async function visitPackage(dir: string, isRoot: boolean) { @@ -45,10 +46,8 @@ export async function findJsiiModules(directories: string[], recurse: boolean) { // if --recurse is set, find dependency dirs and build them. if (recurse) { - for (const dep of dependencyNames) { - const depDir = resolveDependencyDirectory(realPath, dep); - await visitPackage(depDir, false); - } + await Promise.all(dependencyNames.map(dep => resolveDependencyDirectory(realPath, dep)) + .map(depDir => visitPackage(depDir, false))); } // outdir is either by package.json/jsii.outdir (relative to package root) or via command line (relative to cwd) @@ -66,10 +65,7 @@ export async function findJsiiModules(directories: string[], recurse: boolean) { } export async function updateAllNpmIgnores(packages: JsiiModule[]) { - for (const pkg of packages) { - // updates .npmignore to exclude the output directory and include the .jsii file - await updateNpmIgnore(pkg.moduleDirectory, pkg.outputDirectory); - } + await Promise.all(packages.map(pkg => updateNpmIgnore(pkg.moduleDirectory, pkg.outputDirectory))); } async function updateNpmIgnore(packageDir: string, excludeOutdir: string | undefined) { diff --git a/packages/jsii-pacmak/lib/target.ts b/packages/jsii-pacmak/lib/target.ts index 9625a758ba..c0d47b95e4 100644 --- a/packages/jsii-pacmak/lib/target.ts +++ b/packages/jsii-pacmak/lib/target.ts @@ -61,6 +61,8 @@ export abstract class Target { * @param targetDir the directory to copy into. */ protected async copyFiles(sourceDir: string, targetDir: string) { + // Preemptively create target directory, to avoid unsafely racing on it's creation. + await fs.mkdirp(targetDir); await fs.copy(sourceDir, targetDir, { recursive: true }); } diff --git a/packages/jsii-pacmak/lib/targets/dotnet.ts b/packages/jsii-pacmak/lib/targets/dotnet.ts index d06dcef839..13c2ef69d8 100644 --- a/packages/jsii-pacmak/lib/targets/dotnet.ts +++ b/packages/jsii-pacmak/lib/targets/dotnet.ts @@ -9,6 +9,8 @@ import { DotNetGenerator } from './dotnet/dotnetgenerator'; import { TargetBuilder, BuildOptions } from '../builder'; import { JsiiModule } from '../packaging'; +export const TARGET_FRAMEWORK = 'netcoreapp3.0'; + /** * Build .NET packages all together, by generating an aggregate solution file */ @@ -23,9 +25,7 @@ export class DotnetBuilder implements TargetBuilder { if (this.options.codeOnly) { // Simple, just generate code to respective output dirs - for (const module of this.modules) { - await this.generateModuleCode(module, this.outputDir(module.outputDirectory)); - } + await Promise.all(this.modules.map(module => this.generateModuleCode(module, this.outputDir(module.outputDirectory)))); return; } @@ -56,13 +56,14 @@ export class DotnetBuilder implements TargetBuilder { const csProjs = []; const ret: TemporaryDotnetPackage[] = []; - for (const module of modules) { - // Code generator will make its own subdirectory - await this.generateModuleCode(module, tmpDir); - const loc = projectLocation(module); + // Code generator will make its own subdirectory + const generatedModules = modules.map(mod => this.generateModuleCode(mod, tmpDir).then(() => mod)); + + for await (const mod of generatedModules) { + const loc = projectLocation(mod); csProjs.push(loc.projectFile); ret.push({ - outputTargetDirectory: module.outputDirectory, + outputTargetDirectory: mod.outputDirectory, artifactsDir: path.join(tmpDir, loc.projectDir, 'bin', 'Release') }); } @@ -79,14 +80,19 @@ export class DotnetBuilder implements TargetBuilder { private async copyOutArtifacts(packages: TemporaryDotnetPackage[]) { logging.debug('Copying out .NET artifacts'); - for (const pkg of packages) { + + await Promise.all(packages.map(copyOutIndividualArtifacts.bind(this))); + + async function copyOutIndividualArtifacts(this: DotnetBuilder, pkg: TemporaryDotnetPackage) { const targetDirectory = this.outputDir(pkg.outputTargetDirectory); await fs.mkdirp(targetDirectory); - await fs.copy(pkg.artifactsDir, targetDirectory, { recursive: true }); - - // This copies more than we need, remove the directory with the bare assembly again - await fs.remove(path.join(targetDirectory, 'netcoreapp3.0')); + await fs.copy(pkg.artifactsDir, targetDirectory, { + recursive: true, + filter: (_, dst) => { + return dst !== path.join(targetDirectory, TARGET_FRAMEWORK); + }, + }); } } @@ -112,8 +118,13 @@ export class DotnetBuilder implements TargetBuilder { // an /dotnet directory. We will add those as local NuGet repositories. // This enables building against local modules. const allDepsOutputDirs = new Set(); - for (const module of this.modules) { - setExtend(allDepsOutputDirs, await findLocalBuildDirs(module.moduleDirectory, this.targetName)); + + const resolvedModules = this.modules.map(async module => ({ + module, + localBuildDirs: await findLocalBuildDirs(module.moduleDirectory, this.targetName), + })); + for await (const { module, localBuildDirs } of resolvedModules) { + setExtend(allDepsOutputDirs, localBuildDirs); // Also include output directory where we're building to, in case we build multiple packages into // the same output directory. diff --git a/packages/jsii-pacmak/lib/targets/dotnet/dotnetdocgenerator.ts b/packages/jsii-pacmak/lib/targets/dotnet/dotnetdocgenerator.ts index 0c438e0fc2..d7170d00d4 100644 --- a/packages/jsii-pacmak/lib/targets/dotnet/dotnetdocgenerator.ts +++ b/packages/jsii-pacmak/lib/targets/dotnet/dotnetdocgenerator.ts @@ -1,5 +1,6 @@ import { CodeMaker } from 'codemaker'; import * as spec from '@jsii/spec'; +import * as xmlbuilder from 'xmlbuilder'; import { DotNetNameUtils } from './nameutils'; import { prefixMarkdownTsCodeBlocks } from '../../util'; @@ -33,22 +34,15 @@ export class DotNetDocGenerator { const docs = obj.docs; // The docs may be undefined at the method level but not the parameters level - if (docs) { - if (docs.summary) { - this.code.line(`/// ${docs.summary}`); - } - } + this.emitXmlDoc('summary', docs?.summary || ''); // Handling parameters only if the obj is a method const objMethod = obj as spec.Method; if (objMethod.parameters) { objMethod.parameters.forEach(param => { - if (param.docs) { - const paramSummary = param.docs.summary; - if (paramSummary) { - this.code.line(`/// ${paramSummary}`); - } - } + // Remove any slug `@` from the parameter name - it's not supposed to show up here. + const paramName = this.nameutils.convertParameterName(param.name).replace(/^@/, ''); + this.emitXmlDoc('param', param.docs?.summary || '', { attributes: { name: paramName } }); }); } @@ -58,68 +52,63 @@ export class DotNetDocGenerator { } if (docs.returns) { - this.code.line('/// '); - const returnsLines = docs.returns.split('\n'); - returnsLines.forEach( line => this.code.line(`/// ${line}`)); - this.code.line('/// '); + this.emitXmlDoc('returns', docs.returns); } - const remarks: string[] = []; - let remarksOpen = false; + const remarks = xmlbuilder.create('remarks', { headless: true }); if (docs.remarks) { - this.code.line('/// '); - remarksOpen = true; - const remarkLines = prefixMarkdownTsCodeBlocks(docs.remarks, SAMPLES_DISCLAIMER).split('\n'); - remarkLines.forEach( line => this.code.line(`/// ${line}`)); + remarks.text(`\n${prefixMarkdownTsCodeBlocks(docs.remarks, SAMPLES_DISCLAIMER)}\n`); } if (docs.default) { - const defaultLines = docs.default.split('\n'); - remarks.push('default:'); - defaultLines.forEach( line => remarks.push(`${line}`)); + remarks.text(`\ndefault:\n${docs.default}\n`); } if (docs.stability) { - remarks.push(`stability: ${this.nameutils.capitalizeWord(docs.stability)}`); + remarks.text(`\nstability: ${this.nameutils.capitalizeWord(docs.stability)}\n`); } if (docs.example) { - const remarkLines = docs.example.split('\n'); - remarks.push('example:'); - remarks.push(''); - remarks.push('// Examples in C# are coming soon.'); - remarkLines.forEach( line => remarks.push(`${line}`)); - remarks.push(''); + remarks.text('\nexample:\n'); + remarks.ele('code') + .text('\n// Examples in C# are coming soon.\n') + .text(`${docs.example}\n`) + remarks.text('\n'); } if (docs.see) { - const seeLines = docs.see.split('\n'); - remarks.push('see:'); - seeLines.forEach( line => remarks.push(`${line}`)); + remarks.text(`\nsee:\n${docs.see}\n`); } if (docs.subclassable) { - remarks.push('subclassable'); + remarks.text('\nsubclassable\n'); } if (docs.custom) { for (const [k, v] of Object.entries(docs.custom ?? {})) { const custom = k === 'link' ? `${k}: ${v} ` : `${k}: ${v}`; // Extra space for '@link' to keep unit tests happy - const customLines = custom.split('\n'); - customLines.forEach( line => remarks.push(`${line}`)); + remarks.text(`\n${custom}\n`); } } - if (remarks.length > 0) { - if (!remarksOpen) { - this.code.line('/// '); - remarksOpen = true; + const remarksXml = remarks.end({ allowEmpty: true }); + if (remarksXml !== '') { + for (const line of remarksXml.split('\n')) { + this.code.line(`/// ${line}`); } - remarks.forEach( line => this.code.line(`/// ${line}`)); } + } + + private emitXmlDoc(tag: string, content: string, { attributes = {} }: { attributes?: { [name: string]: string } } = {}): void { + const xml = xmlbuilder.create(tag, { headless: true }) + .text(content); + for (const [name, value] of Object.entries(attributes)) { + xml.att(name, value); + } + const xmlstring = xml.end({ allowEmpty: true, pretty: false }); - if (remarksOpen) { - this.code.line('/// '); + for (const line of xmlstring.split('\n').map(x => x.trim())) { + this.code.line(`/// ${line}`) } } } diff --git a/packages/jsii-pacmak/lib/targets/dotnet/dotnetgenerator.ts b/packages/jsii-pacmak/lib/targets/dotnet/dotnetgenerator.ts index be26986e7d..5b55084e9c 100644 --- a/packages/jsii-pacmak/lib/targets/dotnet/dotnetgenerator.ts +++ b/packages/jsii-pacmak/lib/targets/dotnet/dotnetgenerator.ts @@ -7,7 +7,7 @@ import { Generator } from '../../generator'; import { DotNetDocGenerator } from './dotnetdocgenerator'; import { DotNetRuntimeGenerator } from './dotnetruntimegenerator'; import { DotNetTypeResolver } from './dotnettyperesolver'; -import { DotNetDependency, FileGenerator } from './filegenerator'; +import { FileGenerator } from './filegenerator'; import { DotNetNameUtils } from './nameutils'; /** @@ -73,12 +73,9 @@ export class DotNetGenerator extends Generator { const assm = this.assembly; const packageId: string = assm.targets!.dotnet!.packageId; if (!packageId) { throw new Error(`The module ${assm.name} does not have a dotnet.packageId setting`); } - await fs.mkdirs(path.join(outdir, packageId)); + await fs.mkdirp(path.join(outdir, packageId)); await fs.copyFile(tarball, path.join(outdir, packageId, tarballFileName)); - // Create an anchor file for the current model - this.generateDependencyAnchorFile(); - // Copying the .jsii file await fs.copyFile(this.jsiiFilePath, path.join(outdir, packageId, spec.SPEC_FILE_NAME)); @@ -87,31 +84,15 @@ export class DotNetGenerator extends Generator { } /** - * Generates the Anchor file - */ - protected generateDependencyAnchorFile(): void { - const namespace = `${this.assembly.targets!.dotnet!.namespace}.Internal.DependencyResolution`; - this.openFileIfNeeded('Anchor', namespace, false, false); - this.code.openBlock('public class Anchor'); - this.code.openBlock('public Anchor()'); - this.typeresolver.namespaceDependencies.forEach((value: DotNetDependency) => { - this.code.line(`new ${value.namespace}.Internal.DependencyResolution.Anchor();`); - }); - this.code.closeBlock(); - this.code.closeBlock(); - this.closeFileIfNeeded('Anchor', namespace, false); - } - - /** - * Not used as we override the save() method - */ + * Not used as we override the save() method + */ protected getAssemblyOutputDir(mod: spec.Assembly): string { return this.nameutils.convertPackageName(mod.name); } /** - * Namespaces are handled implicitly by openFileIfNeeded(). - */ + * Namespaces are handled implicitly by openFileIfNeeded(). + */ protected onBeginNamespace(_ns: string) { /* noop */ } protected onEndNamespace(_ns: string) { /* noop */ } @@ -269,11 +250,15 @@ export class DotNetGenerator extends Generator { this.code.line(); } + this.code.line('/// Used by jsii to construct an instance of this class from a Javascript-owned object reference'); + this.code.line('/// The Javascript-owned object reference'); this.dotnetRuntimeGenerator.emitDeprecatedAttributeIfNecessary(initializer); this.code.openBlock(`protected ${className}(ByRefValue reference): base(reference)`); this.code.closeBlock(); this.code.line(); + this.code.line('/// Used by jsii to construct an instance of this class from DeputyProps'); + this.code.line('/// The deputy props'); this.dotnetRuntimeGenerator.emitDeprecatedAttributeIfNecessary(initializer); this.code.openBlock(`protected ${className}(DeputyProps props): base(props)`); this.code.closeBlock(); diff --git a/packages/jsii-pacmak/lib/targets/dotnet/filegenerator.ts b/packages/jsii-pacmak/lib/targets/dotnet/filegenerator.ts index 14ccd3b9fd..7d9ffeeb8d 100644 --- a/packages/jsii-pacmak/lib/targets/dotnet/filegenerator.ts +++ b/packages/jsii-pacmak/lib/targets/dotnet/filegenerator.ts @@ -5,6 +5,7 @@ import xmlbuilder = require('xmlbuilder'); import { DotNetNameUtils } from './nameutils'; import logging = require('../../logging'); import { nextMajorVersion } from '../../util'; +import { TARGET_FRAMEWORK } from '../dotnet'; // Represents a dependency in the dependency tree. export class DotNetDependency { @@ -80,7 +81,7 @@ export class FileGenerator { propertyGroup.ele('IncludeSymbols', 'true'); propertyGroup.ele('IncludeSource', 'true'); propertyGroup.ele('SymbolPackageFormat', 'snupkg'); - propertyGroup.ele('TargetFramework', 'netcoreapp3.0'); + propertyGroup.ele('TargetFramework', TARGET_FRAMEWORK); if (dotnetInfo!.signAssembly != null) { const signAssembly = propertyGroup.ele('SignAssembly'); @@ -115,6 +116,9 @@ export class FileGenerator { } }); + // Suppress warnings about [Obsolete] members, this is the author's choice! + rootNode.ele('PropertyGroup').ele('NoWarn').text('0612,0618'); + const xml = rootNode.end({ pretty: true, spaceBeforeSlash: true }); // Sending the xml content to the codemaker to ensure the file is written diff --git a/packages/jsii-pacmak/lib/targets/java.ts b/packages/jsii-pacmak/lib/targets/java.ts index f5fb10c011..efdc4afad4 100644 --- a/packages/jsii-pacmak/lib/targets/java.ts +++ b/packages/jsii-pacmak/lib/targets/java.ts @@ -41,9 +41,7 @@ export class JavaBuilder implements TargetBuilder { if (this.options.codeOnly) { // Simple, just generate code to respective output dirs - for (const module of this.modules) { - await this.generateModuleCode(module, this.options, this.outputDir(module.outputDirectory)); - } + await Promise.all(this.modules.map(module => this.generateModuleCode(module, this.options, this.outputDir(module.outputDirectory)))); return; } @@ -83,11 +81,14 @@ export class JavaBuilder implements TargetBuilder { return Scratch.make(async (tmpDir: string) => { logging.debug(`Generating aggregate Java source dir at ${tmpDir}`); const ret: TemporaryJavaPackage[] = []; - for (const module of modules) { - const relativeName = slugify(module.name); - const sourceDir = path.join(tmpDir, relativeName); - await this.generateModuleCode(module, options, sourceDir); + const generatedModules = modules + .map(module => ({ module, relativeName: slugify(module.name) })) + .map(({ module, relativeName }) => ({ module, relativeName, sourceDir: path.join(tmpDir, relativeName) })) + .map(({ module, relativeName, sourceDir }) => this.generateModuleCode(module, options, sourceDir) + .then(() => ({ module, relativeName }))); + + for await (const { module, relativeName } of generatedModules) { ret.push({ relativeSourceDir: relativeName, relativeArtifactsDir: moduleArtifactsSubdir(module), @@ -140,13 +141,13 @@ export class JavaBuilder implements TargetBuilder { // the files we need to copy, including Maven metadata. But we need to recreate // the whole path in the target directory. - for (const pkg of packages) { + await Promise.all(packages.map(async pkg => { const artifactsSource = path.join(artifactsRoot, pkg.relativeArtifactsDir); const artifactsDest = path.join(this.outputDir(pkg.outputTargetDirectory), pkg.relativeArtifactsDir); await fs.mkdirp(artifactsDest); await fs.copy(artifactsSource, artifactsDest, { recursive: true }); - } + })); } /** @@ -170,8 +171,13 @@ export class JavaBuilder implements TargetBuilder { // module. this enables building against local modules (i.e. in lerna // repositories or linked modules). const allDepsOutputDirs = new Set(); - for (const module of this.modules) { - setExtend(allDepsOutputDirs, await findLocalBuildDirs(module.moduleDirectory, this.targetName)); + + const resolvedModules = this.modules.map(async mod => ({ + module: mod, + localBuildDirs: await findLocalBuildDirs(mod.moduleDirectory, this.targetName), + })); + for await (const { module, localBuildDirs } of resolvedModules) { + setExtend(allDepsOutputDirs, localBuildDirs); // Also include output directory where we're building to, in case we build multiple packages into // the same output directory. diff --git a/packages/jsii-pacmak/lib/util.ts b/packages/jsii-pacmak/lib/util.ts index 94e370e23b..1aa4b8dae7 100644 --- a/packages/jsii-pacmak/lib/util.ts +++ b/packages/jsii-pacmak/lib/util.ts @@ -163,13 +163,8 @@ export function setExtend(xs: Set, els: Iterable) { } export async function filterAsync(xs: A[], pred: (x: A) => Promise): Promise { - const ret = new Array(); - for (const x of xs) { - if (await pred(x)) { - ret.push(x); - } - } - return ret; + const mapped = await Promise.all(xs.map(async x => ({ x, pred: await pred(x) }))); + return mapped.filter(({ pred }) => pred).map(({ x }) => x); } /** diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId.csproj b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId.csproj index fd591e765a..e7f59e4055 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId.csproj +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId.csproj @@ -26,5 +26,8 @@ + + 0612,0618 + diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseInterface.cs index 3a4b4dace1..8876263357 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseInterface.cs @@ -2,9 +2,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace { + /// [JsiiInterface(nativeType: typeof(IVeryBaseInterface), fullyQualifiedName: "@scope/jsii-calc-base-of-base.IVeryBaseInterface")] public interface IVeryBaseInterface { + /// [JsiiMethod(name: "foo")] void Foo(); } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseInterfaceProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseInterfaceProxy.cs index af20ecc140..8ec09bcc71 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseInterfaceProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseInterfaceProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace { + /// [JsiiTypeProxy(nativeType: typeof(IVeryBaseInterface), fullyQualifiedName: "@scope/jsii-calc-base-of-base.IVeryBaseInterface")] internal sealed class IVeryBaseInterfaceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.IVeryBaseInterface { @@ -9,6 +10,7 @@ private IVeryBaseInterfaceProxy(ByRefValue reference): base(reference) { } + /// [JsiiMethod(name: "foo")] public void Foo() { diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseProps.cs index d0af7ce17b..2e31039bf0 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseProps.cs @@ -2,9 +2,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace { + /// [JsiiInterface(nativeType: typeof(IVeryBaseProps), fullyQualifiedName: "@scope/jsii-calc-base-of-base.VeryBaseProps")] public interface IVeryBaseProps { + /// [JsiiProperty(name: "foo", typeJson: "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}")] Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very Foo { diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/Internal/DependencyResolution/Anchor.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/Internal/DependencyResolution/Anchor.cs deleted file mode 100644 index 608cd2651c..0000000000 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/Internal/DependencyResolution/Anchor.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Internal.DependencyResolution -{ - public class Anchor - { - public Anchor() - { - } - } -} diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/Very.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/Very.cs index a20931304f..d00dd1469b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/Very.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/Very.cs @@ -2,21 +2,28 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace { + /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very), fullyQualifiedName: "@scope/jsii-calc-base-of-base.Very")] public class Very : DeputyBase { + /// public Very(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Very(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Very(DeputyProps props): base(props) { } + /// [JsiiMethod(name: "hey", returnsJson: "{\"type\":{\"primitive\":\"number\"}}")] public virtual double Hey() { diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/VeryBaseProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/VeryBaseProps.cs index e3129f5e31..2359768e13 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/VeryBaseProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/VeryBaseProps.cs @@ -2,9 +2,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace { + /// [JsiiByValue(fqn: "@scope/jsii-calc-base-of-base.VeryBaseProps")] public class VeryBaseProps : Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.IVeryBaseProps { + /// [JsiiProperty(name: "foo", typeJson: "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}", isOverride: true)] public Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very Foo { diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/VeryBasePropsProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/VeryBasePropsProxy.cs index cf0420f2c6..29a1d02852 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/VeryBasePropsProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base-of-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/VeryBasePropsProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace { + /// [JsiiTypeProxy(nativeType: typeof(IVeryBaseProps), fullyQualifiedName: "@scope/jsii-calc-base-of-base.VeryBaseProps")] internal sealed class VeryBasePropsProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.IVeryBaseProps { @@ -9,6 +10,7 @@ private VeryBasePropsProxy(ByRefValue reference): base(reference) { } + /// [JsiiProperty(name: "foo", typeJson: "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}")] public Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very Foo { diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId.csproj b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId.csproj index a7c60dcfc0..eca51885aa 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId.csproj +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId.csproj @@ -27,5 +27,8 @@ + + 0612,0618 + diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/Base.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/Base.cs index efa386655b..8a450c082b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/Base.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/Base.cs @@ -6,21 +6,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.Base), fullyQualifiedName: "@scope/jsii-calc-base.Base")] public abstract class Base : DeputyBase { + /// protected Base(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Base(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Base(DeputyProps props): base(props) { } - /// - /// the name of the class (to verify native type names are created for derived classes). - /// + /// + /// the name of the class (to verify native type names are created for derived classes). [JsiiMethod(name: "typeName", returnsJson: "{\"type\":{\"primitive\":\"any\"}}")] public virtual object TypeName() { diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/BaseProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/BaseProps.cs index d8b531c3a6..be17810d23 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/BaseProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/BaseProps.cs @@ -2,9 +2,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace { + /// [JsiiByValue(fqn: "@scope/jsii-calc-base.BaseProps")] public class BaseProps : Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.IBaseProps { + /// [JsiiProperty(name: "bar", typeJson: "{\"primitive\":\"string\"}", isOverride: true)] public string Bar { @@ -12,6 +14,7 @@ public string Bar set; } + /// [JsiiProperty(name: "foo", typeJson: "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}", isOverride: true)] public Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very Foo { diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/BasePropsProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/BasePropsProxy.cs index 72db0f04ec..830199d2d8 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/BasePropsProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/BasePropsProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace { + /// [JsiiTypeProxy(nativeType: typeof(IBaseProps), fullyQualifiedName: "@scope/jsii-calc-base.BaseProps")] internal sealed class BasePropsProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.IBaseProps { @@ -9,12 +10,14 @@ private BasePropsProxy(ByRefValue reference): base(reference) { } + /// [JsiiProperty(name: "bar", typeJson: "{\"primitive\":\"string\"}")] public string Bar { get => GetInstanceProperty(); } + /// [JsiiProperty(name: "foo", typeJson: "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}")] public Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very Foo { diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseInterface.cs index b54ad05208..ccf22b8f24 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseInterface.cs @@ -2,9 +2,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace { + /// [JsiiInterface(nativeType: typeof(IBaseInterface), fullyQualifiedName: "@scope/jsii-calc-base.IBaseInterface")] public interface IBaseInterface : Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.IVeryBaseInterface { + /// [JsiiMethod(name: "bar")] void Bar(); } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseInterfaceProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseInterfaceProxy.cs index 150cd77906..74b6b69ce7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseInterfaceProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseInterfaceProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace { + /// [JsiiTypeProxy(nativeType: typeof(IBaseInterface), fullyQualifiedName: "@scope/jsii-calc-base.IBaseInterface")] internal sealed class IBaseInterfaceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.IBaseInterface { @@ -9,12 +10,14 @@ private IBaseInterfaceProxy(ByRefValue reference): base(reference) { } + /// [JsiiMethod(name: "bar")] public void Bar() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// [JsiiMethod(name: "foo")] public void Foo() { diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseProps.cs index 802b27ca7b..2fac99cbb3 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseProps.cs @@ -2,9 +2,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace { + /// [JsiiInterface(nativeType: typeof(IBaseProps), fullyQualifiedName: "@scope/jsii-calc-base.BaseProps")] public interface IBaseProps : Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.IVeryBaseProps { + /// [JsiiProperty(name: "bar", typeJson: "{\"primitive\":\"string\"}")] string Bar { diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/Internal/DependencyResolution/Anchor.cs b/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/Internal/DependencyResolution/Anchor.cs deleted file mode 100644 index d6e680cb86..0000000000 --- a/packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/Internal/DependencyResolution/Anchor.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.Internal.DependencyResolution -{ - public class Anchor - { - public Anchor() - { - new Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Internal.DependencyResolution.Anchor(); - } - } -} diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId.csproj b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId.csproj index 523330001c..39ad0bcf10 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId.csproj +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId.csproj @@ -27,5 +27,8 @@ + + 0612,0618 + diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/EnumFromScopedModule.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/EnumFromScopedModule.cs index 35b8cea5bd..ff48c691cb 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/EnumFromScopedModule.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/EnumFromScopedModule.cs @@ -10,12 +10,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace [System.Obsolete()] public enum EnumFromScopedModule { + /// /// /// stability: Deprecated /// [JsiiEnumMember(name: "VALUE1")] [System.Obsolete()] VALUE1, + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IDoublable.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IDoublable.cs index 72681bc5b7..d62a25d0b3 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IDoublable.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IDoublable.cs @@ -10,6 +10,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace [System.Obsolete()] public interface IDoublable { + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IDoublableProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IDoublableProxy.cs index 8072c56d22..9a44162f5c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IDoublableProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IDoublableProxy.cs @@ -14,6 +14,7 @@ private IDoublableProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IFriendly.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IFriendly.cs index 7fe15c625b..1e605f4106 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IFriendly.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IFriendly.cs @@ -6,6 +6,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// These classes can be greeted with /// a "hello" or "goodbye" blessing and they will respond back in a fun and friendly manner. + /// /// stability: Deprecated /// [JsiiInterface(nativeType: typeof(IFriendly), fullyQualifiedName: "@scope/jsii-calc-lib.IFriendly")] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IFriendlyProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IFriendlyProxy.cs index 3b42042e34..297b5715d1 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IFriendlyProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IFriendlyProxy.cs @@ -6,6 +6,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// These classes can be greeted with /// a "hello" or "goodbye" blessing and they will respond back in a fun and friendly manner. + /// /// stability: Deprecated /// [JsiiTypeProxy(nativeType: typeof(IFriendly), fullyQualifiedName: "@scope/jsii-calc-lib.IFriendly")] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IMyFirstStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IMyFirstStruct.cs index cd9b7dad3a..ca0d3d1126 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IMyFirstStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IMyFirstStruct.cs @@ -32,6 +32,7 @@ string Astring get; } + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IStructWithOnlyOptionals.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IStructWithOnlyOptionals.cs index bb4471ede9..a9675afbde 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IStructWithOnlyOptionals.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IStructWithOnlyOptionals.cs @@ -25,6 +25,7 @@ string Optional1 } } + /// /// /// stability: Deprecated /// @@ -39,6 +40,7 @@ string Optional1 } } + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IThreeLevelsInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IThreeLevelsInterface.cs index fb892ed8c5..e6113bfe8a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IThreeLevelsInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IThreeLevelsInterface.cs @@ -6,12 +6,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Their presence validates that .NET/Java/jsii-reflect can track all fields /// far enough up the tree. + /// /// stability: Deprecated /// [JsiiInterface(nativeType: typeof(IThreeLevelsInterface), fullyQualifiedName: "@scope/jsii-calc-lib.IThreeLevelsInterface")] [System.Obsolete()] public interface IThreeLevelsInterface : Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.IBaseInterface { + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IThreeLevelsInterfaceProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IThreeLevelsInterfaceProxy.cs index 1fe8bc299d..f83a91c26f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IThreeLevelsInterfaceProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IThreeLevelsInterfaceProxy.cs @@ -6,6 +6,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Their presence validates that .NET/Java/jsii-reflect can track all fields /// far enough up the tree. + /// /// stability: Deprecated /// [JsiiTypeProxy(nativeType: typeof(IThreeLevelsInterface), fullyQualifiedName: "@scope/jsii-calc-lib.IThreeLevelsInterface")] @@ -16,6 +17,7 @@ private IThreeLevelsInterfaceProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Deprecated /// @@ -26,12 +28,14 @@ public void Baz() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// [JsiiMethod(name: "bar")] public void Bar() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// [JsiiMethod(name: "foo")] public void Foo() { diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Internal/DependencyResolution/Anchor.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Internal/DependencyResolution/Anchor.cs deleted file mode 100644 index cdded93e05..0000000000 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Internal/DependencyResolution/Anchor.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Internal.DependencyResolution -{ - public class Anchor - { - public Anchor() - { - new Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.Internal.DependencyResolution.Anchor(); - } - } -} diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/MyFirstStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/MyFirstStruct.cs index 2f0b676b78..709be25e78 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/MyFirstStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/MyFirstStruct.cs @@ -33,6 +33,7 @@ public string Astring set; } + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/MyFirstStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/MyFirstStructProxy.cs index f0ac0931da..ed23a93aa2 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/MyFirstStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/MyFirstStructProxy.cs @@ -36,6 +36,7 @@ public string Astring get => GetInstanceProperty(); } + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Number.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Number.cs index 7c801f0ff0..053f59ca19 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Number.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Number.cs @@ -11,7 +11,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace public class Number : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_, Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IDoublable { /// Creates a Number object. - /// The number. + /// The number. /// /// stability: Deprecated /// @@ -20,11 +20,15 @@ public Number(double @value): base(new DeputyProps(new object[]{@value})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference [System.Obsolete()] protected Number(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props [System.Obsolete()] protected Number(DeputyProps props): base(props) { diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Operation.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Operation.cs index 8d1e82f99c..ec15ad7a64 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Operation.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Operation.cs @@ -10,14 +10,19 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace [System.Obsolete()] public abstract class Operation : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ { + /// protected Operation(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Operation(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Operation(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/StructWithOnlyOptionals.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/StructWithOnlyOptionals.cs index 66c9a80f4d..195c7a4418 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/StructWithOnlyOptionals.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/StructWithOnlyOptionals.cs @@ -22,6 +22,7 @@ public string Optional1 set; } + /// /// /// stability: Deprecated /// @@ -34,6 +35,7 @@ public double? Optional2 set; } + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/StructWithOnlyOptionalsProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/StructWithOnlyOptionalsProxy.cs index 3074e21fbe..07989bd5c0 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/StructWithOnlyOptionalsProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/StructWithOnlyOptionalsProxy.cs @@ -26,6 +26,7 @@ public string Optional1 get => GetInstanceProperty(); } + /// /// /// stability: Deprecated /// @@ -37,6 +38,7 @@ public double? Optional2 get => GetInstanceProperty(); } + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Value_.cs b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Value_.cs index ae6000246e..95b6d84c78 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Value_.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Value_.cs @@ -10,14 +10,19 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace [System.Obsolete()] public abstract class Value_ : Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.Base { + /// protected Value_(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Value_(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Value_(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon.JSII.Tests.CalculatorPackageId.csproj b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon.JSII.Tests.CalculatorPackageId.csproj index f8f2f27680..1a901072ec 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon.JSII.Tests.CalculatorPackageId.csproj +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon.JSII.Tests.CalculatorPackageId.csproj @@ -31,5 +31,8 @@ + + 0612,0618 + diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClass.cs index 41f84ad8f4..d426bc8a29 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClass.cs @@ -2,24 +2,32 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClass), fullyQualifiedName: "jsii-calc.AbstractClass")] public abstract class AbstractClass : Amazon.JSII.Tests.CalculatorNamespace.AbstractClassBase, Amazon.JSII.Tests.CalculatorNamespace.IInterfaceImplementedByAbstractClass { + /// protected AbstractClass(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected AbstractClass(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected AbstractClass(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// @@ -27,6 +35,7 @@ protected AbstractClass(DeputyProps props): base(props) public abstract string AbstractMethod(string name); + /// /// /// stability: Experimental /// @@ -36,6 +45,7 @@ public virtual double NonAbstractMethod() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassBase.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassBase.cs index 1ed4b36d21..d4f855c963 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassBase.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassBase.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClassBase), fullyQualifiedName: "jsii-calc.AbstractClassBase")] public abstract class AbstractClassBase : DeputyBase { + /// protected AbstractClassBase(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected AbstractClassBase(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected AbstractClassBase(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassBaseProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassBaseProxy.cs index a5f0ed8f29..6bc756e3ba 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassBaseProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassBaseProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private AbstractClassBaseProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassProxy.cs index a6a5d533fc..ee3b79d197 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private AbstractClassProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -21,6 +23,8 @@ public override string AbstractProperty get => GetInstanceProperty(); } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassReturner.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassReturner.cs index 74aa52d62c..9bb19cf4d2 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassReturner.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassReturner.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClassReturner), fullyQualifiedName: "jsii-calc.AbstractClassReturner")] public class AbstractClassReturner : DeputyBase { + /// public AbstractClassReturner(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected AbstractClassReturner(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected AbstractClassReturner(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -29,6 +36,7 @@ public virtual Amazon.JSII.Tests.CalculatorNamespace.AbstractClass GiveMeAbstrac return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -38,6 +46,7 @@ public virtual Amazon.JSII.Tests.CalculatorNamespace.IInterfaceImplementedByAbst return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Add.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Add.cs index cd14b21f31..64804292fe 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Add.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Add.cs @@ -10,8 +10,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace public class Add : Amazon.JSII.Tests.CalculatorNamespace.BinaryOperation { /// Creates a BinaryOperation. - /// Left-hand side operand. - /// Right-hand side operand. + /// Left-hand side operand. + /// Right-hand side operand. /// /// stability: Experimental /// @@ -19,10 +19,14 @@ public Add(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ lhs, Amazon { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Add(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Add(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllTypes.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllTypes.cs index 65bf3f6f31..41bb3d6190 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllTypes.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllTypes.cs @@ -6,23 +6,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// The setters will validate /// that the value set is of the expected type and throw otherwise. + /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AllTypes), fullyQualifiedName: "jsii-calc.AllTypes")] public class AllTypes : DeputyBase { + /// public AllTypes(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected AllTypes(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected AllTypes(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// @@ -32,6 +40,7 @@ public virtual void AnyIn(object inp) InvokeInstanceVoidMethod(new System.Type[]{typeof(object)}, new object[]{inp}); } + /// /// /// stability: Experimental /// @@ -41,6 +50,8 @@ public virtual object AnyOut() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// + /// /// /// stability: Experimental /// @@ -50,6 +61,7 @@ public virtual Amazon.JSII.Tests.CalculatorNamespace.StringEnum EnumMethod(Amazo return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.StringEnum)}, new object[]{@value}); } + /// /// /// stability: Experimental /// @@ -59,6 +71,7 @@ public virtual double EnumPropertyValue get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -69,6 +82,7 @@ public virtual object[] AnyArrayProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -79,6 +93,7 @@ public virtual System.Collections.Generic.IDictionary AnyMapProp set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -89,6 +104,7 @@ public virtual object AnyProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -99,6 +115,7 @@ public virtual string[] ArrayProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -109,6 +126,7 @@ public virtual bool BooleanProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -119,6 +137,7 @@ public virtual System.DateTime DateProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -129,6 +148,7 @@ public virtual Amazon.JSII.Tests.CalculatorNamespace.AllTypesEnum EnumProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -139,6 +159,7 @@ public virtual Newtonsoft.Json.Linq.JObject JsonProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -149,6 +170,7 @@ public virtual Newtonsoft.Json.Linq.JObject JsonProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -159,6 +181,7 @@ public virtual double NumberProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -169,6 +192,7 @@ public virtual string StringProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -179,6 +203,7 @@ public virtual object[] UnionArrayProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -189,6 +214,7 @@ public virtual System.Collections.Generic.IDictionary UnionMapPr set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -199,6 +225,7 @@ public virtual object UnionProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -209,6 +236,7 @@ public virtual object[] UnknownArrayProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -219,6 +247,7 @@ public virtual System.Collections.Generic.IDictionary UnknownMap set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -229,6 +258,7 @@ public virtual object UnknownProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllTypesEnum.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllTypesEnum.cs index f4c68574a0..ec116bcca6 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllTypesEnum.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllTypesEnum.cs @@ -3,22 +3,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiEnum(nativeType: typeof(AllTypesEnum), fullyQualifiedName: "jsii-calc.AllTypesEnum")] public enum AllTypesEnum { + /// /// /// stability: Experimental /// [JsiiEnumMember(name: "MY_ENUM_VALUE")] MY_ENUM_VALUE, + /// /// /// stability: Experimental /// [JsiiEnumMember(name: "YOUR_ENUM_VALUE")] YOUR_ENUM_VALUE, + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllowedMethodNames.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllowedMethodNames.cs index e11234cda1..ded1439eff 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllowedMethodNames.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllowedMethodNames.cs @@ -2,24 +2,33 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AllowedMethodNames), fullyQualifiedName: "jsii-calc.AllowedMethodNames")] public class AllowedMethodNames : DeputyBase { + /// public AllowedMethodNames(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected AllowedMethodNames(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected AllowedMethodNames(DeputyProps props): base(props) { } + /// + /// + /// /// /// stability: Experimental /// @@ -30,6 +39,7 @@ public virtual void GetBar(string p1, double p2) } /// getXxx() is not allowed (see negatives), but getXxx(a, ...) is okay. + /// /// /// stability: Experimental /// @@ -39,6 +49,10 @@ public virtual string GetFoo(string withParam) return InvokeInstanceMethod(new System.Type[]{typeof(string)}, new object[]{withParam}); } + /// + /// + /// + /// /// /// stability: Experimental /// @@ -49,6 +63,8 @@ public virtual void SetBar(string x, double y, bool z) } /// setFoo(x) is not allowed (see negatives), but setXxx(a, b, ...) is okay. + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AmbiguousParameters.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AmbiguousParameters.cs index 85105bbd92..7050126fd5 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AmbiguousParameters.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AmbiguousParameters.cs @@ -2,12 +2,16 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AmbiguousParameters), fullyQualifiedName: "jsii-calc.AmbiguousParameters", parametersJson: "[{\"name\":\"scope\",\"type\":{\"fqn\":\"jsii-calc.Bell\"}},{\"name\":\"props\",\"type\":{\"fqn\":\"jsii-calc.StructParameterType\"}}]")] public class AmbiguousParameters : DeputyBase { + /// + /// + /// /// /// stability: Experimental /// @@ -15,14 +19,19 @@ public AmbiguousParameters(Amazon.JSII.Tests.CalculatorNamespace.Bell scope, Ama { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected AmbiguousParameters(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected AmbiguousParameters(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -32,6 +41,7 @@ public virtual Amazon.JSII.Tests.CalculatorNamespace.IStructParameterType Props get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AnonymousImplementationProvider.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AnonymousImplementationProvider.cs index cd80f81adb..d2d2035290 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AnonymousImplementationProvider.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AnonymousImplementationProvider.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AnonymousImplementationProvider), fullyQualifiedName: "jsii-calc.AnonymousImplementationProvider")] public class AnonymousImplementationProvider : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IAnonymousImplementationProvider { + /// public AnonymousImplementationProvider(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected AnonymousImplementationProvider(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected AnonymousImplementationProvider(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -29,6 +36,7 @@ public virtual Amazon.JSII.Tests.CalculatorNamespace.Implementation ProvideAsCla return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AsyncVirtualMethods.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AsyncVirtualMethods.cs index c556ab9482..6fe9b91bd7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AsyncVirtualMethods.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AsyncVirtualMethods.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AsyncVirtualMethods), fullyQualifiedName: "jsii-calc.AsyncVirtualMethods")] public class AsyncVirtualMethods : DeputyBase { + /// public AsyncVirtualMethods(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected AsyncVirtualMethods(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected AsyncVirtualMethods(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -44,6 +51,7 @@ public virtual double CallMe2() /// This is a "double promise" situation, which /// means that callbacks are not going to be available immediate, but only /// after an "immediates" cycle. + /// /// stability: Experimental /// [JsiiMethod(name: "callMeDoublePromise", returnsJson: "{\"type\":{\"primitive\":\"number\"}}", isAsync: true)] @@ -52,6 +60,7 @@ public virtual double CallMeDoublePromise() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -61,6 +70,8 @@ public virtual double DontOverrideMe() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// + /// /// /// stability: Experimental /// @@ -70,6 +81,7 @@ public virtual double OverrideMe(double mult) return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{mult}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AugmentableClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AugmentableClass.cs index c6a8a23a87..549f448069 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AugmentableClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AugmentableClass.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AugmentableClass), fullyQualifiedName: "jsii-calc.AugmentableClass")] public class AugmentableClass : DeputyBase { + /// public AugmentableClass(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected AugmentableClass(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected AugmentableClass(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -29,6 +36,7 @@ public virtual void MethodOne() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseJsii976.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseJsii976.cs index a538d1669a..0304ea3694 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseJsii976.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseJsii976.cs @@ -2,20 +2,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BaseJsii976), fullyQualifiedName: "jsii-calc.BaseJsii976")] public class BaseJsii976 : DeputyBase { + /// public BaseJsii976(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected BaseJsii976(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected BaseJsii976(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Bell.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Bell.cs index d28090559c..f5f82864b8 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Bell.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Bell.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Bell), fullyQualifiedName: "jsii-calc.Bell")] public class Bell : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IBell { + /// public Bell(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Bell(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Bell(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -29,6 +36,7 @@ public virtual void Ring() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BinaryOperation.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BinaryOperation.cs index 19aa4d3552..de08dd9123 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BinaryOperation.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BinaryOperation.cs @@ -10,8 +10,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace public abstract class BinaryOperation : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Operation, Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IFriendly { /// Creates a BinaryOperation. - /// Left-hand side operand. - /// Right-hand side operand. + /// Left-hand side operand. + /// Right-hand side operand. /// /// stability: Experimental /// @@ -19,10 +19,14 @@ protected BinaryOperation(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Val { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected BinaryOperation(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected BinaryOperation(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Calculator.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Calculator.cs index 8b5982eeb7..8601d32c5b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Calculator.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Calculator.cs @@ -15,7 +15,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// ``` /// /// I will repeat this example again, but in an @example tag. + /// /// stability: Experimental + /// /// example: /// /// // Examples in C# are coming soon. @@ -29,7 +31,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace public class Calculator : Amazon.JSII.Tests.CalculatorNamespace.composition.CompositeOperation { /// Creates a Calculator object. - /// Initialization properties. + /// Initialization properties. /// /// stability: Experimental /// @@ -37,15 +39,20 @@ public Calculator(Amazon.JSII.Tests.CalculatorNamespace.ICalculatorProps props = { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Calculator(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Calculator(DeputyProps props): base(props) { } /// Adds a number to the current value. + /// /// /// stability: Experimental /// @@ -56,6 +63,7 @@ public virtual void Add(double @value) } /// Multiplies the current value by a number. + /// /// /// stability: Experimental /// @@ -76,6 +84,7 @@ public virtual void Neg() } /// Raises the current value by a power. + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/CalculatorProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/CalculatorProps.cs index 070273a1af..5af51a78af 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/CalculatorProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/CalculatorProps.cs @@ -12,8 +12,10 @@ public class CalculatorProps : Amazon.JSII.Tests.CalculatorNamespace.ICalculator /// The initial value of the calculator. /// /// NOTE: Any number works here, it's fine. + /// /// default: /// 0 + /// /// stability: Experimental /// [JsiiOptional] @@ -28,6 +30,7 @@ public double? InitialValue /// /// default: /// none + /// /// stability: Experimental /// [JsiiOptional] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/CalculatorPropsProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/CalculatorPropsProxy.cs index af13b7149d..e83bddc7ab 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/CalculatorPropsProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/CalculatorPropsProxy.cs @@ -16,8 +16,10 @@ private CalculatorPropsProxy(ByRefValue reference): base(reference) /// The initial value of the calculator. /// /// NOTE: Any number works here, it's fine. + /// /// default: /// 0 + /// /// stability: Experimental /// [JsiiOptional] @@ -31,6 +33,7 @@ public double? InitialValue /// /// default: /// none + /// /// stability: Experimental /// [JsiiOptional] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ChildStruct982.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ChildStruct982.cs index b272f8f7d1..d4d54bcb4a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ChildStruct982.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ChildStruct982.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.ChildStruct982")] public class ChildStruct982 : Amazon.JSII.Tests.CalculatorNamespace.IChildStruct982 { + /// /// /// stability: Experimental /// @@ -18,6 +20,7 @@ public double Bar set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ChildStruct982Proxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ChildStruct982Proxy.cs index be2e6722df..90f2cac66f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ChildStruct982Proxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ChildStruct982Proxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private ChildStruct982Proxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public double Bar get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsTheInternalInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsTheInternalInterface.cs index 625123ddd7..52593384ca 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsTheInternalInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsTheInternalInterface.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassThatImplementsTheInternalInterface), fullyQualifiedName: "jsii-calc.ClassThatImplementsTheInternalInterface")] public class ClassThatImplementsTheInternalInterface : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.INonInternalInterface { + /// public ClassThatImplementsTheInternalInterface(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ClassThatImplementsTheInternalInterface(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ClassThatImplementsTheInternalInterface(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -30,6 +37,7 @@ public virtual string A set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -40,6 +48,7 @@ public virtual string B set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -50,6 +59,7 @@ public virtual string C set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsThePrivateInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsThePrivateInterface.cs index 14b155e522..078cfbe016 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsThePrivateInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsThePrivateInterface.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassThatImplementsThePrivateInterface), fullyQualifiedName: "jsii-calc.ClassThatImplementsThePrivateInterface")] public class ClassThatImplementsThePrivateInterface : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.INonInternalInterface { + /// public ClassThatImplementsThePrivateInterface(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ClassThatImplementsThePrivateInterface(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ClassThatImplementsThePrivateInterface(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -30,6 +37,7 @@ public virtual string A set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -40,6 +48,7 @@ public virtual string B set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -50,6 +59,7 @@ public virtual string C set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithCollections.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithCollections.cs index 8bf586c9c0..7f87bb653d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithCollections.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithCollections.cs @@ -2,12 +2,16 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithCollections), fullyQualifiedName: "jsii-calc.ClassWithCollections", parametersJson: "[{\"name\":\"map\",\"type\":{\"collection\":{\"elementtype\":{\"primitive\":\"string\"},\"kind\":\"map\"}}},{\"name\":\"array\",\"type\":{\"collection\":{\"elementtype\":{\"primitive\":\"string\"},\"kind\":\"array\"}}}]")] public class ClassWithCollections : DeputyBase { + /// + /// + /// /// /// stability: Experimental /// @@ -15,14 +19,19 @@ public ClassWithCollections(System.Collections.Generic.IDictionaryUsed by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ClassWithCollections(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ClassWithCollections(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -32,6 +41,7 @@ public static string[] CreateAList() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithCollections), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -41,6 +51,7 @@ public static System.Collections.Generic.IDictionary CreateAMap( return InvokeStaticMethod>(typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithCollections), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -51,6 +62,7 @@ public static string[] StaticArray set => SetStaticProperty(typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithCollections), value); } + /// /// /// stability: Experimental /// @@ -61,6 +73,7 @@ public static System.Collections.Generic.IDictionary StaticMap set => SetStaticProperty(typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithCollections), value); } + /// /// /// stability: Experimental /// @@ -71,6 +84,7 @@ public virtual string[] Array set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithDocs.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithDocs.cs index c45da5ea21..0f68318c6b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithDocs.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithDocs.cs @@ -5,28 +5,37 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// This class has docs. /// /// The docs are great. They're a bunch of tags. + /// /// stability: Stable + /// /// example: /// /// // Examples in C# are coming soon. /// function anExample() { /// } /// + /// /// see: /// https://aws.amazon.com/ + /// /// customAttribute: hasAValue /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithDocs), fullyQualifiedName: "jsii-calc.ClassWithDocs")] public class ClassWithDocs : DeputyBase { + /// public ClassWithDocs(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ClassWithDocs(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ClassWithDocs(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithJavaReservedWords.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithJavaReservedWords.cs index 0bd0cc6c02..26a9c1d7a8 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithJavaReservedWords.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithJavaReservedWords.cs @@ -2,12 +2,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithJavaReservedWords), fullyQualifiedName: "jsii-calc.ClassWithJavaReservedWords", parametersJson: "[{\"name\":\"int\",\"type\":{\"primitive\":\"string\"}}]")] public class ClassWithJavaReservedWords : DeputyBase { + /// + /// /// /// stability: Experimental /// @@ -15,14 +18,20 @@ public ClassWithJavaReservedWords(string @int): base(new DeputyProps(new object[ { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ClassWithJavaReservedWords(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ClassWithJavaReservedWords(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// @@ -32,6 +41,7 @@ public virtual string Import(string assert) return InvokeInstanceMethod(new System.Type[]{typeof(string)}, new object[]{assert}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithMutableObjectLiteralProperty.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithMutableObjectLiteralProperty.cs index 3971eb4a2f..6714483501 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithMutableObjectLiteralProperty.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithMutableObjectLiteralProperty.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithMutableObjectLiteralProperty), fullyQualifiedName: "jsii-calc.ClassWithMutableObjectLiteralProperty")] public class ClassWithMutableObjectLiteralProperty : DeputyBase { + /// public ClassWithMutableObjectLiteralProperty(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ClassWithMutableObjectLiteralProperty(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ClassWithMutableObjectLiteralProperty(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithPrivateConstructorAndAutomaticProperties.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithPrivateConstructorAndAutomaticProperties.cs index 387adf1ea0..673bd487a5 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithPrivateConstructorAndAutomaticProperties.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithPrivateConstructorAndAutomaticProperties.cs @@ -9,14 +9,21 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithPrivateConstructorAndAutomaticProperties), fullyQualifiedName: "jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties")] public class ClassWithPrivateConstructorAndAutomaticProperties : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithProperties { + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ClassWithPrivateConstructorAndAutomaticProperties(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ClassWithPrivateConstructorAndAutomaticProperties(DeputyProps props): base(props) { } + /// + /// + /// /// /// stability: Experimental /// @@ -26,6 +33,7 @@ public static Amazon.JSII.Tests.CalculatorNamespace.ClassWithPrivateConstructorA return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithPrivateConstructorAndAutomaticProperties), new System.Type[]{typeof(string), typeof(string)}, new object[]{readOnlyString, readWriteString}); } + /// /// /// stability: Experimental /// @@ -35,6 +43,7 @@ public virtual string ReadOnlyString get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJackson.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJackson.cs index 00f30521f8..ceb7ef4f82 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJackson.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJackson.cs @@ -5,20 +5,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// This tries to confuse Jackson by having overloaded property setters. /// /// stability: Experimental + /// /// see: /// https://github.com/aws/aws-cdk/issues/4080 /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConfusingToJackson), fullyQualifiedName: "jsii-calc.ConfusingToJackson")] public class ConfusingToJackson : DeputyBase { + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ConfusingToJackson(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ConfusingToJackson(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -28,6 +34,7 @@ public static Amazon.JSII.Tests.CalculatorNamespace.ConfusingToJackson MakeInsta return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.ConfusingToJackson), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -37,6 +44,7 @@ public static Amazon.JSII.Tests.CalculatorNamespace.IConfusingToJacksonStruct Ma return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.ConfusingToJackson), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJacksonStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJacksonStruct.cs index 0f3969cf05..bddc63f6a8 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJacksonStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJacksonStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.ConfusingToJacksonStruct")] public class ConfusingToJacksonStruct : Amazon.JSII.Tests.CalculatorNamespace.IConfusingToJacksonStruct { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJacksonStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJacksonStructProxy.cs index 9ad6d0fa9b..3ed2676205 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJacksonStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJacksonStructProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private ConfusingToJacksonStructProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConstructorPassesThisOut.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConstructorPassesThisOut.cs index b8bd08d669..630acfeda6 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConstructorPassesThisOut.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConstructorPassesThisOut.cs @@ -2,12 +2,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConstructorPassesThisOut), fullyQualifiedName: "jsii-calc.ConstructorPassesThisOut", parametersJson: "[{\"name\":\"consumer\",\"type\":{\"fqn\":\"jsii-calc.PartiallyInitializedThisConsumer\"}}]")] public class ConstructorPassesThisOut : DeputyBase { + /// + /// /// /// stability: Experimental /// @@ -15,10 +18,14 @@ public ConstructorPassesThisOut(Amazon.JSII.Tests.CalculatorNamespace.PartiallyI { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ConstructorPassesThisOut(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ConstructorPassesThisOut(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Constructors.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Constructors.cs index 601d5e4646..357b9a5275 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Constructors.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Constructors.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), fullyQualifiedName: "jsii-calc.Constructors")] public class Constructors : DeputyBase { + /// public Constructors(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Constructors(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Constructors(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -29,6 +36,7 @@ public static Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface HiddenInter return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -38,6 +46,7 @@ public static Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface[] HiddenInt return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -47,6 +56,7 @@ public static Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface[] HiddenSub return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -56,6 +66,7 @@ public static Amazon.JSII.Tests.CalculatorNamespace.PublicClass MakeClass() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -65,6 +76,7 @@ public static Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface MakeInterfa return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -74,6 +86,7 @@ public static Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface2 MakeInterf return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumePureInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumePureInterface.cs index 27c155264e..c1aeed44e4 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumePureInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumePureInterface.cs @@ -2,12 +2,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumePureInterface), fullyQualifiedName: "jsii-calc.ConsumePureInterface", parametersJson: "[{\"name\":\"delegate\",\"type\":{\"fqn\":\"jsii-calc.IStructReturningDelegate\"}}]")] public class ConsumePureInterface : DeputyBase { + /// + /// /// /// stability: Experimental /// @@ -15,14 +18,19 @@ public ConsumePureInterface(Amazon.JSII.Tests.CalculatorNamespace.IStructReturni { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ConsumePureInterface(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ConsumePureInterface(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumerCanRingBell.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumerCanRingBell.cs index 6b9579b657..d12af7bb78 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumerCanRingBell.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumerCanRingBell.cs @@ -6,26 +6,34 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Check that if a JSII consumer implements IConsumerWithInterfaceParam, they can call /// the method on the argument that they're passed... + /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumerCanRingBell), fullyQualifiedName: "jsii-calc.ConsumerCanRingBell")] public class ConsumerCanRingBell : DeputyBase { + /// public ConsumerCanRingBell(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ConsumerCanRingBell(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ConsumerCanRingBell(DeputyProps props): base(props) { } /// ...if the interface is implemented using an object literal. + /// /// /// Returns whether the bell was rung. + /// /// stability: Experimental /// [JsiiMethod(name: "staticImplementedByObjectLiteral", returnsJson: "{\"type\":{\"primitive\":\"boolean\"}}", parametersJson: "[{\"name\":\"ringer\",\"type\":{\"fqn\":\"jsii-calc.IBellRinger\"}}]")] @@ -35,8 +43,10 @@ public static bool StaticImplementedByObjectLiteral(Amazon.JSII.Tests.Calculator } /// ...if the interface is implemented using a private class. + /// /// /// Return whether the bell was rung. + /// /// stability: Experimental /// [JsiiMethod(name: "staticImplementedByPrivateClass", returnsJson: "{\"type\":{\"primitive\":\"boolean\"}}", parametersJson: "[{\"name\":\"ringer\",\"type\":{\"fqn\":\"jsii-calc.IBellRinger\"}}]")] @@ -46,8 +56,10 @@ public static bool StaticImplementedByPrivateClass(Amazon.JSII.Tests.CalculatorN } /// ...if the interface is implemented using a public class. + /// /// /// Return whether the bell was rung. + /// /// stability: Experimental /// [JsiiMethod(name: "staticImplementedByPublicClass", returnsJson: "{\"type\":{\"primitive\":\"boolean\"}}", parametersJson: "[{\"name\":\"ringer\",\"type\":{\"fqn\":\"jsii-calc.IBellRinger\"}}]")] @@ -57,8 +69,10 @@ public static bool StaticImplementedByPublicClass(Amazon.JSII.Tests.CalculatorNa } /// If the parameter is a concrete class instead of an interface. + /// /// /// Return whether the bell was rung. + /// /// stability: Experimental /// [JsiiMethod(name: "staticWhenTypedAsClass", returnsJson: "{\"type\":{\"primitive\":\"boolean\"}}", parametersJson: "[{\"name\":\"ringer\",\"type\":{\"fqn\":\"jsii-calc.IConcreteBellRinger\"}}]")] @@ -68,8 +82,10 @@ public static bool StaticWhenTypedAsClass(Amazon.JSII.Tests.CalculatorNamespace. } /// ...if the interface is implemented using an object literal. + /// /// /// Returns whether the bell was rung. + /// /// stability: Experimental /// [JsiiMethod(name: "implementedByObjectLiteral", returnsJson: "{\"type\":{\"primitive\":\"boolean\"}}", parametersJson: "[{\"name\":\"ringer\",\"type\":{\"fqn\":\"jsii-calc.IBellRinger\"}}]")] @@ -79,8 +95,10 @@ public virtual bool ImplementedByObjectLiteral(Amazon.JSII.Tests.CalculatorNames } /// ...if the interface is implemented using a private class. + /// /// /// Return whether the bell was rung. + /// /// stability: Experimental /// [JsiiMethod(name: "implementedByPrivateClass", returnsJson: "{\"type\":{\"primitive\":\"boolean\"}}", parametersJson: "[{\"name\":\"ringer\",\"type\":{\"fqn\":\"jsii-calc.IBellRinger\"}}]")] @@ -90,8 +108,10 @@ public virtual bool ImplementedByPrivateClass(Amazon.JSII.Tests.CalculatorNamesp } /// ...if the interface is implemented using a public class. + /// /// /// Return whether the bell was rung. + /// /// stability: Experimental /// [JsiiMethod(name: "implementedByPublicClass", returnsJson: "{\"type\":{\"primitive\":\"boolean\"}}", parametersJson: "[{\"name\":\"ringer\",\"type\":{\"fqn\":\"jsii-calc.IBellRinger\"}}]")] @@ -101,8 +121,10 @@ public virtual bool ImplementedByPublicClass(Amazon.JSII.Tests.CalculatorNamespa } /// If the parameter is a concrete class instead of an interface. + /// /// /// Return whether the bell was rung. + /// /// stability: Experimental /// [JsiiMethod(name: "whenTypedAsClass", returnsJson: "{\"type\":{\"primitive\":\"boolean\"}}", parametersJson: "[{\"name\":\"ringer\",\"type\":{\"fqn\":\"jsii-calc.IConcreteBellRinger\"}}]")] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumersOfThisCrazyTypeSystem.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumersOfThisCrazyTypeSystem.cs index 93573bc134..c1b52f38ad 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumersOfThisCrazyTypeSystem.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumersOfThisCrazyTypeSystem.cs @@ -2,24 +2,32 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumersOfThisCrazyTypeSystem), fullyQualifiedName: "jsii-calc.ConsumersOfThisCrazyTypeSystem")] public class ConsumersOfThisCrazyTypeSystem : DeputyBase { + /// public ConsumersOfThisCrazyTypeSystem(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ConsumersOfThisCrazyTypeSystem(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ConsumersOfThisCrazyTypeSystem(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// @@ -29,6 +37,8 @@ public virtual string ConsumeAnotherPublicInterface(Amazon.JSII.Tests.Calculator return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IAnotherPublicInterface)}, new object[]{obj}); } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DataRenderer.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DataRenderer.cs index 4fb717cde5..0471c92c8e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DataRenderer.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DataRenderer.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DataRenderer), fullyQualifiedName: "jsii-calc.DataRenderer")] public class DataRenderer : DeputyBase { + /// /// /// stability: Experimental /// @@ -16,14 +17,20 @@ public DataRenderer(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected DataRenderer(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected DataRenderer(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// @@ -33,6 +40,8 @@ public virtual string Render(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace. return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IMyFirstStruct)}, new object[]{data}); } + /// + /// /// /// stability: Experimental /// @@ -42,6 +51,8 @@ public virtual string RenderArbitrary(System.Collections.Generic.IDictionary(new System.Type[]{typeof(System.Collections.Generic.IDictionary)}, new object[]{data}); } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DefaultedConstructorArgument.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DefaultedConstructorArgument.cs index 929d118bf4..ed80873b94 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DefaultedConstructorArgument.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DefaultedConstructorArgument.cs @@ -2,12 +2,17 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DefaultedConstructorArgument), fullyQualifiedName: "jsii-calc.DefaultedConstructorArgument", parametersJson: "[{\"name\":\"arg1\",\"optional\":true,\"type\":{\"primitive\":\"number\"}},{\"name\":\"arg2\",\"optional\":true,\"type\":{\"primitive\":\"string\"}},{\"name\":\"arg3\",\"optional\":true,\"type\":{\"primitive\":\"date\"}}]")] public class DefaultedConstructorArgument : DeputyBase { + /// + /// + /// + /// /// /// stability: Experimental /// @@ -15,14 +20,19 @@ public DefaultedConstructorArgument(double? arg1 = null, string arg2 = null, Sys { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected DefaultedConstructorArgument(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected DefaultedConstructorArgument(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -32,6 +42,7 @@ public virtual double Arg1 get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -41,6 +52,7 @@ public virtual System.DateTime Arg3 get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Demonstrate982.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Demonstrate982.cs index d5a89526f1..809099abc2 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Demonstrate982.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Demonstrate982.cs @@ -4,13 +4,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { /// 1. /// - /// call #takeThis() -> An ObjectRef will be provisioned for the value (it'll be re-used!) - /// 2. call #takeThisToo() -> The ObjectRef from before will need to be down-cased to the ParentStruct982 type + /// call #takeThis() -> An ObjectRef will be provisioned for the value (it'll be re-used!) + /// 2. call #takeThisToo() -> The ObjectRef from before will need to be down-cased to the ParentStruct982 type + /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Demonstrate982), fullyQualifiedName: "jsii-calc.Demonstrate982")] public class Demonstrate982 : DeputyBase { + /// /// /// stability: Experimental /// @@ -18,10 +20,14 @@ public Demonstrate982(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Demonstrate982(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Demonstrate982(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedClass.cs index 24be829be8..87e28fb20f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedClass.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Deprecated /// @@ -9,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [System.Obsolete("a pretty boring class")] public class DeprecatedClass : DeputyBase { + /// + /// + /// /// /// stability: Deprecated /// @@ -17,16 +21,21 @@ public DeprecatedClass(string readonlyString, double? mutableNumber = null): bas { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference [System.Obsolete("this constructor is \"just\" okay")] protected DeprecatedClass(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props [System.Obsolete("this constructor is \"just\" okay")] protected DeprecatedClass(DeputyProps props): base(props) { } + /// /// /// stability: Deprecated /// @@ -37,6 +46,7 @@ public virtual void Method() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Deprecated /// @@ -47,6 +57,7 @@ public virtual string ReadonlyProperty get => GetInstanceProperty(); } + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedEnum.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedEnum.cs index ada26208af..b8cd1bdc17 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedEnum.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedEnum.cs @@ -3,6 +3,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Deprecated /// @@ -10,12 +11,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [System.Obsolete("your deprecated selection of bad options")] public enum DeprecatedEnum { + /// /// /// stability: Deprecated /// [JsiiEnumMember(name: "OPTION_A")] [System.Obsolete("option A is not great")] OPTION_A, + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedStruct.cs index fab00bb034..a9772becce 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Deprecated /// [JsiiByValue(fqn: "jsii-calc.DeprecatedStruct")] public class DeprecatedStruct : Amazon.JSII.Tests.CalculatorNamespace.IDeprecatedStruct { + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedStructProxy.cs index e1bfacb618..7cb81aa76c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedStructProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Deprecated /// @@ -13,6 +14,7 @@ private DeprecatedStructProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Base.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Base.cs index b7c0b8caac..cc8c75f605 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Base.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Base.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties.Base), fullyQualifiedName: "jsii-calc.DerivedClassHasNoProperties.Base")] public class Base : DeputyBase { + /// public Base(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Base(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Base(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Derived.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Derived.cs index ae13636a20..5dfc124806 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Derived.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Derived.cs @@ -2,20 +2,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties.Derived), fullyQualifiedName: "jsii-calc.DerivedClassHasNoProperties.Derived")] public class Derived : Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties.Base { + /// public Derived(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Derived(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Derived(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedStruct.cs index 68602f84e8..5d27428b54 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedStruct.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiByValue(fqn: "jsii-calc.DerivedStruct")] public class DerivedStruct : Amazon.JSII.Tests.CalculatorNamespace.IDerivedStruct { + /// /// /// stability: Experimental /// @@ -19,6 +20,7 @@ public System.DateTime AnotherRequired set; } + /// /// /// stability: Experimental /// @@ -52,6 +54,7 @@ public Amazon.JSII.Tests.CalculatorNamespace.DoubleTrouble NonPrimitive set; } + /// /// /// stability: Experimental /// @@ -63,6 +66,7 @@ public object OptionalAny set; } + /// /// /// stability: Experimental /// @@ -98,6 +102,7 @@ public string Astring set; } + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedStructProxy.cs index 0b16f241bd..dc4e363c38 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedStructProxy.cs @@ -13,6 +13,7 @@ private DerivedStructProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -22,6 +23,7 @@ public System.DateTime AnotherRequired get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -52,6 +54,7 @@ public Amazon.JSII.Tests.CalculatorNamespace.DoubleTrouble NonPrimitive get => GetInstanceProperty>(); } + /// /// /// stability: Experimental /// @@ -62,6 +65,7 @@ public object OptionalAny get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -94,6 +98,7 @@ public string Astring get => GetInstanceProperty(); } + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceBaseLevelStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceBaseLevelStruct.cs index c7a4dcc513..e4b05ecbb7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceBaseLevelStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceBaseLevelStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.DiamondInheritanceBaseLevelStruct")] public class DiamondInheritanceBaseLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceBaseLevelStruct { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceBaseLevelStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceBaseLevelStructProxy.cs index d6823a4892..d942957620 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceBaseLevelStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceBaseLevelStructProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private DiamondInheritanceBaseLevelStructProxy(ByRefValue reference): base(refer { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceFirstMidLevelStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceFirstMidLevelStruct.cs index 5695c13e63..3f6f8e3e5d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceFirstMidLevelStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceFirstMidLevelStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.DiamondInheritanceFirstMidLevelStruct")] public class DiamondInheritanceFirstMidLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceFirstMidLevelStruct { + /// /// /// stability: Experimental /// @@ -18,6 +20,7 @@ public string FirstMidLevelProperty set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceFirstMidLevelStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceFirstMidLevelStructProxy.cs index d9c452a220..2f8cf74905 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceFirstMidLevelStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceFirstMidLevelStructProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private DiamondInheritanceFirstMidLevelStructProxy(ByRefValue reference): base(r { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public string FirstMidLevelProperty get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceSecondMidLevelStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceSecondMidLevelStruct.cs index 57a392b142..048f7d3a86 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceSecondMidLevelStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceSecondMidLevelStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.DiamondInheritanceSecondMidLevelStruct")] public class DiamondInheritanceSecondMidLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceSecondMidLevelStruct { + /// /// /// stability: Experimental /// @@ -18,6 +20,7 @@ public string SecondMidLevelProperty set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceSecondMidLevelStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceSecondMidLevelStructProxy.cs index bee312b825..f864d6899f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceSecondMidLevelStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceSecondMidLevelStructProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private DiamondInheritanceSecondMidLevelStructProxy(ByRefValue reference): base( { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public string SecondMidLevelProperty get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceTopLevelStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceTopLevelStruct.cs index 2b2555b3f0..53bf7e25dc 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceTopLevelStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceTopLevelStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.DiamondInheritanceTopLevelStruct")] public class DiamondInheritanceTopLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceTopLevelStruct { + /// /// /// stability: Experimental /// @@ -18,6 +20,7 @@ public string TopLevelProperty set; } + /// /// /// stability: Experimental /// @@ -28,6 +31,7 @@ public string FirstMidLevelProperty set; } + /// /// /// stability: Experimental /// @@ -38,6 +42,7 @@ public string BaseLevelProperty set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceTopLevelStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceTopLevelStructProxy.cs index 8c24131d6e..c4dfd63e0d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceTopLevelStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceTopLevelStructProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private DiamondInheritanceTopLevelStructProxy(ByRefValue reference): base(refere { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public string TopLevelProperty get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -30,6 +33,7 @@ public string FirstMidLevelProperty get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -39,6 +43,7 @@ public string BaseLevelProperty get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DisappointingCollectionSource.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DisappointingCollectionSource.cs index 85dbc9fd75..f4b9229dcb 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DisappointingCollectionSource.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DisappointingCollectionSource.cs @@ -5,15 +5,20 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Verifies that null/undefined can be returned for optional collections. /// /// This source of collections is disappointing - it'll always give you nothing :( + /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DisappointingCollectionSource), fullyQualifiedName: "jsii-calc.DisappointingCollectionSource")] public class DisappointingCollectionSource : DeputyBase { + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected DisappointingCollectionSource(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected DisappointingCollectionSource(DeputyProps props): base(props) { } @@ -21,6 +26,7 @@ protected DisappointingCollectionSource(DeputyProps props): base(props) /// Some List of strings, maybe? /// /// (Nah, just a billion dollars mistake!) + /// /// stability: Experimental /// [JsiiProperty(name: "maybeList", typeJson: "{\"collection\":{\"elementtype\":{\"primitive\":\"string\"},\"kind\":\"array\"}}", isOptional: true)] @@ -33,6 +39,7 @@ public static string[] MaybeList /// Some Map of strings to numbers, maybe? /// /// (Nah, just a billion dollars mistake!) + /// /// stability: Experimental /// [JsiiProperty(name: "maybeMap", typeJson: "{\"collection\":{\"elementtype\":{\"primitive\":\"number\"},\"kind\":\"map\"}}", isOptional: true)] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotOverridePrivates.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotOverridePrivates.cs index 5a6974b159..fe542edc95 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotOverridePrivates.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotOverridePrivates.cs @@ -2,24 +2,32 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DoNotOverridePrivates), fullyQualifiedName: "jsii-calc.DoNotOverridePrivates")] public class DoNotOverridePrivates : DeputyBase { + /// public DoNotOverridePrivates(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected DoNotOverridePrivates(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected DoNotOverridePrivates(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// @@ -29,6 +37,7 @@ public virtual void ChangePrivatePropertyValue(string newValue) InvokeInstanceVoidMethod(new System.Type[]{typeof(string)}, new object[]{newValue}); } + /// /// /// stability: Experimental /// @@ -38,6 +47,7 @@ public virtual string PrivateMethodValue() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotRecognizeAnyAsOptional.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotRecognizeAnyAsOptional.cs index 487f2fc8eb..b652ee3ba1 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotRecognizeAnyAsOptional.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotRecognizeAnyAsOptional.cs @@ -9,18 +9,27 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DoNotRecognizeAnyAsOptional), fullyQualifiedName: "jsii-calc.DoNotRecognizeAnyAsOptional")] public class DoNotRecognizeAnyAsOptional : DeputyBase { + /// public DoNotRecognizeAnyAsOptional(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected DoNotRecognizeAnyAsOptional(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected DoNotRecognizeAnyAsOptional(DeputyProps props): base(props) { } + /// + /// + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DocumentedClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DocumentedClass.cs index e2f426e28a..33a1288f35 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DocumentedClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DocumentedClass.cs @@ -8,31 +8,36 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// multiple lines and multiple paragraphs. /// /// Multiple paragraphs are separated by an empty line. + /// /// stability: Stable /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DocumentedClass), fullyQualifiedName: "jsii-calc.DocumentedClass")] public class DocumentedClass : DeputyBase { + /// public DocumentedClass(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected DocumentedClass(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected DocumentedClass(DeputyProps props): base(props) { } /// Greet the indicated person. - /// The person to be greeted. - /// - /// A number that everyone knows very well - /// + /// The person to be greeted. + /// A number that everyone knows very well /// /// This will print out a friendly greeting intended for /// the indicated person. + /// /// stability: Stable /// [JsiiMethod(name: "greet", returnsJson: "{\"type\":{\"primitive\":\"number\"}}", parametersJson: "[{\"docs\":{\"summary\":\"The person to be greeted.\"},\"name\":\"greetee\",\"optional\":true,\"type\":{\"fqn\":\"jsii-calc.Greetee\"}}]")] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DontComplainAboutVariadicAfterOptional.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DontComplainAboutVariadicAfterOptional.cs index a60c450574..da8cbffead 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DontComplainAboutVariadicAfterOptional.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DontComplainAboutVariadicAfterOptional.cs @@ -2,24 +2,33 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DontComplainAboutVariadicAfterOptional), fullyQualifiedName: "jsii-calc.DontComplainAboutVariadicAfterOptional")] public class DontComplainAboutVariadicAfterOptional : DeputyBase { + /// public DontComplainAboutVariadicAfterOptional(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected DontComplainAboutVariadicAfterOptional(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected DontComplainAboutVariadicAfterOptional(DeputyProps props): base(props) { } + /// + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoubleTrouble.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoubleTrouble.cs index 493b920687..c46eff994d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoubleTrouble.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoubleTrouble.cs @@ -2,20 +2,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DoubleTrouble), fullyQualifiedName: "jsii-calc.DoubleTrouble")] public class DoubleTrouble : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IFriendlyRandomGenerator { + /// public DoubleTrouble(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected DoubleTrouble(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected DoubleTrouble(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EnumDispenser.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EnumDispenser.cs index aaa0507343..5deb81fca3 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EnumDispenser.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EnumDispenser.cs @@ -2,20 +2,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.EnumDispenser), fullyQualifiedName: "jsii-calc.EnumDispenser")] public class EnumDispenser : DeputyBase { + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected EnumDispenser(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected EnumDispenser(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -25,6 +31,7 @@ public static Amazon.JSII.Tests.CalculatorNamespace.AllTypesEnum RandomIntegerLi return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.EnumDispenser), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValues.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValues.cs index 98337449f1..f23c8c84ea 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValues.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValues.cs @@ -2,28 +2,37 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.EraseUndefinedHashValues), fullyQualifiedName: "jsii-calc.EraseUndefinedHashValues")] public class EraseUndefinedHashValues : DeputyBase { + /// public EraseUndefinedHashValues(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected EraseUndefinedHashValues(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected EraseUndefinedHashValues(DeputyProps props): base(props) { } /// Returns `true` if `key` is defined in `opts`. + /// + /// /// /// Used to check that undefined/null hash values /// are being erased when sending values from native code to JS. + /// /// stability: Experimental /// [JsiiMethod(name: "doesKeyExist", returnsJson: "{\"type\":{\"primitive\":\"boolean\"}}", parametersJson: "[{\"name\":\"opts\",\"type\":{\"fqn\":\"jsii-calc.EraseUndefinedHashValuesOptions\"}},{\"name\":\"key\",\"type\":{\"primitive\":\"string\"}}]")] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValuesOptions.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValuesOptions.cs index 8f2fd91bee..4e235d503d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValuesOptions.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValuesOptions.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.EraseUndefinedHashValuesOptions")] public class EraseUndefinedHashValuesOptions : Amazon.JSII.Tests.CalculatorNamespace.IEraseUndefinedHashValuesOptions { + /// /// /// stability: Experimental /// @@ -19,6 +21,7 @@ public string Option1 set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValuesOptionsProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValuesOptionsProxy.cs index 9faeb33e5d..0253072d4a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValuesOptionsProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValuesOptionsProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private EraseUndefinedHashValuesOptionsProxy(ByRefValue reference): base(referen { } + /// /// /// stability: Experimental /// @@ -22,6 +24,7 @@ public string Option1 get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalClass.cs index b425f5b25d..496d608845 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalClass.cs @@ -2,12 +2,16 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ExperimentalClass), fullyQualifiedName: "jsii-calc.ExperimentalClass", parametersJson: "[{\"name\":\"readonlyString\",\"type\":{\"primitive\":\"string\"}},{\"name\":\"mutableNumber\",\"optional\":true,\"type\":{\"primitive\":\"number\"}}]")] public class ExperimentalClass : DeputyBase { + /// + /// + /// /// /// stability: Experimental /// @@ -15,14 +19,19 @@ public ExperimentalClass(string readonlyString, double? mutableNumber = null): b { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ExperimentalClass(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ExperimentalClass(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -32,6 +41,7 @@ public virtual void Method() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -41,6 +51,7 @@ public virtual string ReadonlyProperty get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalEnum.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalEnum.cs index 220c8f215d..4fb0ed8261 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalEnum.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalEnum.cs @@ -3,17 +3,20 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiEnum(nativeType: typeof(ExperimentalEnum), fullyQualifiedName: "jsii-calc.ExperimentalEnum")] public enum ExperimentalEnum { + /// /// /// stability: Experimental /// [JsiiEnumMember(name: "OPTION_A")] OPTION_A, + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalStruct.cs index 7f0a4b8d9a..2fa3bcee38 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.ExperimentalStruct")] public class ExperimentalStruct : Amazon.JSII.Tests.CalculatorNamespace.IExperimentalStruct { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalStructProxy.cs index 46429259d2..e676f6a5ca 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalStructProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private ExperimentalStructProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExportedBaseClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExportedBaseClass.cs index 8ae95d112a..57b18d7328 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExportedBaseClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExportedBaseClass.cs @@ -2,12 +2,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ExportedBaseClass), fullyQualifiedName: "jsii-calc.ExportedBaseClass", parametersJson: "[{\"name\":\"success\",\"type\":{\"primitive\":\"boolean\"}}]")] public class ExportedBaseClass : DeputyBase { + /// + /// /// /// stability: Experimental /// @@ -15,14 +18,19 @@ public ExportedBaseClass(bool success): base(new DeputyProps(new object[]{succes { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ExportedBaseClass(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ExportedBaseClass(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExtendsInternalInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExtendsInternalInterface.cs index 6e9481fef2..89b05df496 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExtendsInternalInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExtendsInternalInterface.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.ExtendsInternalInterface")] public class ExtendsInternalInterface : Amazon.JSII.Tests.CalculatorNamespace.IExtendsInternalInterface { + /// /// /// stability: Experimental /// @@ -18,6 +20,7 @@ public bool Boom set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExtendsInternalInterfaceProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExtendsInternalInterfaceProxy.cs index adcb9fde03..272be2b145 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExtendsInternalInterfaceProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExtendsInternalInterfaceProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private ExtendsInternalInterfaceProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public bool Boom get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GiveMeStructs.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GiveMeStructs.cs index a493f3a8a6..9117d4766f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GiveMeStructs.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GiveMeStructs.cs @@ -2,25 +2,32 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.GiveMeStructs), fullyQualifiedName: "jsii-calc.GiveMeStructs")] public class GiveMeStructs : DeputyBase { + /// public GiveMeStructs(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected GiveMeStructs(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected GiveMeStructs(DeputyProps props): base(props) { } /// Accepts a struct of type DerivedStruct and returns a struct of type FirstStruct. + /// /// /// stability: Experimental /// @@ -31,6 +38,7 @@ public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IMyFirstStruct } /// Returns the boolean from a DerivedStruct struct. + /// /// /// stability: Experimental /// @@ -41,6 +49,7 @@ public virtual Amazon.JSII.Tests.CalculatorNamespace.DoubleTrouble ReadDerivedNo } /// Returns the "anumber" from a MyFirstStruct struct; + /// /// /// stability: Experimental /// @@ -50,6 +59,7 @@ public virtual double ReadFirstNumber(Amazon.JSII.Tests.CalculatorNamespace.LibN return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IMyFirstStruct)}, new object[]{first}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Greetee.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Greetee.cs index 00e9b4ca5b..3f87c951f7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Greetee.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Greetee.cs @@ -13,6 +13,7 @@ public class Greetee : Amazon.JSII.Tests.CalculatorNamespace.IGreetee /// /// default: /// world + /// /// stability: Experimental /// [JsiiOptional] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GreeteeProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GreeteeProxy.cs index 181ebd82c7..acb18d918a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GreeteeProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GreeteeProxy.cs @@ -17,6 +17,7 @@ private GreeteeProxy(ByRefValue reference): base(reference) /// /// default: /// world + /// /// stability: Experimental /// [JsiiOptional] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GreetingAugmenter.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GreetingAugmenter.cs index 3341697bad..028048c4da 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GreetingAugmenter.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GreetingAugmenter.cs @@ -2,24 +2,32 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.GreetingAugmenter), fullyQualifiedName: "jsii-calc.GreetingAugmenter")] public class GreetingAugmenter : DeputyBase { + /// public GreetingAugmenter(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected GreetingAugmenter(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected GreetingAugmenter(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymousImplementationProvider.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymousImplementationProvider.cs index 8a71b3f6d7..13e29c3ec4 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymousImplementationProvider.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymousImplementationProvider.cs @@ -9,11 +9,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiInterface(nativeType: typeof(IAnonymousImplementationProvider), fullyQualifiedName: "jsii-calc.IAnonymousImplementationProvider")] public interface IAnonymousImplementationProvider { + /// /// /// stability: Experimental /// [JsiiMethod(name: "provideAsClass", returnsJson: "{\"type\":{\"fqn\":\"jsii-calc.Implementation\"}}")] Amazon.JSII.Tests.CalculatorNamespace.Implementation ProvideAsClass(); + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymousImplementationProviderProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymousImplementationProviderProxy.cs index df1a00f0fd..0d5233bf4b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymousImplementationProviderProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymousImplementationProviderProxy.cs @@ -13,6 +13,7 @@ private IAnonymousImplementationProviderProxy(ByRefValue reference): base(refere { } + /// /// /// stability: Experimental /// @@ -22,6 +23,7 @@ public Amazon.JSII.Tests.CalculatorNamespace.Implementation ProvideAsClass() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymouslyImplementMe.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymouslyImplementMe.cs index 36804b34c4..124f0fac74 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymouslyImplementMe.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymouslyImplementMe.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IAnonymouslyImplementMe), fullyQualifiedName: "jsii-calc.IAnonymouslyImplementMe")] public interface IAnonymouslyImplementMe { + /// /// /// stability: Experimental /// @@ -16,6 +18,7 @@ double Value { get; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymouslyImplementMeProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymouslyImplementMeProxy.cs index 94c9d43035..5512313917 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymouslyImplementMeProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymouslyImplementMeProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IAnonymouslyImplementMeProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public double Value get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnotherPublicInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnotherPublicInterface.cs index 73352a2b5b..e8f9f280a7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnotherPublicInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnotherPublicInterface.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IAnotherPublicInterface), fullyQualifiedName: "jsii-calc.IAnotherPublicInterface")] public interface IAnotherPublicInterface { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnotherPublicInterfaceProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnotherPublicInterfaceProxy.cs index 80ad67242e..08fb50aaf9 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnotherPublicInterfaceProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnotherPublicInterfaceProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IAnotherPublicInterfaceProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBell.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBell.cs index 4918346074..7aeaf1d11f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBell.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBell.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IBell), fullyQualifiedName: "jsii-calc.IBell")] public interface IBell { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellProxy.cs index e8312b476f..750aadcd7c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IBellProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellRinger.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellRinger.cs index b6e89c8d48..7d4e186b69 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellRinger.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellRinger.cs @@ -9,6 +9,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiInterface(nativeType: typeof(IBellRinger), fullyQualifiedName: "jsii-calc.IBellRinger")] public interface IBellRinger { + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellRingerProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellRingerProxy.cs index 5f77328934..41a476c1ba 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellRingerProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellRingerProxy.cs @@ -13,6 +13,8 @@ private IBellRingerProxy(ByRefValue reference): base(reference) { } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ICalculatorProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ICalculatorProps.cs index 8a8045bd90..c5a5e3c8d6 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ICalculatorProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ICalculatorProps.cs @@ -12,8 +12,10 @@ public interface ICalculatorProps /// The initial value of the calculator. /// /// NOTE: Any number works here, it's fine. + /// /// default: /// 0 + /// /// stability: Experimental /// [JsiiProperty(name: "initialValue", typeJson: "{\"primitive\":\"number\"}", isOptional: true)] @@ -30,6 +32,7 @@ public interface ICalculatorProps /// /// default: /// none + /// /// stability: Experimental /// [JsiiProperty(name: "maximumValue", typeJson: "{\"primitive\":\"number\"}", isOptional: true)] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IChildStruct982.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IChildStruct982.cs index 24a0643a53..ce6ab706b2 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IChildStruct982.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IChildStruct982.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IChildStruct982), fullyQualifiedName: "jsii-calc.ChildStruct982")] public interface IChildStruct982 : Amazon.JSII.Tests.CalculatorNamespace.IParentStruct982 { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConcreteBellRinger.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConcreteBellRinger.cs index b37908a316..9292069400 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConcreteBellRinger.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConcreteBellRinger.cs @@ -9,6 +9,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiInterface(nativeType: typeof(IConcreteBellRinger), fullyQualifiedName: "jsii-calc.IConcreteBellRinger")] public interface IConcreteBellRinger { + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConcreteBellRingerProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConcreteBellRingerProxy.cs index 2aca594364..f4f789b9d9 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConcreteBellRingerProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConcreteBellRingerProxy.cs @@ -13,6 +13,8 @@ private IConcreteBellRingerProxy(ByRefValue reference): base(reference) { } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConfusingToJacksonStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConfusingToJacksonStruct.cs index 58e1e3f732..75309f973c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConfusingToJacksonStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConfusingToJacksonStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IConfusingToJacksonStruct), fullyQualifiedName: "jsii-calc.ConfusingToJacksonStruct")] public interface IConfusingToJacksonStruct { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedInterface.cs index f9c3993e3f..cc484f0fae 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedInterface.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Deprecated /// @@ -9,6 +10,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [System.Obsolete("useless interface")] public interface IDeprecatedInterface { + /// /// /// stability: Deprecated /// @@ -26,6 +28,7 @@ public interface IDeprecatedInterface throw new System.NotSupportedException("'set' for 'MutableProperty' is not implemented"); } } + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedInterfaceProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedInterfaceProxy.cs index e888a4ddf3..c7e3de777e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedInterfaceProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedInterfaceProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Deprecated /// @@ -13,6 +14,7 @@ private IDeprecatedInterfaceProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Deprecated /// @@ -25,6 +27,7 @@ public double? MutableProperty set => SetInstanceProperty(value); } + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedStruct.cs index b1d86462b7..2873a2e829 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedStruct.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Deprecated /// @@ -9,6 +10,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [System.Obsolete("it just wraps a string")] public interface IDeprecatedStruct { + /// /// /// stability: Deprecated /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDerivedStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDerivedStruct.cs index 52e933c746..693a1f1686 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDerivedStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDerivedStruct.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiInterface(nativeType: typeof(IDerivedStruct), fullyQualifiedName: "jsii-calc.DerivedStruct")] public interface IDerivedStruct : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IMyFirstStruct { + /// /// /// stability: Experimental /// @@ -18,6 +19,7 @@ System.DateTime AnotherRequired get; } + /// /// /// stability: Experimental /// @@ -51,6 +53,7 @@ Amazon.JSII.Tests.CalculatorNamespace.DoubleTrouble NonPrimitive } } + /// /// /// stability: Experimental /// @@ -64,6 +67,7 @@ object OptionalAny } } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceBaseLevelStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceBaseLevelStruct.cs index b59ffb4509..2a21b1355c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceBaseLevelStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceBaseLevelStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IDiamondInheritanceBaseLevelStruct), fullyQualifiedName: "jsii-calc.DiamondInheritanceBaseLevelStruct")] public interface IDiamondInheritanceBaseLevelStruct { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceFirstMidLevelStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceFirstMidLevelStruct.cs index 692f5b25f8..d2cdcd80bc 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceFirstMidLevelStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceFirstMidLevelStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IDiamondInheritanceFirstMidLevelStruct), fullyQualifiedName: "jsii-calc.DiamondInheritanceFirstMidLevelStruct")] public interface IDiamondInheritanceFirstMidLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceBaseLevelStruct { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceSecondMidLevelStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceSecondMidLevelStruct.cs index ef3b4a367c..6ece969584 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceSecondMidLevelStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceSecondMidLevelStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IDiamondInheritanceSecondMidLevelStruct), fullyQualifiedName: "jsii-calc.DiamondInheritanceSecondMidLevelStruct")] public interface IDiamondInheritanceSecondMidLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceBaseLevelStruct { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceTopLevelStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceTopLevelStruct.cs index 7a7848e712..d4b002fe20 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceTopLevelStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceTopLevelStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IDiamondInheritanceTopLevelStruct), fullyQualifiedName: "jsii-calc.DiamondInheritanceTopLevelStruct")] public interface IDiamondInheritanceTopLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceFirstMidLevelStruct, Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceSecondMidLevelStruct { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IEraseUndefinedHashValuesOptions.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IEraseUndefinedHashValuesOptions.cs index 610a03e3f9..97c2f582dd 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IEraseUndefinedHashValuesOptions.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IEraseUndefinedHashValuesOptions.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IEraseUndefinedHashValuesOptions), fullyQualifiedName: "jsii-calc.EraseUndefinedHashValuesOptions")] public interface IEraseUndefinedHashValuesOptions { + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ string Option1 } } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalInterface.cs index 80152a2151..df5c1c92ec 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalInterface.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IExperimentalInterface), fullyQualifiedName: "jsii-calc.IExperimentalInterface")] public interface IExperimentalInterface { + /// /// /// stability: Experimental /// @@ -24,6 +26,7 @@ public interface IExperimentalInterface throw new System.NotSupportedException("'set' for 'MutableProperty' is not implemented"); } } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalInterfaceProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalInterfaceProxy.cs index 4fd9b9344d..96d09e7c1e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalInterfaceProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalInterfaceProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IExperimentalInterfaceProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -23,6 +25,7 @@ public double? MutableProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalStruct.cs index af9fa7ee17..e0a7277b7c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IExperimentalStruct), fullyQualifiedName: "jsii-calc.ExperimentalStruct")] public interface IExperimentalStruct { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsInternalInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsInternalInterface.cs index 6bb9a7f017..2a4fbc1b86 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsInternalInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsInternalInterface.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IExtendsInternalInterface), fullyQualifiedName: "jsii-calc.ExtendsInternalInterface")] public interface IExtendsInternalInterface { + /// /// /// stability: Experimental /// @@ -17,6 +19,7 @@ bool Boom get; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsPrivateInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsPrivateInterface.cs index 28321d1f79..33a0940062 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsPrivateInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsPrivateInterface.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IExtendsPrivateInterface), fullyQualifiedName: "jsii-calc.IExtendsPrivateInterface")] public interface IExtendsPrivateInterface { + /// /// /// stability: Experimental /// @@ -17,6 +19,7 @@ string[] MoreThings get; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsPrivateInterfaceProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsPrivateInterfaceProxy.cs index 2157b48217..3f6fd46a82 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsPrivateInterfaceProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsPrivateInterfaceProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IExtendsPrivateInterfaceProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public string[] MoreThings get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlier.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlier.cs index 7b2702643c..64784e08c6 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlier.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlier.cs @@ -16,9 +16,7 @@ public interface IFriendlier : Amazon.JSII.Tests.CalculatorNamespace.LibNamespac [JsiiMethod(name: "farewell", returnsJson: "{\"type\":{\"primitive\":\"string\"}}")] string Farewell(); /// Say goodbye. - /// - /// A goodbye blessing. - /// + /// A goodbye blessing. /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlierProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlierProxy.cs index df0efb0470..dc7f3afb55 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlierProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlierProxy.cs @@ -24,9 +24,7 @@ public string Farewell() } /// Say goodbye. - /// - /// A goodbye blessing. - /// + /// A goodbye blessing. /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlyRandomGenerator.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlyRandomGenerator.cs index b3c7de3b2a..b9a80b71d3 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlyRandomGenerator.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlyRandomGenerator.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlyRandomGeneratorProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlyRandomGeneratorProxy.cs index c4b15b833e..6cbbcf29e4 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlyRandomGeneratorProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlyRandomGeneratorProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -13,9 +14,7 @@ private IFriendlyRandomGeneratorProxy(ByRefValue reference): base(reference) } /// Returns another random number. - /// - /// A random number. - /// + /// A random number. /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IGreetee.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IGreetee.cs index 13edf40384..4417e3c277 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IGreetee.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IGreetee.cs @@ -13,6 +13,7 @@ public interface IGreetee /// /// default: /// world + /// /// stability: Experimental /// [JsiiProperty(name: "name", typeJson: "{\"primitive\":\"string\"}", isOptional: true)] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IImplictBaseOfBase.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IImplictBaseOfBase.cs index 780c4ff6f4..3ad1f95e1b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IImplictBaseOfBase.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IImplictBaseOfBase.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IImplictBaseOfBase), fullyQualifiedName: "jsii-calc.ImplictBaseOfBase")] public interface IImplictBaseOfBase : Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.IBaseProps { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceImplementedByAbstractClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceImplementedByAbstractClass.cs index f338a425a6..27069ab3cd 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceImplementedByAbstractClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceImplementedByAbstractClass.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiInterface(nativeType: typeof(IInterfaceImplementedByAbstractClass), fullyQualifiedName: "jsii-calc.IInterfaceImplementedByAbstractClass")] public interface IInterfaceImplementedByAbstractClass { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceImplementedByAbstractClassProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceImplementedByAbstractClassProxy.cs index c241d48436..9da3d310d0 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceImplementedByAbstractClassProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceImplementedByAbstractClassProxy.cs @@ -13,6 +13,7 @@ private IInterfaceImplementedByAbstractClassProxy(ByRefValue reference): base(re { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceThatShouldNotBeADataType.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceThatShouldNotBeADataType.cs index 2b499e32a3..0d9f01702b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceThatShouldNotBeADataType.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceThatShouldNotBeADataType.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiInterface(nativeType: typeof(IInterfaceThatShouldNotBeADataType), fullyQualifiedName: "jsii-calc.IInterfaceThatShouldNotBeADataType")] public interface IInterfaceThatShouldNotBeADataType : Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithMethods { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceThatShouldNotBeADataTypeProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceThatShouldNotBeADataTypeProxy.cs index 85bd355b47..c9c0e86832 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceThatShouldNotBeADataTypeProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceThatShouldNotBeADataTypeProxy.cs @@ -13,6 +13,7 @@ private IInterfaceThatShouldNotBeADataTypeProxy(ByRefValue reference): base(refe { } + /// /// /// stability: Experimental /// @@ -22,6 +23,7 @@ public string OtherValue get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -31,6 +33,7 @@ public string Value get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithInternal.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithInternal.cs index 0bc67e64fa..eb96313715 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithInternal.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithInternal.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IInterfaceWithInternal), fullyQualifiedName: "jsii-calc.IInterfaceWithInternal")] public interface IInterfaceWithInternal { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithInternalProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithInternalProxy.cs index d13dee7cb5..2e35711019 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithInternalProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithInternalProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IInterfaceWithInternalProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithMethods.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithMethods.cs index d25d37aadb..454c638158 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithMethods.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithMethods.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IInterfaceWithMethods), fullyQualifiedName: "jsii-calc.IInterfaceWithMethods")] public interface IInterfaceWithMethods { + /// /// /// stability: Experimental /// @@ -16,6 +18,7 @@ string Value { get; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithMethodsProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithMethodsProxy.cs index 56c13ded93..249f0fc5c3 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithMethodsProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithMethodsProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IInterfaceWithMethodsProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public string Value get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithOptionalMethodArguments.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithOptionalMethodArguments.cs index 3c7a39c91f..3a541803af 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithOptionalMethodArguments.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithOptionalMethodArguments.cs @@ -9,6 +9,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiInterface(nativeType: typeof(IInterfaceWithOptionalMethodArguments), fullyQualifiedName: "jsii-calc.IInterfaceWithOptionalMethodArguments")] public interface IInterfaceWithOptionalMethodArguments { + /// + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithOptionalMethodArgumentsProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithOptionalMethodArgumentsProxy.cs index 707609366d..29d0077166 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithOptionalMethodArgumentsProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithOptionalMethodArgumentsProxy.cs @@ -13,6 +13,9 @@ private IInterfaceWithOptionalMethodArgumentsProxy(ByRefValue reference): base(r { } + /// + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithProperties.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithProperties.cs index 91e57a3014..69747c5473 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithProperties.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithProperties.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IInterfaceWithProperties), fullyQualifiedName: "jsii-calc.IInterfaceWithProperties")] public interface IInterfaceWithProperties { + /// /// /// stability: Experimental /// @@ -17,6 +19,7 @@ string ReadOnlyString get; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesExtension.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesExtension.cs index 724e8034d8..3d74b4a41f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesExtension.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesExtension.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IInterfaceWithPropertiesExtension), fullyQualifiedName: "jsii-calc.IInterfaceWithPropertiesExtension")] public interface IInterfaceWithPropertiesExtension : Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithProperties { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesExtensionProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesExtensionProxy.cs index 2b02890646..0cbc5785b0 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesExtensionProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesExtensionProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IInterfaceWithPropertiesExtensionProxy(ByRefValue reference): base(refer { } + /// /// /// stability: Experimental /// @@ -22,6 +24,7 @@ public double Foo set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -31,6 +34,7 @@ public string ReadOnlyString get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesProxy.cs index 3f914a2c48..77e91fe628 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IInterfaceWithPropertiesProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public string ReadOnlyString get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417Derived.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417Derived.cs index 0d34a3e216..e955a636c7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417Derived.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417Derived.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IJSII417Derived), fullyQualifiedName: "jsii-calc.IJSII417Derived")] public interface IJSII417Derived : Amazon.JSII.Tests.CalculatorNamespace.IJSII417PublicBaseOfBase { + /// /// /// stability: Experimental /// @@ -16,11 +18,13 @@ string Property { get; } + /// /// /// stability: Experimental /// [JsiiMethod(name: "bar")] void Bar(); + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417DerivedProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417DerivedProxy.cs index b468f02ccf..f09a079b50 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417DerivedProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417DerivedProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IJSII417DerivedProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public string Property get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -30,6 +33,7 @@ public bool HasRoot get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -39,6 +43,7 @@ public void Bar() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -48,6 +53,7 @@ public void Baz() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417PublicBaseOfBase.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417PublicBaseOfBase.cs index e1b479c215..f61bab80ce 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417PublicBaseOfBase.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417PublicBaseOfBase.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IJSII417PublicBaseOfBase), fullyQualifiedName: "jsii-calc.IJSII417PublicBaseOfBase")] public interface IJSII417PublicBaseOfBase { + /// /// /// stability: Experimental /// @@ -16,6 +18,7 @@ bool HasRoot { get; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417PublicBaseOfBaseProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417PublicBaseOfBaseProxy.cs index fc2717c217..c22b7aff68 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417PublicBaseOfBaseProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417PublicBaseOfBaseProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IJSII417PublicBaseOfBaseProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public bool HasRoot get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External.cs index 4660793f64..77c44c4640 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External2.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External2.cs index 28394c52a4..e0cd8424b5 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External2.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External2.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External2Proxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External2Proxy.cs index d84a217cdd..ff42eba689 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External2Proxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External2Proxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487ExternalProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487ExternalProxy.cs index 6838fcd683..90aae9b7ff 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487ExternalProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487ExternalProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii496.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii496.cs index a0f9c741c8..ba92c84610 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii496.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii496.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii496Proxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii496Proxy.cs index 57e38e8004..f74af1bb4f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii496Proxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii496Proxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ILoadBalancedFargateServiceProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ILoadBalancedFargateServiceProps.cs index 138e634419..eb7e158660 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ILoadBalancedFargateServiceProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ILoadBalancedFargateServiceProps.cs @@ -12,8 +12,10 @@ public interface ILoadBalancedFargateServiceProps /// The container port of the application load balancer attached to your Fargate service. /// /// Corresponds to container port mapping. + /// /// default: /// 80 + /// /// stability: Experimental /// [JsiiProperty(name: "containerPort", typeJson: "{\"primitive\":\"number\"}", isOptional: true)] @@ -29,8 +31,10 @@ public interface ILoadBalancedFargateServiceProps /// The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments. /// /// This default is set in the underlying FargateTaskDefinition construct. + /// /// default: /// 256 + /// /// stability: Experimental /// [JsiiProperty(name: "cpu", typeJson: "{\"primitive\":\"string\"}", isOptional: true)] @@ -59,8 +63,10 @@ string Cpu /// Between 8GB and 30GB in 1GB increments - Available cpu values: 4096 (4 vCPU) /// /// This default is set in the underlying FargateTaskDefinition construct. + /// /// default: /// 512 + /// /// stability: Experimental /// [JsiiProperty(name: "memoryMiB", typeJson: "{\"primitive\":\"string\"}", isOptional: true)] @@ -77,6 +83,7 @@ string MemoryMiB /// /// default: /// true + /// /// stability: Experimental /// [JsiiProperty(name: "publicLoadBalancer", typeJson: "{\"primitive\":\"boolean\"}", isOptional: true)] @@ -93,6 +100,7 @@ string MemoryMiB /// /// default: /// false + /// /// stability: Experimental /// [JsiiProperty(name: "publicTasks", typeJson: "{\"primitive\":\"boolean\"}", isOptional: true)] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IMutableObjectLiteral.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IMutableObjectLiteral.cs index 35d46849cf..37cebfb1cc 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IMutableObjectLiteral.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IMutableObjectLiteral.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IMutableObjectLiteral), fullyQualifiedName: "jsii-calc.IMutableObjectLiteral")] public interface IMutableObjectLiteral { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IMutableObjectLiteralProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IMutableObjectLiteralProxy.cs index 89b90b0a40..ec4886d476 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IMutableObjectLiteralProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IMutableObjectLiteralProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IMutableObjectLiteralProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INestedStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INestedStruct.cs index 6071669e9f..9877d29ee5 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INestedStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INestedStruct.cs @@ -2,13 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(INestedStruct), fullyQualifiedName: "jsii-calc.NestedStruct")] public interface INestedStruct { - /// When provided, must be > 0. + /// When provided, must be > 0. /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INonInternalInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INonInternalInterface.cs index c76f758d09..dd579ce3e4 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INonInternalInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INonInternalInterface.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(INonInternalInterface), fullyQualifiedName: "jsii-calc.INonInternalInterface")] public interface INonInternalInterface : Amazon.JSII.Tests.CalculatorNamespace.IAnotherPublicInterface { + /// /// /// stability: Experimental /// @@ -18,6 +20,7 @@ string B set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INonInternalInterfaceProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INonInternalInterfaceProxy.cs index 1d51c072f2..758ba1efee 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INonInternalInterfaceProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INonInternalInterfaceProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private INonInternalInterfaceProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -22,6 +24,7 @@ public string B set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -32,6 +35,7 @@ public string C set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INullShouldBeTreatedAsUndefinedData.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INullShouldBeTreatedAsUndefinedData.cs index aa8dad47cf..b64ce3b985 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INullShouldBeTreatedAsUndefinedData.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INullShouldBeTreatedAsUndefinedData.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(INullShouldBeTreatedAsUndefinedData), fullyQualifiedName: "jsii-calc.NullShouldBeTreatedAsUndefinedData")] public interface INullShouldBeTreatedAsUndefinedData { + /// /// /// stability: Experimental /// @@ -17,6 +19,7 @@ object[] ArrayWithThreeElementsAndUndefinedAsSecondArgument get; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IObjectWithProperty.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IObjectWithProperty.cs index aa8867653b..0576bebaae 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IObjectWithProperty.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IObjectWithProperty.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiInterface(nativeType: typeof(IObjectWithProperty), fullyQualifiedName: "jsii-calc.IObjectWithProperty")] public interface IObjectWithProperty { + /// /// /// stability: Experimental /// @@ -18,6 +19,7 @@ string Property get; set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IObjectWithPropertyProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IObjectWithPropertyProxy.cs index 0a09208aca..58390c111c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IObjectWithPropertyProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IObjectWithPropertyProxy.cs @@ -13,6 +13,7 @@ private IObjectWithPropertyProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -23,6 +24,7 @@ public string Property set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IOptionalStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IOptionalStruct.cs index d668496af9..25b3e6773b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IOptionalStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IOptionalStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IOptionalStruct), fullyQualifiedName: "jsii-calc.OptionalStruct")] public interface IOptionalStruct { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IParentStruct982.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IParentStruct982.cs index bee1e79e12..817912fc11 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IParentStruct982.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IParentStruct982.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiInterface(nativeType: typeof(IParentStruct982), fullyQualifiedName: "jsii-calc.ParentStruct982")] public interface IParentStruct982 { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPrivatelyImplemented.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPrivatelyImplemented.cs index 4eb61ed085..2239e45a49 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPrivatelyImplemented.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPrivatelyImplemented.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IPrivatelyImplemented), fullyQualifiedName: "jsii-calc.IPrivatelyImplemented")] public interface IPrivatelyImplemented { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPrivatelyImplementedProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPrivatelyImplementedProxy.cs index 724c515e9e..c5eb0feb8a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPrivatelyImplementedProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPrivatelyImplementedProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IPrivatelyImplementedProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface.cs index e9c399ba84..03dafed285 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IPublicInterface), fullyQualifiedName: "jsii-calc.IPublicInterface")] public interface IPublicInterface { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface2.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface2.cs index 7c13c8548f..4c886e2808 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface2.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface2.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IPublicInterface2), fullyQualifiedName: "jsii-calc.IPublicInterface2")] public interface IPublicInterface2 { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface2Proxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface2Proxy.cs index d66b505182..66f493e6dc 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface2Proxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface2Proxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IPublicInterface2Proxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterfaceProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterfaceProxy.cs index 44bf2b3d63..250a09f678 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterfaceProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterfaceProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IPublicInterfaceProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRandomNumberGenerator.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRandomNumberGenerator.cs index 0c57bd6cef..5c74350aa7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRandomNumberGenerator.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRandomNumberGenerator.cs @@ -10,9 +10,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace public interface IRandomNumberGenerator { /// Returns another random number. - /// - /// A random number. - /// + /// A random number. /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRandomNumberGeneratorProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRandomNumberGeneratorProxy.cs index 0f28ded798..79700a9e76 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRandomNumberGeneratorProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRandomNumberGeneratorProxy.cs @@ -14,9 +14,7 @@ private IRandomNumberGeneratorProxy(ByRefValue reference): base(reference) } /// Returns another random number. - /// - /// A random number. - /// + /// A random number. /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnJsii976.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnJsii976.cs index 1e7ca91e79..2ca0e2de8c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnJsii976.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnJsii976.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiInterface(nativeType: typeof(IReturnJsii976), fullyQualifiedName: "jsii-calc.IReturnJsii976")] public interface IReturnJsii976 { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnJsii976Proxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnJsii976Proxy.cs index f45fec410e..58ebe6376f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnJsii976Proxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnJsii976Proxy.cs @@ -13,6 +13,7 @@ private IReturnJsii976Proxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnsNumber.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnsNumber.cs index 49b456f0ba..764e42ecb2 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnsNumber.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnsNumber.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IReturnsNumber), fullyQualifiedName: "jsii-calc.IReturnsNumber")] public interface IReturnsNumber { + /// /// /// stability: Experimental /// @@ -16,6 +18,7 @@ Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Number NumberProp { get; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnsNumberProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnsNumberProxy.cs index 3bed7c07ae..ace4e3e305 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnsNumberProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnsNumberProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private IReturnsNumberProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Number NumberProp get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRootStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRootStruct.cs index ceaeb508e5..b71164a59c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRootStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRootStruct.cs @@ -6,6 +6,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// This is cheating with the (current) declared types, but this is the "more /// idiomatic" way for Pythonists. + /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IRootStruct), fullyQualifiedName: "jsii-calc.RootStruct")] @@ -21,6 +22,7 @@ string StringProp get; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISecondLevelStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISecondLevelStruct.cs index 7dfe871498..29bb2032dd 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISecondLevelStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISecondLevelStruct.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISmellyStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISmellyStruct.cs index 05c49bc65e..10a4486dab 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISmellyStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISmellyStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(ISmellyStruct), fullyQualifiedName: "jsii-calc.SmellyStruct")] public interface ISmellyStruct { + /// /// /// stability: Experimental /// @@ -17,6 +19,7 @@ string Property get; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableInterface.cs index bfd4c5301b..354f998366 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableInterface.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Stable /// [JsiiInterface(nativeType: typeof(IStableInterface), fullyQualifiedName: "jsii-calc.IStableInterface")] public interface IStableInterface { + /// /// /// stability: Stable /// @@ -24,6 +26,7 @@ public interface IStableInterface throw new System.NotSupportedException("'set' for 'MutableProperty' is not implemented"); } } + /// /// /// stability: Stable /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableInterfaceProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableInterfaceProxy.cs index c1b4914c20..59cb740f04 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableInterfaceProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableInterfaceProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Stable /// @@ -12,6 +13,7 @@ private IStableInterfaceProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Stable /// @@ -23,6 +25,7 @@ public double? MutableProperty set => SetInstanceProperty(value); } + /// /// /// stability: Stable /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableStruct.cs index f3a861f35f..426b5e929a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Stable /// [JsiiInterface(nativeType: typeof(IStableStruct), fullyQualifiedName: "jsii-calc.StableStruct")] public interface IStableStruct { + /// /// /// stability: Stable /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructA.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructA.cs index 2b9ba4fec6..ceae53cc85 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructA.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructA.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiInterface(nativeType: typeof(IStructA), fullyQualifiedName: "jsii-calc.StructA")] public interface IStructA { + /// /// /// stability: Experimental /// @@ -18,6 +19,7 @@ string RequiredString get; } + /// /// /// stability: Experimental /// @@ -31,6 +33,7 @@ string RequiredString } } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructB.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructB.cs index 92bfb324f4..0c312c22ff 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructB.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructB.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiInterface(nativeType: typeof(IStructB), fullyQualifiedName: "jsii-calc.StructB")] public interface IStructB { + /// /// /// stability: Experimental /// @@ -18,6 +19,7 @@ string RequiredString get; } + /// /// /// stability: Experimental /// @@ -31,6 +33,7 @@ string RequiredString } } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructParameterType.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructParameterType.cs index 4de949264b..ed3f02cd50 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructParameterType.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructParameterType.cs @@ -5,11 +5,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Verifies that, in languages that do keyword lifting (e.g: Python), having a struct member with the same name as a positional parameter results in the correct code being emitted. /// /// See: https://github.com/aws/aws-cdk/issues/4302 + /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IStructParameterType), fullyQualifiedName: "jsii-calc.StructParameterType")] public interface IStructParameterType { + /// /// /// stability: Experimental /// @@ -19,6 +21,7 @@ string Scope get; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructReturningDelegate.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructReturningDelegate.cs index 8d0dffd6e3..7ebc80efd4 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructReturningDelegate.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructReturningDelegate.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiInterface(nativeType: typeof(IStructReturningDelegate), fullyQualifiedName: "jsii-calc.IStructReturningDelegate")] public interface IStructReturningDelegate { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructReturningDelegateProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructReturningDelegateProxy.cs index 1fa2aebc0d..f0acb40741 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructReturningDelegateProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructReturningDelegateProxy.cs @@ -13,6 +13,7 @@ private IStructReturningDelegateProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructWithJavaReservedWords.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructWithJavaReservedWords.cs index 323fd86218..33203a631f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructWithJavaReservedWords.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructWithJavaReservedWords.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IStructWithJavaReservedWords), fullyQualifiedName: "jsii-calc.StructWithJavaReservedWords")] public interface IStructWithJavaReservedWords { + /// /// /// stability: Experimental /// @@ -17,6 +19,7 @@ string Default get; } + /// /// /// stability: Experimental /// @@ -30,6 +33,7 @@ string Assert } } + /// /// /// stability: Experimental /// @@ -43,6 +47,7 @@ string Result } } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISupportsNiceJavaBuilderProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISupportsNiceJavaBuilderProps.cs index ca7c0c5459..c407a3fd91 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISupportsNiceJavaBuilderProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISupportsNiceJavaBuilderProps.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -21,6 +22,7 @@ double Bar /// An `id` field here is terrible API design, because the constructor of `SupportsNiceJavaBuilder` already has a parameter named `id`. /// /// But here we are, doing it like we didn't care. + /// /// stability: Experimental /// [JsiiProperty(name: "id", typeJson: "{\"primitive\":\"string\"}", isOptional: true)] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ITopLevelStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ITopLevelStruct.cs index 0cb00703cd..d07af11dc1 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ITopLevelStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ITopLevelStruct.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IUnionProperties.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IUnionProperties.cs index 2791a24f35..25398a595f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IUnionProperties.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IUnionProperties.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IUnionProperties), fullyQualifiedName: "jsii-calc.UnionProperties")] public interface IUnionProperties { + /// /// /// stability: Experimental /// @@ -17,6 +19,7 @@ object Bar get; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementInternalInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementInternalInterface.cs index 7512d16e8d..9c57be0355 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementInternalInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementInternalInterface.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementInternalInterface), fullyQualifiedName: "jsii-calc.ImplementInternalInterface")] public class ImplementInternalInterface : DeputyBase { + /// public ImplementInternalInterface(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ImplementInternalInterface(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ImplementInternalInterface(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Implementation.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Implementation.cs index 3001a239b6..383aabc0c4 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Implementation.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Implementation.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Implementation), fullyQualifiedName: "jsii-calc.Implementation")] public class Implementation : DeputyBase { + /// public Implementation(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Implementation(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Implementation(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternal.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternal.cs index 7d0e51a2ff..921aefa080 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternal.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternal.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementsInterfaceWithInternal), fullyQualifiedName: "jsii-calc.ImplementsInterfaceWithInternal")] public class ImplementsInterfaceWithInternal : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithInternal { + /// public ImplementsInterfaceWithInternal(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ImplementsInterfaceWithInternal(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ImplementsInterfaceWithInternal(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternalSubclass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternalSubclass.cs index 38e140ac08..ad60ddee20 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternalSubclass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternalSubclass.cs @@ -2,20 +2,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementsInterfaceWithInternalSubclass), fullyQualifiedName: "jsii-calc.ImplementsInterfaceWithInternalSubclass")] public class ImplementsInterfaceWithInternalSubclass : Amazon.JSII.Tests.CalculatorNamespace.ImplementsInterfaceWithInternal { + /// public ImplementsInterfaceWithInternalSubclass(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ImplementsInterfaceWithInternalSubclass(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ImplementsInterfaceWithInternalSubclass(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsPrivateInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsPrivateInterface.cs index 0826252605..cd692f7bc2 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsPrivateInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsPrivateInterface.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementsPrivateInterface), fullyQualifiedName: "jsii-calc.ImplementsPrivateInterface")] public class ImplementsPrivateInterface : DeputyBase { + /// public ImplementsPrivateInterface(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ImplementsPrivateInterface(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ImplementsPrivateInterface(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplictBaseOfBase.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplictBaseOfBase.cs index 70b7fa1f44..a863065625 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplictBaseOfBase.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplictBaseOfBase.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.ImplictBaseOfBase")] public class ImplictBaseOfBase : Amazon.JSII.Tests.CalculatorNamespace.IImplictBaseOfBase { + /// /// /// stability: Experimental /// @@ -18,6 +20,7 @@ public System.DateTime Goo set; } + /// [JsiiProperty(name: "bar", typeJson: "{\"primitive\":\"string\"}", isOverride: true)] public string Bar { @@ -25,6 +28,7 @@ public string Bar set; } + /// [JsiiProperty(name: "foo", typeJson: "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}", isOverride: true)] public Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very Foo { diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplictBaseOfBaseProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplictBaseOfBaseProxy.cs index e26e09a8b0..30b2547a15 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplictBaseOfBaseProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplictBaseOfBaseProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private ImplictBaseOfBaseProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -21,12 +23,14 @@ public System.DateTime Goo get => GetInstanceProperty(); } + /// [JsiiProperty(name: "bar", typeJson: "{\"primitive\":\"string\"}")] public string Bar { get => GetInstanceProperty(); } + /// [JsiiProperty(name: "foo", typeJson: "{\"fqn\":\"@scope/jsii-calc-base-of-base.Very\"}")] public Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very Foo { diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InbetweenClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InbetweenClass.cs index d449a1df99..e0655a8db1 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InbetweenClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InbetweenClass.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.InbetweenClass), fullyQualifiedName: "jsii-calc.InbetweenClass")] public class InbetweenClass : Amazon.JSII.Tests.CalculatorNamespace.PublicClass, Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface2 { + /// public InbetweenClass(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected InbetweenClass(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected InbetweenClass(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/Foo.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/Foo.cs index 50e5611192..fb4c36d84f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/Foo.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/Foo.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClasses { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClasses.Foo), fullyQualifiedName: "jsii-calc.InterfaceInNamespaceIncludesClasses.Foo")] public class Foo : DeputyBase { + /// public Foo(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Foo(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Foo(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/Hello.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/Hello.cs index 8f1fccd7b3..783a5bb00b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/Hello.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/Hello.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClasses { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.InterfaceInNamespaceIncludesClasses.Hello")] public class Hello : Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClasses.IHello { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/HelloProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/HelloProxy.cs index 3589994e38..e3479fad72 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/HelloProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/HelloProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClasses { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private HelloProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/IHello.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/IHello.cs index 4a12ce3430..2a03c4b97f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/IHello.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/IHello.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClasses { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IHello), fullyQualifiedName: "jsii-calc.InterfaceInNamespaceIncludesClasses.Hello")] public interface IHello { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/Hello.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/Hello.cs index 335e670697..415cb0f597 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/Hello.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/Hello.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceOnlyInterface { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.InterfaceInNamespaceOnlyInterface.Hello")] public class Hello : Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceOnlyInterface.IHello { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/HelloProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/HelloProxy.cs index 95e1cbf269..5e7321e962 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/HelloProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/HelloProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceOnlyInterface { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private HelloProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/IHello.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/IHello.cs index ebe33168a4..33df183f2b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/IHello.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/IHello.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceOnlyInterface { + /// /// /// stability: Experimental /// [JsiiInterface(nativeType: typeof(IHello), fullyQualifiedName: "jsii-calc.InterfaceInNamespaceOnlyInterface.Hello")] public interface IHello { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfacesMaker.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfacesMaker.cs index a3d6e9f16d..7231bd5e03 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfacesMaker.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfacesMaker.cs @@ -9,14 +9,20 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.InterfacesMaker), fullyQualifiedName: "jsii-calc.InterfacesMaker")] public class InterfacesMaker : DeputyBase { + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected InterfacesMaker(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected InterfacesMaker(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Internal/DependencyResolution/Anchor.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Internal/DependencyResolution/Anchor.cs deleted file mode 100644 index 84d4ce489f..0000000000 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Internal/DependencyResolution/Anchor.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Amazon.JSII.Tests.CalculatorNamespace.Internal.DependencyResolution -{ - public class Anchor - { - public Anchor() - { - new Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.Internal.DependencyResolution.Anchor(); - new Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Internal.DependencyResolution.Anchor(); - new Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Internal.DependencyResolution.Anchor(); - } - } -} diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSII417Derived.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSII417Derived.cs index 1854e83fb5..c18711c662 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSII417Derived.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSII417Derived.cs @@ -2,12 +2,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSII417Derived), fullyQualifiedName: "jsii-calc.JSII417Derived", parametersJson: "[{\"name\":\"property\",\"type\":{\"primitive\":\"string\"}}]")] public class JSII417Derived : Amazon.JSII.Tests.CalculatorNamespace.JSII417PublicBaseOfBase { + /// + /// /// /// stability: Experimental /// @@ -15,14 +18,19 @@ public JSII417Derived(string property): base(new DeputyProps(new object[]{proper { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected JSII417Derived(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected JSII417Derived(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -32,6 +40,7 @@ public virtual void Bar() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -41,6 +50,7 @@ public virtual void Baz() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSII417PublicBaseOfBase.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSII417PublicBaseOfBase.cs index fef92cdc86..2be9ded80e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSII417PublicBaseOfBase.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSII417PublicBaseOfBase.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSII417PublicBaseOfBase), fullyQualifiedName: "jsii-calc.JSII417PublicBaseOfBase")] public class JSII417PublicBaseOfBase : DeputyBase { + /// public JSII417PublicBaseOfBase(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected JSII417PublicBaseOfBase(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected JSII417PublicBaseOfBase(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -29,6 +36,7 @@ public static Amazon.JSII.Tests.CalculatorNamespace.JSII417PublicBaseOfBase Make return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JSII417PublicBaseOfBase), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -38,6 +46,7 @@ public virtual void Foo() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralForInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralForInterface.cs index 3b8819e1ec..584b9c5eb9 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralForInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralForInterface.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSObjectLiteralForInterface), fullyQualifiedName: "jsii-calc.JSObjectLiteralForInterface")] public class JSObjectLiteralForInterface : DeputyBase { + /// public JSObjectLiteralForInterface(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected JSObjectLiteralForInterface(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected JSObjectLiteralForInterface(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -29,6 +36,7 @@ public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IFriendly Give return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNative.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNative.cs index 32861f1473..3810b1034e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNative.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNative.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSObjectLiteralToNative), fullyQualifiedName: "jsii-calc.JSObjectLiteralToNative")] public class JSObjectLiteralToNative : DeputyBase { + /// public JSObjectLiteralToNative(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected JSObjectLiteralToNative(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected JSObjectLiteralToNative(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNativeClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNativeClass.cs index b86dce079e..d334ce2492 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNativeClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNativeClass.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSObjectLiteralToNativeClass), fullyQualifiedName: "jsii-calc.JSObjectLiteralToNativeClass")] public class JSObjectLiteralToNativeClass : DeputyBase { + /// public JSObjectLiteralToNativeClass(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected JSObjectLiteralToNativeClass(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected JSObjectLiteralToNativeClass(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -30,6 +37,7 @@ public virtual string PropA set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JavaReservedWords.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JavaReservedWords.cs index a8ac7d54d0..98f1b3d694 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JavaReservedWords.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JavaReservedWords.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JavaReservedWords), fullyQualifiedName: "jsii-calc.JavaReservedWords")] public class JavaReservedWords : DeputyBase { + /// public JavaReservedWords(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected JavaReservedWords(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected JavaReservedWords(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -29,6 +36,7 @@ public virtual void Abstract() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -38,6 +46,7 @@ public virtual void Assert() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -47,6 +56,7 @@ public virtual void Boolean() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -56,6 +66,7 @@ public virtual void Break() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -65,6 +76,7 @@ public virtual void Byte() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -74,6 +86,7 @@ public virtual void Case() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -83,6 +96,7 @@ public virtual void Catch() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -92,6 +106,7 @@ public virtual void Char() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -101,6 +116,7 @@ public virtual void Class() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -110,6 +126,7 @@ public virtual void Const() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -119,6 +136,7 @@ public virtual void Continue() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -128,6 +146,7 @@ public virtual void Default() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -137,6 +156,7 @@ public virtual void Do() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -146,6 +166,7 @@ public virtual void Double() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -155,6 +176,7 @@ public virtual void Else() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -164,6 +186,7 @@ public virtual void Enum() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -173,6 +196,7 @@ public virtual void Extends() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -182,6 +206,7 @@ public virtual void False() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -191,6 +216,7 @@ public virtual void Final() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -200,6 +226,7 @@ public virtual void Finally() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -209,6 +236,7 @@ public virtual void Float() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -218,6 +246,7 @@ public virtual void For() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -227,6 +256,7 @@ public virtual void Goto() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -236,6 +266,7 @@ public virtual void If() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -245,6 +276,7 @@ public virtual void Implements() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -254,6 +286,7 @@ public virtual void Import() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -263,6 +296,7 @@ public virtual void Instanceof() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -272,6 +306,7 @@ public virtual void Int() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -281,6 +316,7 @@ public virtual void Interface() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -290,6 +326,7 @@ public virtual void Long() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -299,6 +336,7 @@ public virtual void Native() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -308,6 +346,7 @@ public virtual void New() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -317,6 +356,7 @@ public virtual void Null() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -326,6 +366,7 @@ public virtual void Package() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -335,6 +376,7 @@ public virtual void Private() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -344,6 +386,7 @@ public virtual void Protected() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -353,6 +396,7 @@ public virtual void Public() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -362,6 +406,7 @@ public virtual void Return() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -371,6 +416,7 @@ public virtual void Short() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -380,6 +426,7 @@ public virtual void Static() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -389,6 +436,7 @@ public virtual void Strictfp() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -398,6 +446,7 @@ public virtual void Super() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -407,6 +456,7 @@ public virtual void Switch() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -416,6 +466,7 @@ public virtual void Synchronized() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -425,6 +476,7 @@ public virtual void This() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -434,6 +486,7 @@ public virtual void Throw() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -443,6 +496,7 @@ public virtual void Throws() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -452,6 +506,7 @@ public virtual void Transient() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -461,6 +516,7 @@ public virtual void True() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -470,6 +526,7 @@ public virtual void Try() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -479,6 +536,7 @@ public virtual void Void() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -488,6 +546,7 @@ public virtual void Volatile() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii487Derived.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii487Derived.cs index b9c3da4b33..dad22b0b2c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii487Derived.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii487Derived.cs @@ -2,20 +2,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Jsii487Derived), fullyQualifiedName: "jsii-calc.Jsii487Derived")] public class Jsii487Derived : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IJsii487External2, Amazon.JSII.Tests.CalculatorNamespace.IJsii487External { + /// public Jsii487Derived(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Jsii487Derived(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Jsii487Derived(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii496Derived.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii496Derived.cs index 59e8bf937a..8c1aad32ee 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii496Derived.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii496Derived.cs @@ -2,20 +2,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Jsii496Derived), fullyQualifiedName: "jsii-calc.Jsii496Derived")] public class Jsii496Derived : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IJsii496 { + /// public Jsii496Derived(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Jsii496Derived(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Jsii496Derived(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JsiiAgent_.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JsiiAgent_.cs index 9208e398f1..03c1c7c189 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JsiiAgent_.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JsiiAgent_.cs @@ -9,14 +9,19 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JsiiAgent_), fullyQualifiedName: "jsii-calc.JsiiAgent")] public class JsiiAgent_ : DeputyBase { + /// public JsiiAgent_(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected JsiiAgent_(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected JsiiAgent_(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JsonFormatter.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JsonFormatter.cs index cfab0a528f..2a8c41092d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JsonFormatter.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JsonFormatter.cs @@ -5,20 +5,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Make sure structs are un-decorated on the way in. /// /// stability: Experimental + /// /// see: /// https://github.com/aws/aws-cdk/issues/5066 /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), fullyQualifiedName: "jsii-calc.JsonFormatter")] public class JsonFormatter : DeputyBase { + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected JsonFormatter(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected JsonFormatter(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -28,6 +34,7 @@ public static object AnyArray() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -37,6 +44,7 @@ public static object AnyBooleanFalse() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -46,6 +54,7 @@ public static object AnyBooleanTrue() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -55,6 +64,7 @@ public static object AnyDate() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -64,6 +74,7 @@ public static object AnyEmptyString() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -73,6 +84,7 @@ public static object AnyFunction() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -82,6 +94,7 @@ public static object AnyHash() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -91,6 +104,7 @@ public static object AnyNull() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -100,6 +114,7 @@ public static object AnyNumber() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -109,6 +124,7 @@ public static object AnyRef() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -118,6 +134,7 @@ public static object AnyString() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -127,6 +144,7 @@ public static object AnyUndefined() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -136,6 +154,8 @@ public static object AnyZero() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/LoadBalancedFargateServiceProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/LoadBalancedFargateServiceProps.cs index e7927773b8..24c317ce2b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/LoadBalancedFargateServiceProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/LoadBalancedFargateServiceProps.cs @@ -12,8 +12,10 @@ public class LoadBalancedFargateServiceProps : Amazon.JSII.Tests.CalculatorNames /// The container port of the application load balancer attached to your Fargate service. /// /// Corresponds to container port mapping. + /// /// default: /// 80 + /// /// stability: Experimental /// [JsiiOptional] @@ -27,8 +29,10 @@ public double? ContainerPort /// The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments. /// /// This default is set in the underlying FargateTaskDefinition construct. + /// /// default: /// 256 + /// /// stability: Experimental /// [JsiiOptional] @@ -55,8 +59,10 @@ public string Cpu /// Between 8GB and 30GB in 1GB increments - Available cpu values: 4096 (4 vCPU) /// /// This default is set in the underlying FargateTaskDefinition construct. + /// /// default: /// 512 + /// /// stability: Experimental /// [JsiiOptional] @@ -71,6 +77,7 @@ public string MemoryMiB /// /// default: /// true + /// /// stability: Experimental /// [JsiiOptional] @@ -85,6 +92,7 @@ public bool? PublicLoadBalancer /// /// default: /// false + /// /// stability: Experimental /// [JsiiOptional] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/LoadBalancedFargateServicePropsProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/LoadBalancedFargateServicePropsProxy.cs index c68b635314..fe03124593 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/LoadBalancedFargateServicePropsProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/LoadBalancedFargateServicePropsProxy.cs @@ -16,8 +16,10 @@ private LoadBalancedFargateServicePropsProxy(ByRefValue reference): base(referen /// The container port of the application load balancer attached to your Fargate service. /// /// Corresponds to container port mapping. + /// /// default: /// 80 + /// /// stability: Experimental /// [JsiiOptional] @@ -30,8 +32,10 @@ public double? ContainerPort /// The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments. /// /// This default is set in the underlying FargateTaskDefinition construct. + /// /// default: /// 256 + /// /// stability: Experimental /// [JsiiOptional] @@ -57,8 +61,10 @@ public string Cpu /// Between 8GB and 30GB in 1GB increments - Available cpu values: 4096 (4 vCPU) /// /// This default is set in the underlying FargateTaskDefinition construct. + /// /// default: /// 512 + /// /// stability: Experimental /// [JsiiOptional] @@ -72,6 +78,7 @@ public string MemoryMiB /// /// default: /// true + /// /// stability: Experimental /// [JsiiOptional] @@ -85,6 +92,7 @@ public bool? PublicLoadBalancer /// /// default: /// false + /// /// stability: Experimental /// [JsiiOptional] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/MethodNamedProperty.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/MethodNamedProperty.cs index 481df9b695..4e687338d6 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/MethodNamedProperty.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/MethodNamedProperty.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.MethodNamedProperty), fullyQualifiedName: "jsii-calc.MethodNamedProperty")] public class MethodNamedProperty : DeputyBase { + /// public MethodNamedProperty(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected MethodNamedProperty(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected MethodNamedProperty(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -29,6 +36,7 @@ public virtual string Property() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Multiply.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Multiply.cs index f18924e392..e16eaf2078 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Multiply.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Multiply.cs @@ -10,8 +10,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace public class Multiply : Amazon.JSII.Tests.CalculatorNamespace.BinaryOperation, Amazon.JSII.Tests.CalculatorNamespace.IFriendlier, Amazon.JSII.Tests.CalculatorNamespace.IRandomNumberGenerator { /// Creates a BinaryOperation. - /// Left-hand side operand. - /// Right-hand side operand. + /// Left-hand side operand. + /// Right-hand side operand. /// /// stability: Experimental /// @@ -19,10 +19,14 @@ public Multiply(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ lhs, A { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Multiply(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Multiply(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Negate.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Negate.cs index 7d748662d3..bbe2bc397a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Negate.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Negate.cs @@ -9,6 +9,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Negate), fullyQualifiedName: "jsii-calc.Negate", parametersJson: "[{\"name\":\"operand\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}]")] public class Negate : Amazon.JSII.Tests.CalculatorNamespace.UnaryOperation, Amazon.JSII.Tests.CalculatorNamespace.IFriendlier { + /// + /// /// /// stability: Experimental /// @@ -16,10 +18,14 @@ public Negate(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ operand) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Negate(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Negate(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NestedStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NestedStruct.cs index 172b65ed76..7831f5eab8 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NestedStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NestedStruct.cs @@ -2,13 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.NestedStruct")] public class NestedStruct : Amazon.JSII.Tests.CalculatorNamespace.INestedStruct { - /// When provided, must be > 0. + /// When provided, must be > 0. /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NestedStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NestedStructProxy.cs index 88ca5ac977..79fd7e1915 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NestedStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NestedStructProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,7 +13,7 @@ private NestedStructProxy(ByRefValue reference): base(reference) { } - /// When provided, must be > 0. + /// When provided, must be > 0. /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NodeStandardLibrary.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NodeStandardLibrary.cs index a7e798f0cb..8c045131fe 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NodeStandardLibrary.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NodeStandardLibrary.cs @@ -9,22 +9,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.NodeStandardLibrary), fullyQualifiedName: "jsii-calc.NodeStandardLibrary")] public class NodeStandardLibrary : DeputyBase { + /// public NodeStandardLibrary(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected NodeStandardLibrary(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected NodeStandardLibrary(DeputyProps props): base(props) { } /// Uses node.js "crypto" module to calculate sha256 of a string. - /// - /// "6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50" - /// + /// "6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50" /// /// stability: Experimental /// @@ -35,9 +38,7 @@ public virtual string CryptoSha256() } /// Reads a local resource file (resource.txt) asynchronously. - /// - /// "Hello, resource!" - /// + /// "Hello, resource!" /// /// stability: Experimental /// @@ -48,9 +49,7 @@ public virtual string FsReadFile() } /// Sync version of fsReadFile. - /// - /// "Hello, resource! SYNC!" - /// + /// "Hello, resource! SYNC!" /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefined.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefined.cs index 2197f54f47..3deed6870b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefined.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefined.cs @@ -9,6 +9,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.NullShouldBeTreatedAsUndefined), fullyQualifiedName: "jsii-calc.NullShouldBeTreatedAsUndefined", parametersJson: "[{\"name\":\"_param1\",\"type\":{\"primitive\":\"string\"}},{\"name\":\"optional\",\"optional\":true,\"type\":{\"primitive\":\"any\"}}]")] public class NullShouldBeTreatedAsUndefined : DeputyBase { + /// + /// + /// /// /// stability: Experimental /// @@ -16,14 +19,20 @@ public NullShouldBeTreatedAsUndefined(string param1, object optional = null): ba { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected NullShouldBeTreatedAsUndefined(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected NullShouldBeTreatedAsUndefined(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// @@ -33,6 +42,8 @@ public virtual void GiveMeUndefined(object @value = null) InvokeInstanceVoidMethod(new System.Type[]{typeof(object)}, new object[]{@value}); } + /// + /// /// /// stability: Experimental /// @@ -42,6 +53,7 @@ public virtual void GiveMeUndefinedInsideAnObject(Amazon.JSII.Tests.CalculatorNa InvokeInstanceVoidMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.INullShouldBeTreatedAsUndefinedData)}, new object[]{input}); } + /// /// /// stability: Experimental /// @@ -51,6 +63,7 @@ public virtual void VerifyPropertyIsUndefined() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefinedData.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefinedData.cs index 547a5b65ed..d5df36d685 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefinedData.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefinedData.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.NullShouldBeTreatedAsUndefinedData")] public class NullShouldBeTreatedAsUndefinedData : Amazon.JSII.Tests.CalculatorNamespace.INullShouldBeTreatedAsUndefinedData { + /// /// /// stability: Experimental /// @@ -18,6 +20,7 @@ public object[] ArrayWithThreeElementsAndUndefinedAsSecondArgument set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefinedDataProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefinedDataProxy.cs index 591bd0cf89..182215378e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefinedDataProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefinedDataProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private NullShouldBeTreatedAsUndefinedDataProxy(ByRefValue reference): base(refe { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public object[] ArrayWithThreeElementsAndUndefinedAsSecondArgument get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NumberGenerator.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NumberGenerator.cs index 2c8b9c9c21..3ce5a45657 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NumberGenerator.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NumberGenerator.cs @@ -9,6 +9,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.NumberGenerator), fullyQualifiedName: "jsii-calc.NumberGenerator", parametersJson: "[{\"name\":\"generator\",\"type\":{\"fqn\":\"jsii-calc.IRandomNumberGenerator\"}}]")] public class NumberGenerator : DeputyBase { + /// + /// /// /// stability: Experimental /// @@ -16,14 +18,20 @@ public NumberGenerator(Amazon.JSII.Tests.CalculatorNamespace.IRandomNumberGenera { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected NumberGenerator(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected NumberGenerator(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// @@ -33,6 +41,7 @@ public virtual bool IsSameGenerator(Amazon.JSII.Tests.CalculatorNamespace.IRando return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IRandomNumberGenerator)}, new object[]{gen}); } + /// /// /// stability: Experimental /// @@ -42,6 +51,7 @@ public virtual double NextTimes100() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ObjectRefsInCollections.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ObjectRefsInCollections.cs index 1a754230ee..b23527d4de 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ObjectRefsInCollections.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ObjectRefsInCollections.cs @@ -9,19 +9,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ObjectRefsInCollections), fullyQualifiedName: "jsii-calc.ObjectRefsInCollections")] public class ObjectRefsInCollections : DeputyBase { + /// public ObjectRefsInCollections(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ObjectRefsInCollections(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ObjectRefsInCollections(DeputyProps props): base(props) { } /// Returns the sum of all values. + /// /// /// stability: Experimental /// @@ -32,6 +38,7 @@ public virtual double SumFromArray(Amazon.JSII.Tests.CalculatorNamespace.LibName } /// Returns the sum of all values in a map. + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ObjectWithPropertyProvider.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ObjectWithPropertyProvider.cs index 7adf81e6ec..4e91f164ad 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ObjectWithPropertyProvider.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ObjectWithPropertyProvider.cs @@ -2,20 +2,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ObjectWithPropertyProvider), fullyQualifiedName: "jsii-calc.ObjectWithPropertyProvider")] public class ObjectWithPropertyProvider : DeputyBase { + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ObjectWithPropertyProvider(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ObjectWithPropertyProvider(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Old.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Old.cs index f3daeb8dcb..b239a04b24 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Old.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Old.cs @@ -10,14 +10,19 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [System.Obsolete("Use the new class")] public class Old : DeputyBase { + /// public Old(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Old(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Old(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalArgumentInvoker.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalArgumentInvoker.cs index 67bd516477..101681ba5d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalArgumentInvoker.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalArgumentInvoker.cs @@ -2,12 +2,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OptionalArgumentInvoker), fullyQualifiedName: "jsii-calc.OptionalArgumentInvoker", parametersJson: "[{\"name\":\"delegate\",\"type\":{\"fqn\":\"jsii-calc.IInterfaceWithOptionalMethodArguments\"}}]")] public class OptionalArgumentInvoker : DeputyBase { + /// + /// /// /// stability: Experimental /// @@ -15,14 +18,19 @@ public OptionalArgumentInvoker(Amazon.JSII.Tests.CalculatorNamespace.IInterfaceW { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected OptionalArgumentInvoker(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected OptionalArgumentInvoker(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -32,6 +40,7 @@ public virtual void InvokeWithOptional() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalConstructorArgument.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalConstructorArgument.cs index 8a36aa1250..43efdb40c4 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalConstructorArgument.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalConstructorArgument.cs @@ -2,12 +2,17 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OptionalConstructorArgument), fullyQualifiedName: "jsii-calc.OptionalConstructorArgument", parametersJson: "[{\"name\":\"arg1\",\"type\":{\"primitive\":\"number\"}},{\"name\":\"arg2\",\"type\":{\"primitive\":\"string\"}},{\"name\":\"arg3\",\"optional\":true,\"type\":{\"primitive\":\"date\"}}]")] public class OptionalConstructorArgument : DeputyBase { + /// + /// + /// + /// /// /// stability: Experimental /// @@ -15,14 +20,19 @@ public OptionalConstructorArgument(double arg1, string arg2, System.DateTime? ar { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected OptionalConstructorArgument(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected OptionalConstructorArgument(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -32,6 +42,7 @@ public virtual double Arg1 get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -41,6 +52,7 @@ public virtual string Arg2 get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStruct.cs index a62b5dc298..2465cc1812 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.OptionalStruct")] public class OptionalStruct : Amazon.JSII.Tests.CalculatorNamespace.IOptionalStruct { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStructConsumer.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStructConsumer.cs index c473601635..eeab9afc82 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStructConsumer.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStructConsumer.cs @@ -2,12 +2,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OptionalStructConsumer), fullyQualifiedName: "jsii-calc.OptionalStructConsumer", parametersJson: "[{\"name\":\"optionalStruct\",\"optional\":true,\"type\":{\"fqn\":\"jsii-calc.OptionalStruct\"}}]")] public class OptionalStructConsumer : DeputyBase { + /// + /// /// /// stability: Experimental /// @@ -15,14 +18,19 @@ public OptionalStructConsumer(Amazon.JSII.Tests.CalculatorNamespace.IOptionalStr { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected OptionalStructConsumer(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected OptionalStructConsumer(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -32,6 +40,7 @@ public virtual bool ParameterWasUndefined get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStructProxy.cs index 9f26565881..f6e002b93e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStructProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private OptionalStructProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverridableProtectedMember.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverridableProtectedMember.cs index a9fcda7308..d017a04b1e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverridableProtectedMember.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverridableProtectedMember.cs @@ -2,26 +2,34 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental + /// /// see: /// https://github.com/aws/jsii/issues/903 /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OverridableProtectedMember), fullyQualifiedName: "jsii-calc.OverridableProtectedMember")] public class OverridableProtectedMember : DeputyBase { + /// public OverridableProtectedMember(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected OverridableProtectedMember(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected OverridableProtectedMember(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -31,6 +39,7 @@ protected virtual string OverrideMe() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -40,6 +49,7 @@ public virtual void SwitchModes() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -49,6 +59,7 @@ public virtual string ValueFromProtected() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -58,6 +69,7 @@ protected virtual string OverrideReadOnly get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverrideReturnsObject.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverrideReturnsObject.cs index a1002aa43d..36ec65dc93 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverrideReturnsObject.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverrideReturnsObject.cs @@ -2,24 +2,32 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OverrideReturnsObject), fullyQualifiedName: "jsii-calc.OverrideReturnsObject")] public class OverrideReturnsObject : DeputyBase { + /// public OverrideReturnsObject(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected OverrideReturnsObject(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected OverrideReturnsObject(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ParentStruct982.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ParentStruct982.cs index f57b3abe88..b65d794685 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ParentStruct982.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ParentStruct982.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiByValue(fqn: "jsii-calc.ParentStruct982")] public class ParentStruct982 : Amazon.JSII.Tests.CalculatorNamespace.IParentStruct982 { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ParentStruct982Proxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ParentStruct982Proxy.cs index d2dd223533..a3e8a3d7e7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ParentStruct982Proxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ParentStruct982Proxy.cs @@ -13,6 +13,7 @@ private ParentStruct982Proxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PartiallyInitializedThisConsumer.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PartiallyInitializedThisConsumer.cs index 4a3bef5a9c..997b47d56d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PartiallyInitializedThisConsumer.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PartiallyInitializedThisConsumer.cs @@ -2,24 +2,34 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PartiallyInitializedThisConsumer), fullyQualifiedName: "jsii-calc.PartiallyInitializedThisConsumer")] public abstract class PartiallyInitializedThisConsumer : DeputyBase { + /// protected PartiallyInitializedThisConsumer(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected PartiallyInitializedThisConsumer(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected PartiallyInitializedThisConsumer(DeputyProps props): base(props) { } + /// + /// + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PartiallyInitializedThisConsumerProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PartiallyInitializedThisConsumerProxy.cs index 814e5b555a..ca9d4d2caa 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PartiallyInitializedThisConsumerProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PartiallyInitializedThisConsumerProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,10 @@ private PartiallyInitializedThisConsumerProxy(ByRefValue reference): base(refere { } + /// + /// + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Polymorphism.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Polymorphism.cs index fb1d16597a..48c0926bb2 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Polymorphism.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Polymorphism.cs @@ -2,24 +2,32 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Polymorphism), fullyQualifiedName: "jsii-calc.Polymorphism")] public class Polymorphism : DeputyBase { + /// public Polymorphism(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Polymorphism(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Polymorphism(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Power.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Power.cs index dfdf8f0773..e443e40961 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Power.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Power.cs @@ -10,8 +10,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace public class Power : Amazon.JSII.Tests.CalculatorNamespace.composition.CompositeOperation { /// Creates a Power operation. - /// The base of the power. - /// The number of times to multiply. + /// The base of the power. + /// The number of times to multiply. /// /// stability: Experimental /// @@ -19,10 +19,14 @@ public Power(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ @base, Am { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Power(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Power(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PropertyNamedProperty.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PropertyNamedProperty.cs index 0b8eb640fe..89b2930352 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PropertyNamedProperty.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PropertyNamedProperty.cs @@ -9,18 +9,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PropertyNamedProperty), fullyQualifiedName: "jsii-calc.PropertyNamedProperty")] public class PropertyNamedProperty : DeputyBase { + /// public PropertyNamedProperty(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected PropertyNamedProperty(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected PropertyNamedProperty(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -30,6 +36,7 @@ public virtual string Property get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PublicClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PublicClass.cs index 9ffb07c477..d493ec27e0 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PublicClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PublicClass.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PublicClass), fullyQualifiedName: "jsii-calc.PublicClass")] public class PublicClass : DeputyBase { + /// public PublicClass(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected PublicClass(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected PublicClass(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonReservedWords.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonReservedWords.cs index 2a6b6938c0..3a73f3f415 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonReservedWords.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonReservedWords.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PythonReservedWords), fullyQualifiedName: "jsii-calc.PythonReservedWords")] public class PythonReservedWords : DeputyBase { + /// public PythonReservedWords(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected PythonReservedWords(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected PythonReservedWords(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -29,6 +36,7 @@ public virtual void And() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -38,6 +46,7 @@ public virtual void As() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -47,6 +56,7 @@ public virtual void Assert() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -56,6 +66,7 @@ public virtual void Async() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -65,6 +76,7 @@ public virtual void Await() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -74,6 +86,7 @@ public virtual void Break() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -83,6 +96,7 @@ public virtual void Class() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -92,6 +106,7 @@ public virtual void Continue() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -101,6 +116,7 @@ public virtual void Def() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -110,6 +126,7 @@ public virtual void Del() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -119,6 +136,7 @@ public virtual void Elif() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -128,6 +146,7 @@ public virtual void Else() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -137,6 +156,7 @@ public virtual void Except() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -146,6 +166,7 @@ public virtual void Finally() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -155,6 +176,7 @@ public virtual void For() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -164,6 +186,7 @@ public virtual void From() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -173,6 +196,7 @@ public virtual void Global() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -182,6 +206,7 @@ public virtual void If() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -191,6 +216,7 @@ public virtual void Import() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -200,6 +226,7 @@ public virtual void In() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -209,6 +236,7 @@ public virtual void Is() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -218,6 +246,7 @@ public virtual void Lambda() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -227,6 +256,7 @@ public virtual void Nonlocal() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -236,6 +266,7 @@ public virtual void Not() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -245,6 +276,7 @@ public virtual void Or() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -254,6 +286,7 @@ public virtual void Pass() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -263,6 +296,7 @@ public virtual void Raise() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -272,6 +306,7 @@ public virtual void Return() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -281,6 +316,7 @@ public virtual void Try() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -290,6 +326,7 @@ public virtual void While() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -299,6 +336,7 @@ public virtual void With() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReferenceEnumFromScopedPackage.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReferenceEnumFromScopedPackage.cs index e8982ba98f..695626c2e1 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReferenceEnumFromScopedPackage.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReferenceEnumFromScopedPackage.cs @@ -9,18 +9,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ReferenceEnumFromScopedPackage), fullyQualifiedName: "jsii-calc.ReferenceEnumFromScopedPackage")] public class ReferenceEnumFromScopedPackage : DeputyBase { + /// public ReferenceEnumFromScopedPackage(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ReferenceEnumFromScopedPackage(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ReferenceEnumFromScopedPackage(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -30,6 +36,8 @@ public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.EnumFromScoped return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// + /// /// /// stability: Experimental /// @@ -39,6 +47,7 @@ public virtual void SaveFoo(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.E InvokeInstanceVoidMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.EnumFromScopedModule)}, new object[]{@value}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReturnsPrivateImplementationOfInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReturnsPrivateImplementationOfInterface.cs index f617c234ba..bcf77ca699 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReturnsPrivateImplementationOfInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReturnsPrivateImplementationOfInterface.cs @@ -2,30 +2,35 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { - /// Helps ensure the JSII kernel & runtime cooperate correctly when an un-exported instance of a class is returned with a declared type that is an exported interface, and the instance inherits from an exported class. - /// - /// an instance of an un-exported class that extends `ExportedBaseClass`, declared as `IPrivatelyImplemented`. - /// + /// Helps ensure the JSII kernel & runtime cooperate correctly when an un-exported instance of a class is returned with a declared type that is an exported interface, and the instance inherits from an exported class. + /// an instance of an un-exported class that extends `ExportedBaseClass`, declared as `IPrivatelyImplemented`. /// /// stability: Experimental + /// /// see: /// https://github.com/aws/jsii/issues/320 /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ReturnsPrivateImplementationOfInterface), fullyQualifiedName: "jsii-calc.ReturnsPrivateImplementationOfInterface")] public class ReturnsPrivateImplementationOfInterface : DeputyBase { + /// public ReturnsPrivateImplementationOfInterface(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected ReturnsPrivateImplementationOfInterface(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected ReturnsPrivateImplementationOfInterface(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStruct.cs index 17a3246e26..6ed68d1676 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStruct.cs @@ -6,6 +6,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// This is cheating with the (current) declared types, but this is the "more /// idiomatic" way for Pythonists. + /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.RootStruct")] @@ -22,6 +23,7 @@ public string StringProp set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStructProxy.cs index 9e68e02a7d..4a9aac99d8 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStructProxy.cs @@ -6,6 +6,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// This is cheating with the (current) declared types, but this is the "more /// idiomatic" way for Pythonists. + /// /// stability: Experimental /// [JsiiTypeProxy(nativeType: typeof(IRootStruct), fullyQualifiedName: "jsii-calc.RootStruct")] @@ -25,6 +26,7 @@ public string StringProp get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStructValidator.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStructValidator.cs index 69bfd315bf..70da35a7e4 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStructValidator.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStructValidator.cs @@ -2,20 +2,27 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.RootStructValidator), fullyQualifiedName: "jsii-calc.RootStructValidator")] public class RootStructValidator : DeputyBase { + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected RootStructValidator(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected RootStructValidator(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RuntimeTypeChecking.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RuntimeTypeChecking.cs index bde2906475..b8ba47d7be 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RuntimeTypeChecking.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RuntimeTypeChecking.cs @@ -2,24 +2,34 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.RuntimeTypeChecking), fullyQualifiedName: "jsii-calc.RuntimeTypeChecking")] public class RuntimeTypeChecking : DeputyBase { + /// public RuntimeTypeChecking(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected RuntimeTypeChecking(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected RuntimeTypeChecking(DeputyProps props): base(props) { } + /// + /// + /// + /// /// /// stability: Experimental /// @@ -29,6 +39,8 @@ public virtual void MethodWithDefaultedArguments(double? arg1 = null, string arg InvokeInstanceVoidMethod(new System.Type[]{typeof(double), typeof(string), typeof(System.DateTime)}, new object[]{arg1, arg2, arg3}); } + /// + /// /// /// stability: Experimental /// @@ -39,6 +51,9 @@ public virtual void MethodWithOptionalAnyArgument(object arg = null) } /// Used to verify verification of number of method arguments. + /// + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SecondLevelStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SecondLevelStruct.cs index cc5466ba58..b907e6c790 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SecondLevelStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SecondLevelStruct.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SecondLevelStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SecondLevelStructProxy.cs index 79d73c80f6..b941af2ebf 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SecondLevelStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SecondLevelStructProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingleInstanceTwoTypes.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingleInstanceTwoTypes.cs index e4ccd2e41f..d041412e02 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingleInstanceTwoTypes.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingleInstanceTwoTypes.cs @@ -7,23 +7,30 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// JSII clients can instantiate 2 different strongly-typed wrappers for the same /// object. Unfortunately, this will break object equality, but if we didn't do /// this it would break runtime type checks in the JVM or CLR. + /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SingleInstanceTwoTypes), fullyQualifiedName: "jsii-calc.SingleInstanceTwoTypes")] public class SingleInstanceTwoTypes : DeputyBase { + /// public SingleInstanceTwoTypes(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected SingleInstanceTwoTypes(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected SingleInstanceTwoTypes(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -33,6 +40,7 @@ public virtual Amazon.JSII.Tests.CalculatorNamespace.InbetweenClass Interface1() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingletonInt.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingletonInt.cs index 1841a312cd..9290994564 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingletonInt.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingletonInt.cs @@ -5,19 +5,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Verifies that singleton enums are handled correctly. /// /// https://github.com/aws/jsii/issues/231 + /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SingletonInt), fullyQualifiedName: "jsii-calc.SingletonInt")] public class SingletonInt : DeputyBase { + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected SingletonInt(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected SingletonInt(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingletonString.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingletonString.cs index 82b0767712..69b5099429 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingletonString.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingletonString.cs @@ -5,19 +5,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Verifies that singleton enums are handled correctly. /// /// https://github.com/aws/jsii/issues/231 + /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SingletonString), fullyQualifiedName: "jsii-calc.SingletonString")] public class SingletonString : DeputyBase { + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected SingletonString(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected SingletonString(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SmellyStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SmellyStruct.cs index cd539d9d5f..fd6ad71966 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SmellyStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SmellyStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.SmellyStruct")] public class SmellyStruct : Amazon.JSII.Tests.CalculatorNamespace.ISmellyStruct { + /// /// /// stability: Experimental /// @@ -18,6 +20,7 @@ public string Property set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SmellyStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SmellyStructProxy.cs index 1489bf172c..260eeaff1b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SmellyStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SmellyStructProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private SmellyStructProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public string Property get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SomeTypeJsii976.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SomeTypeJsii976.cs index 2e69cee36d..8c3a27c762 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SomeTypeJsii976.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SomeTypeJsii976.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SomeTypeJsii976), fullyQualifiedName: "jsii-calc.SomeTypeJsii976")] public class SomeTypeJsii976 : DeputyBase { + /// public SomeTypeJsii976(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected SomeTypeJsii976(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected SomeTypeJsii976(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -29,6 +36,7 @@ public static object ReturnAnonymous() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.SomeTypeJsii976), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableClass.cs index c9ac71fc77..ee2bbdec0f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableClass.cs @@ -2,12 +2,16 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Stable /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StableClass), fullyQualifiedName: "jsii-calc.StableClass", parametersJson: "[{\"name\":\"readonlyString\",\"type\":{\"primitive\":\"string\"}},{\"name\":\"mutableNumber\",\"optional\":true,\"type\":{\"primitive\":\"number\"}}]")] public class StableClass : DeputyBase { + /// + /// + /// /// /// stability: Stable /// @@ -15,14 +19,19 @@ public StableClass(string readonlyString, double? mutableNumber = null): base(ne { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected StableClass(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected StableClass(DeputyProps props): base(props) { } + /// /// /// stability: Stable /// @@ -32,6 +41,7 @@ public virtual void Method() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Stable /// @@ -41,6 +51,7 @@ public virtual string ReadonlyProperty get => GetInstanceProperty(); } + /// /// /// stability: Stable /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableEnum.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableEnum.cs index b221a04acf..d10bf24ab5 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableEnum.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableEnum.cs @@ -3,17 +3,20 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Stable /// [JsiiEnum(nativeType: typeof(StableEnum), fullyQualifiedName: "jsii-calc.StableEnum")] public enum StableEnum { + /// /// /// stability: Stable /// [JsiiEnumMember(name: "OPTION_A")] OPTION_A, + /// /// /// stability: Stable /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableStruct.cs index c8c15729a1..39e47935cd 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableStruct.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Stable /// [JsiiByValue(fqn: "jsii-calc.StableStruct")] public class StableStruct : Amazon.JSII.Tests.CalculatorNamespace.IStableStruct { + /// /// /// stability: Stable /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableStructProxy.cs index 9a296e9042..503fd71e65 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableStructProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Stable /// @@ -12,6 +13,7 @@ private StableStructProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Stable /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StaticContext.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StaticContext.cs index 9f7d2a6e2a..ecffb587c9 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StaticContext.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StaticContext.cs @@ -5,19 +5,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// This is used to validate the ability to use `this` from within a static context. /// /// https://github.com/awslabs/aws-cdk/issues/2304 + /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StaticContext), fullyQualifiedName: "jsii-calc.StaticContext")] public class StaticContext : DeputyBase { + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected StaticContext(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected StaticContext(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -27,6 +33,7 @@ public static bool CanAccessStaticContext() return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.StaticContext), new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Statics.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Statics.cs index 46c0b1d67c..55fd9be6aa 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Statics.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Statics.cs @@ -2,12 +2,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Statics), fullyQualifiedName: "jsii-calc.Statics", parametersJson: "[{\"name\":\"value\",\"type\":{\"primitive\":\"string\"}}]")] public class Statics : DeputyBase { + /// + /// /// /// stability: Experimental /// @@ -15,16 +18,20 @@ public Statics(string @value): base(new DeputyProps(new object[]{@value})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Statics(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Statics(DeputyProps props): base(props) { } /// Jsdocs for static method. - /// The name of the person to say hello to. + /// The name of the person to say hello to. /// /// stability: Experimental /// @@ -34,6 +41,7 @@ public static string StaticMethod(string name) return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Statics), new System.Type[]{typeof(string)}, new object[]{name}); } + /// /// /// stability: Experimental /// @@ -54,6 +62,7 @@ public static double BAR } = GetStaticProperty(typeof(Amazon.JSII.Tests.CalculatorNamespace.Statics)); + /// /// /// stability: Experimental /// @@ -97,6 +106,7 @@ public static Amazon.JSII.Tests.CalculatorNamespace.Statics Instance set => SetStaticProperty(typeof(Amazon.JSII.Tests.CalculatorNamespace.Statics), value); } + /// /// /// stability: Experimental /// @@ -107,6 +117,7 @@ public static double NonConstStatic set => SetStaticProperty(typeof(Amazon.JSII.Tests.CalculatorNamespace.Statics), value); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StringEnum.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StringEnum.cs index 417f4df884..7f15c68adc 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StringEnum.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StringEnum.cs @@ -3,22 +3,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiEnum(nativeType: typeof(StringEnum), fullyQualifiedName: "jsii-calc.StringEnum")] public enum StringEnum { + /// /// /// stability: Experimental /// [JsiiEnumMember(name: "A")] A, + /// /// /// stability: Experimental /// [JsiiEnumMember(name: "B")] B, + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StripInternal.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StripInternal.cs index f1a990df17..5c6779cbca 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StripInternal.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StripInternal.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StripInternal), fullyQualifiedName: "jsii-calc.StripInternal")] public class StripInternal : DeputyBase { + /// public StripInternal(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected StripInternal(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected StripInternal(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructA.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructA.cs index b9c4497cc7..edbe6c581c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructA.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructA.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiByValue(fqn: "jsii-calc.StructA")] public class StructA : Amazon.JSII.Tests.CalculatorNamespace.IStructA { + /// /// /// stability: Experimental /// @@ -19,6 +20,7 @@ public string RequiredString set; } + /// /// /// stability: Experimental /// @@ -30,6 +32,7 @@ public double? OptionalNumber set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructAProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructAProxy.cs index bf1919e989..893f8ec21d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructAProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructAProxy.cs @@ -13,6 +13,7 @@ private StructAProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -22,6 +23,7 @@ public string RequiredString get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -32,6 +34,7 @@ public double? OptionalNumber get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructB.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructB.cs index c1c77f31a0..5d03225350 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructB.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructB.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiByValue(fqn: "jsii-calc.StructB")] public class StructB : Amazon.JSII.Tests.CalculatorNamespace.IStructB { + /// /// /// stability: Experimental /// @@ -19,6 +20,7 @@ public string RequiredString set; } + /// /// /// stability: Experimental /// @@ -30,6 +32,7 @@ public bool? OptionalBoolean set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructBProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructBProxy.cs index 0bdb67e6fb..da6b74a4f1 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructBProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructBProxy.cs @@ -13,6 +13,7 @@ private StructBProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -22,6 +23,7 @@ public string RequiredString get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -32,6 +34,7 @@ public bool? OptionalBoolean get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructParameterType.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructParameterType.cs index 80166d351a..ae3f9321ec 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructParameterType.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructParameterType.cs @@ -5,11 +5,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Verifies that, in languages that do keyword lifting (e.g: Python), having a struct member with the same name as a positional parameter results in the correct code being emitted. /// /// See: https://github.com/aws/aws-cdk/issues/4302 + /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.StructParameterType")] public class StructParameterType : Amazon.JSII.Tests.CalculatorNamespace.IStructParameterType { + /// /// /// stability: Experimental /// @@ -20,6 +22,7 @@ public string Scope set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructParameterTypeProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructParameterTypeProxy.cs index a06b25451d..0fcdcd13d8 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructParameterTypeProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructParameterTypeProxy.cs @@ -5,6 +5,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Verifies that, in languages that do keyword lifting (e.g: Python), having a struct member with the same name as a positional parameter results in the correct code being emitted. /// /// See: https://github.com/aws/aws-cdk/issues/4302 + /// /// stability: Experimental /// [JsiiTypeProxy(nativeType: typeof(IStructParameterType), fullyQualifiedName: "jsii-calc.StructParameterType")] @@ -14,6 +15,7 @@ private StructParameterTypeProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -23,6 +25,7 @@ public string Scope get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructPassing.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructPassing.cs index d1681be36e..eb376e2d9d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructPassing.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructPassing.cs @@ -9,18 +9,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StructPassing), fullyQualifiedName: "jsii-calc.StructPassing")] public class StructPassing : DeputyBase { + /// public StructPassing(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected StructPassing(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected StructPassing(DeputyProps props): base(props) { } + /// + /// + /// /// /// stability: External /// @@ -30,6 +38,9 @@ public static double HowManyVarArgsDidIPass(double positional, params Amazon.JSI return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.StructPassing), new System.Type[]{typeof(double), typeof(Amazon.JSII.Tests.CalculatorNamespace.ITopLevelStruct[])}, new object[]{positional, inputs}); } + /// + /// + /// /// /// stability: External /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructUnionConsumer.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructUnionConsumer.cs index 914ca54f10..267e987047 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructUnionConsumer.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructUnionConsumer.cs @@ -2,20 +2,27 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StructUnionConsumer), fullyQualifiedName: "jsii-calc.StructUnionConsumer")] public class StructUnionConsumer : DeputyBase { + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected StructUnionConsumer(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected StructUnionConsumer(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// @@ -25,6 +32,8 @@ public static bool IsStructA(object @struct) return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.StructUnionConsumer), new System.Type[]{typeof(object)}, new object[]{@struct}); } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructWithJavaReservedWords.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructWithJavaReservedWords.cs index 98042b4674..cc958e25e0 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructWithJavaReservedWords.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructWithJavaReservedWords.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.StructWithJavaReservedWords")] public class StructWithJavaReservedWords : Amazon.JSII.Tests.CalculatorNamespace.IStructWithJavaReservedWords { + /// /// /// stability: Experimental /// @@ -18,6 +20,7 @@ public string Default set; } + /// /// /// stability: Experimental /// @@ -29,6 +32,7 @@ public string Assert set; } + /// /// /// stability: Experimental /// @@ -40,6 +44,7 @@ public string Result set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructWithJavaReservedWordsProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructWithJavaReservedWordsProxy.cs index b705625b0d..a3c851258c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructWithJavaReservedWordsProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructWithJavaReservedWordsProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private StructWithJavaReservedWordsProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public string Default get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -31,6 +34,7 @@ public string Assert get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -41,6 +45,7 @@ public string Result get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Sum.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Sum.cs index dd6b980f01..9f59ed833d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Sum.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Sum.cs @@ -9,6 +9,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Sum), fullyQualifiedName: "jsii-calc.Sum")] public class Sum : Amazon.JSII.Tests.CalculatorNamespace.composition.CompositeOperation { + /// /// /// stability: Experimental /// @@ -16,10 +17,14 @@ public Sum(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Sum(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Sum(DeputyProps props): base(props) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilder.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilder.cs index 7d69c14b0b..5288026542 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilder.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilder.cs @@ -2,16 +2,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SupportsNiceJavaBuilder), fullyQualifiedName: "jsii-calc.SupportsNiceJavaBuilder", parametersJson: "[{\"docs\":{\"summary\":\"some identifier.\"},\"name\":\"id\",\"type\":{\"primitive\":\"number\"}},{\"docs\":{\"summary\":\"the default value of `bar`.\"},\"name\":\"defaultBar\",\"optional\":true,\"type\":{\"primitive\":\"number\"}},{\"docs\":{\"summary\":\"some props once can provide.\"},\"name\":\"props\",\"optional\":true,\"type\":{\"fqn\":\"jsii-calc.SupportsNiceJavaBuilderProps\"}},{\"docs\":{\"summary\":\"a variadic continuation.\"},\"name\":\"rest\",\"type\":{\"primitive\":\"string\"},\"variadic\":true}]")] public class SupportsNiceJavaBuilder : Amazon.JSII.Tests.CalculatorNamespace.SupportsNiceJavaBuilderWithRequiredProps { - /// some identifier. - /// the default value of `bar`. - /// some props once can provide. - /// a variadic continuation. + /// + /// some identifier. + /// the default value of `bar`. + /// some props once can provide. + /// a variadic continuation. /// /// stability: Experimental /// @@ -19,10 +21,14 @@ public SupportsNiceJavaBuilder(double id, double? defaultBar = null, Amazon.JSII { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected SupportsNiceJavaBuilder(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected SupportsNiceJavaBuilder(DeputyProps props): base(props) { } @@ -37,6 +43,7 @@ public override double Id get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderProps.cs index 80b42cf544..74fdb86082 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderProps.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -22,6 +23,7 @@ public double Bar /// An `id` field here is terrible API design, because the constructor of `SupportsNiceJavaBuilder` already has a parameter named `id`. /// /// But here we are, doing it like we didn't care. + /// /// stability: Experimental /// [JsiiOptional] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderPropsProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderPropsProxy.cs index 0dd9b3df47..e859f6c491 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderPropsProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderPropsProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -25,6 +26,7 @@ public double Bar /// An `id` field here is terrible API design, because the constructor of `SupportsNiceJavaBuilder` already has a parameter named `id`. /// /// But here we are, doing it like we didn't care. + /// /// stability: Experimental /// [JsiiOptional] diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderWithRequiredProps.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderWithRequiredProps.cs index 6db58083a5..379d2a4956 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderWithRequiredProps.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderWithRequiredProps.cs @@ -2,15 +2,16 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { - /// We can generate fancy builders in Java for classes which take a mix of positional & struct parameters. + /// We can generate fancy builders in Java for classes which take a mix of positional & struct parameters. /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SupportsNiceJavaBuilderWithRequiredProps), fullyQualifiedName: "jsii-calc.SupportsNiceJavaBuilderWithRequiredProps", parametersJson: "[{\"docs\":{\"summary\":\"some identifier of your choice.\"},\"name\":\"id\",\"type\":{\"primitive\":\"number\"}},{\"docs\":{\"summary\":\"some properties.\"},\"name\":\"props\",\"type\":{\"fqn\":\"jsii-calc.SupportsNiceJavaBuilderProps\"}}]")] public class SupportsNiceJavaBuilderWithRequiredProps : DeputyBase { - /// some identifier of your choice. - /// some properties. + /// + /// some identifier of your choice. + /// some properties. /// /// stability: Experimental /// @@ -18,14 +19,19 @@ public SupportsNiceJavaBuilderWithRequiredProps(double id, Amazon.JSII.Tests.Cal { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected SupportsNiceJavaBuilderWithRequiredProps(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected SupportsNiceJavaBuilderWithRequiredProps(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -45,6 +51,7 @@ public virtual double Id get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SyncVirtualMethods.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SyncVirtualMethods.cs index f4ef2bd663..b102e406a7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SyncVirtualMethods.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SyncVirtualMethods.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SyncVirtualMethods), fullyQualifiedName: "jsii-calc.SyncVirtualMethods")] public class SyncVirtualMethods : DeputyBase { + /// public SyncVirtualMethods(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected SyncVirtualMethods(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected SyncVirtualMethods(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -29,6 +36,7 @@ public virtual double CallerIsAsync() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -38,6 +46,8 @@ public virtual double CallerIsMethod() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// + /// /// /// stability: Experimental /// @@ -47,6 +57,8 @@ public virtual void ModifyOtherProperty(string @value) InvokeInstanceVoidMethod(new System.Type[]{typeof(string)}, new object[]{@value}); } + /// + /// /// /// stability: Experimental /// @@ -56,6 +68,7 @@ public virtual void ModifyValueOfTheProperty(string @value) InvokeInstanceVoidMethod(new System.Type[]{typeof(string)}, new object[]{@value}); } + /// /// /// stability: Experimental /// @@ -65,6 +78,7 @@ public virtual double ReadA() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -74,6 +88,7 @@ public virtual string RetrieveOtherProperty() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -83,6 +98,7 @@ public virtual string RetrieveReadOnlyProperty() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -92,6 +108,8 @@ public virtual string RetrieveValueOfTheProperty() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// + /// /// /// stability: Experimental /// @@ -101,6 +119,8 @@ public virtual double VirtualMethod(double n) return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{n}); } + /// + /// /// /// stability: Experimental /// @@ -110,6 +130,7 @@ public virtual void WriteA(double @value) InvokeInstanceVoidMethod(new System.Type[]{typeof(double)}, new object[]{@value}); } + /// /// /// stability: Experimental /// @@ -119,6 +140,7 @@ public virtual string ReadonlyProperty get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// @@ -129,6 +151,7 @@ public virtual double A set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -139,6 +162,7 @@ public virtual double CallerIsProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -149,6 +173,7 @@ public virtual string OtherProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// @@ -159,6 +184,7 @@ public virtual string TheProperty set => SetInstanceProperty(value); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Thrower.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Thrower.cs index c93744c9d9..4da77e8621 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Thrower.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Thrower.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Thrower), fullyQualifiedName: "jsii-calc.Thrower")] public class Thrower : DeputyBase { + /// public Thrower(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected Thrower(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected Thrower(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/TopLevelStruct.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/TopLevelStruct.cs index ee0c18f371..b720b971c1 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/TopLevelStruct.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/TopLevelStruct.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/TopLevelStructProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/TopLevelStructProxy.cs index 7d683eb598..bf58d480a1 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/TopLevelStructProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/TopLevelStructProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnaryOperation.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnaryOperation.cs index 2f8b8258a2..18e17d91e7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnaryOperation.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnaryOperation.cs @@ -9,6 +9,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UnaryOperation), fullyQualifiedName: "jsii-calc.UnaryOperation", parametersJson: "[{\"name\":\"operand\",\"type\":{\"fqn\":\"@scope/jsii-calc-lib.Value\"}}]")] public abstract class UnaryOperation : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Operation { + /// + /// /// /// stability: Experimental /// @@ -16,14 +18,19 @@ protected UnaryOperation(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Valu { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected UnaryOperation(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected UnaryOperation(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnionProperties.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnionProperties.cs index 3d3ba8744c..90b67db28a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnionProperties.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnionProperties.cs @@ -2,12 +2,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiByValue(fqn: "jsii-calc.UnionProperties")] public class UnionProperties : Amazon.JSII.Tests.CalculatorNamespace.IUnionProperties { + /// /// /// stability: Experimental /// @@ -18,6 +20,7 @@ public object Bar set; } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnionPropertiesProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnionPropertiesProxy.cs index cb853c0301..06bbca5ec1 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnionPropertiesProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnionPropertiesProxy.cs @@ -2,6 +2,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// @@ -12,6 +13,7 @@ private UnionPropertiesProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// @@ -21,6 +23,7 @@ public object Bar get => GetInstanceProperty(); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseBundledDependency.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseBundledDependency.cs index dd0e33c6b4..4204484379 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseBundledDependency.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseBundledDependency.cs @@ -2,24 +2,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UseBundledDependency), fullyQualifiedName: "jsii-calc.UseBundledDependency")] public class UseBundledDependency : DeputyBase { + /// public UseBundledDependency(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected UseBundledDependency(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected UseBundledDependency(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseCalcBase.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseCalcBase.cs index 9dd06902ee..8458d29a50 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseCalcBase.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseCalcBase.cs @@ -9,18 +9,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UseCalcBase), fullyQualifiedName: "jsii-calc.UseCalcBase")] public class UseCalcBase : DeputyBase { + /// public UseCalcBase(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected UseCalcBase(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected UseCalcBase(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UsesInterfaceWithProperties.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UsesInterfaceWithProperties.cs index efea548526..cba964d254 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UsesInterfaceWithProperties.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UsesInterfaceWithProperties.cs @@ -2,12 +2,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UsesInterfaceWithProperties), fullyQualifiedName: "jsii-calc.UsesInterfaceWithProperties", parametersJson: "[{\"name\":\"obj\",\"type\":{\"fqn\":\"jsii-calc.IInterfaceWithProperties\"}}]")] public class UsesInterfaceWithProperties : DeputyBase { + /// + /// /// /// stability: Experimental /// @@ -15,14 +18,19 @@ public UsesInterfaceWithProperties(Amazon.JSII.Tests.CalculatorNamespace.IInterf { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected UsesInterfaceWithProperties(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected UsesInterfaceWithProperties(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -32,6 +40,8 @@ public virtual string JustRead() return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } + /// + /// /// /// stability: Experimental /// @@ -41,6 +51,8 @@ public virtual string ReadStringAndNumber(Amazon.JSII.Tests.CalculatorNamespace. return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithPropertiesExtension)}, new object[]{ext}); } + /// + /// /// /// stability: Experimental /// @@ -50,6 +62,7 @@ public virtual string WriteAndRead(string @value) return InvokeInstanceMethod(new System.Type[]{typeof(string)}, new object[]{@value}); } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VariadicInvoker.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VariadicInvoker.cs index a502f55464..a56ac0e09a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VariadicInvoker.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VariadicInvoker.cs @@ -2,12 +2,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VariadicInvoker), fullyQualifiedName: "jsii-calc.VariadicInvoker", parametersJson: "[{\"name\":\"method\",\"type\":{\"fqn\":\"jsii-calc.VariadicMethod\"}}]")] public class VariadicInvoker : DeputyBase { + /// + /// /// /// stability: Experimental /// @@ -15,14 +18,20 @@ public VariadicInvoker(Amazon.JSII.Tests.CalculatorNamespace.VariadicMethod meth { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected VariadicInvoker(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected VariadicInvoker(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VariadicMethod.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VariadicMethod.cs index 4e3de0c633..a739cdfcf2 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VariadicMethod.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VariadicMethod.cs @@ -2,13 +2,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VariadicMethod), fullyQualifiedName: "jsii-calc.VariadicMethod", parametersJson: "[{\"docs\":{\"summary\":\"a prefix that will be use for all values returned by `#asArray`.\"},\"name\":\"prefix\",\"type\":{\"primitive\":\"number\"},\"variadic\":true}]")] public class VariadicMethod : DeputyBase { - /// a prefix that will be use for all values returned by `#asArray`. + /// + /// a prefix that will be use for all values returned by `#asArray`. /// /// stability: Experimental /// @@ -16,16 +18,21 @@ public VariadicMethod(params double[] prefix): base(new DeputyProps(new object[] { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected VariadicMethod(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected VariadicMethod(DeputyProps props): base(props) { } - /// the first element of the array to be returned (after the `prefix` provided at construction time). - /// other elements to be included in the array. + /// + /// the first element of the array to be returned (after the `prefix` provided at construction time). + /// other elements to be included in the array. /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VirtualMethodPlayground.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VirtualMethodPlayground.cs index f49cc49636..7fe79b6870 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VirtualMethodPlayground.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VirtualMethodPlayground.cs @@ -2,24 +2,32 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { + /// /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VirtualMethodPlayground), fullyQualifiedName: "jsii-calc.VirtualMethodPlayground")] public class VirtualMethodPlayground : DeputyBase { + /// public VirtualMethodPlayground(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected VirtualMethodPlayground(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected VirtualMethodPlayground(DeputyProps props): base(props) { } + /// + /// /// /// stability: Experimental /// @@ -29,6 +37,8 @@ public virtual double OverrideMeAsync(double index) return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{index}); } + /// + /// /// /// stability: Experimental /// @@ -38,6 +48,8 @@ public virtual double OverrideMeSync(double index) return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{index}); } + /// + /// /// /// stability: Experimental /// @@ -47,6 +59,8 @@ public virtual double ParallelSumAsync(double count) return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{count}); } + /// + /// /// /// stability: Experimental /// @@ -56,6 +70,8 @@ public virtual double SerialSumAsync(double count) return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{count}); } + /// + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VoidCallback.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VoidCallback.cs index cb43c454b8..584f3d83f3 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VoidCallback.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VoidCallback.cs @@ -7,23 +7,30 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// - Implement `overrideMe` (method does not have to do anything). /// - Invoke `callMe` /// - Verify that `methodWasCalled` is `true`. + /// /// stability: Experimental /// [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VoidCallback), fullyQualifiedName: "jsii-calc.VoidCallback")] public abstract class VoidCallback : DeputyBase { + /// protected VoidCallback(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected VoidCallback(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected VoidCallback(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// @@ -33,6 +40,7 @@ public virtual void CallMe() InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } + /// /// /// stability: Experimental /// @@ -40,6 +48,7 @@ public virtual void CallMe() protected abstract void OverrideMe(); + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VoidCallbackProxy.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VoidCallbackProxy.cs index a99c06bc25..4db02b5b00 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VoidCallbackProxy.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VoidCallbackProxy.cs @@ -7,6 +7,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// - Implement `overrideMe` (method does not have to do anything). /// - Invoke `callMe` /// - Verify that `methodWasCalled` is `true`. + /// /// stability: Experimental /// [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VoidCallback), fullyQualifiedName: "jsii-calc.VoidCallback")] @@ -16,6 +17,7 @@ private VoidCallbackProxy(ByRefValue reference): base(reference) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/WithPrivatePropertyInConstructor.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/WithPrivatePropertyInConstructor.cs index 0748877d02..e8fe16b9a9 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/WithPrivatePropertyInConstructor.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/WithPrivatePropertyInConstructor.cs @@ -9,6 +9,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.WithPrivatePropertyInConstructor), fullyQualifiedName: "jsii-calc.WithPrivatePropertyInConstructor", parametersJson: "[{\"name\":\"privateField\",\"optional\":true,\"type\":{\"primitive\":\"string\"}}]")] public class WithPrivatePropertyInConstructor : DeputyBase { + /// + /// /// /// stability: Experimental /// @@ -16,14 +18,19 @@ public WithPrivatePropertyInConstructor(string privateField = null): base(new De { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected WithPrivatePropertyInConstructor(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected WithPrivatePropertyInConstructor(DeputyProps props): base(props) { } + /// /// /// stability: Experimental /// diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/composition/CompositeOperation.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/composition/CompositeOperation.cs index 28a45c3db1..d96e30cf20 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/composition/CompositeOperation.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/composition/CompositeOperation.cs @@ -9,14 +9,19 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.composition [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.composition.CompositeOperation), fullyQualifiedName: "jsii-calc.composition.CompositeOperation")] public abstract class CompositeOperation : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Operation { + /// protected CompositeOperation(): base(new DeputyProps(new object[]{})) { } + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference protected CompositeOperation(ByRefValue reference): base(reference) { } + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props protected CompositeOperation(DeputyProps props): base(props) { } From 191b30e1968e6fea26ea8e80cdab07871bae0582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=91=A8=F0=9F=8F=BC=E2=80=8D=F0=9F=92=BB=20Romain=20M?= =?UTF-8?q?arcadier-Muller?= Date: Mon, 16 Dec 2019 15:08:16 +0100 Subject: [PATCH 2/2] fix linter offenses --- packages/jsii-pacmak/lib/targets/dotnet/dotnetdocgenerator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/jsii-pacmak/lib/targets/dotnet/dotnetdocgenerator.ts b/packages/jsii-pacmak/lib/targets/dotnet/dotnetdocgenerator.ts index d7170d00d4..4d203209be 100644 --- a/packages/jsii-pacmak/lib/targets/dotnet/dotnetdocgenerator.ts +++ b/packages/jsii-pacmak/lib/targets/dotnet/dotnetdocgenerator.ts @@ -72,7 +72,7 @@ export class DotNetDocGenerator { remarks.text('\nexample:\n'); remarks.ele('code') .text('\n// Examples in C# are coming soon.\n') - .text(`${docs.example}\n`) + .text(`${docs.example}\n`); remarks.text('\n'); } @@ -108,7 +108,7 @@ export class DotNetDocGenerator { const xmlstring = xml.end({ allowEmpty: true, pretty: false }); for (const line of xmlstring.split('\n').map(x => x.trim())) { - this.code.line(`/// ${line}`) + this.code.line(`/// ${line}`); } } }