diff options
Diffstat (limited to 'src/test/Example.Extension')
| -rw-r--r-- | src/test/Example.Extension/ExampleCompilerExtension.cs | 5 | ||||
| -rw-r--r-- | src/test/Example.Extension/ExampleTuple.cs | 3 | ||||
| -rw-r--r-- | src/test/Example.Extension/ExampleTupleDefinitions.cs | 1 |
3 files changed, 3 insertions, 6 deletions
diff --git a/src/test/Example.Extension/ExampleCompilerExtension.cs b/src/test/Example.Extension/ExampleCompilerExtension.cs index 52168adc..e821b7b6 100644 --- a/src/test/Example.Extension/ExampleCompilerExtension.cs +++ b/src/test/Example.Extension/ExampleCompilerExtension.cs | |||
| @@ -88,9 +88,8 @@ namespace Example.Extension | |||
| 88 | 88 | ||
| 89 | if (!this.Messaging.EncounteredError) | 89 | if (!this.Messaging.EncounteredError) |
| 90 | { | 90 | { |
| 91 | var tuple = this.ParseHelper.CreateTuple(section, sourceLineNumbers, "Example"); | 91 | var tuple = this.ParseHelper.CreateTuple(section, sourceLineNumbers, "Example", id); |
| 92 | tuple.Set(0, id.Id); | 92 | tuple.Set(0, value); |
| 93 | tuple.Set(1, value); | ||
| 94 | } | 93 | } |
| 95 | } | 94 | } |
| 96 | 95 | ||
diff --git a/src/test/Example.Extension/ExampleTuple.cs b/src/test/Example.Extension/ExampleTuple.cs index 0fc0d82c..f2bcb925 100644 --- a/src/test/Example.Extension/ExampleTuple.cs +++ b/src/test/Example.Extension/ExampleTuple.cs | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. |
| 2 | 2 | ||
| 3 | namespace Example.Extension | 3 | namespace Example.Extension |
| 4 | { | 4 | { |
| @@ -6,7 +6,6 @@ namespace Example.Extension | |||
| 6 | 6 | ||
| 7 | public enum ExampleTupleFields | 7 | public enum ExampleTupleFields |
| 8 | { | 8 | { |
| 9 | Example, | ||
| 10 | Value, | 9 | Value, |
| 11 | } | 10 | } |
| 12 | 11 | ||
diff --git a/src/test/Example.Extension/ExampleTupleDefinitions.cs b/src/test/Example.Extension/ExampleTupleDefinitions.cs index a9771509..dd8b5bbf 100644 --- a/src/test/Example.Extension/ExampleTupleDefinitions.cs +++ b/src/test/Example.Extension/ExampleTupleDefinitions.cs | |||
| @@ -13,7 +13,6 @@ namespace Example.Extension | |||
| 13 | ExampleName, | 13 | ExampleName, |
| 14 | new[] | 14 | new[] |
| 15 | { | 15 | { |
| 16 | new IntermediateFieldDefinition(nameof(ExampleTupleFields.Example), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(ExampleTupleFields.Value), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ExampleTupleFields.Value), IntermediateFieldType.String), |
| 18 | }, | 17 | }, |
| 19 | typeof(ExampleTuple)); | 18 | typeof(ExampleTuple)); |
