diff options
Diffstat (limited to 'src/WixToolset.Core/CompilerCore.cs')
-rw-r--r-- | src/WixToolset.Core/CompilerCore.cs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/WixToolset.Core/CompilerCore.cs b/src/WixToolset.Core/CompilerCore.cs index 50b88e51..1f6d6329 100644 --- a/src/WixToolset.Core/CompilerCore.cs +++ b/src/WixToolset.Core/CompilerCore.cs | |||
@@ -493,7 +493,6 @@ namespace WixToolset.Core | |||
493 | /// <param name="attribute">The attribute containing the value to get.</param> | 493 | /// <param name="attribute">The attribute containing the value to get.</param> |
494 | /// <param name="emptyRule">A rule for the contents of the value. If the contents do not follow the rule, an error is thrown.</param> | 494 | /// <param name="emptyRule">A rule for the contents of the value. If the contents do not follow the rule, an error is thrown.</param> |
495 | /// <returns>The attribute's value.</returns> | 495 | /// <returns>The attribute's value.</returns> |
496 | [SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes")] | ||
497 | public string GetAttributeValue(SourceLineNumber sourceLineNumbers, XAttribute attribute, EmptyRule emptyRule = EmptyRule.CanBeWhitespaceOnly) | 496 | public string GetAttributeValue(SourceLineNumber sourceLineNumbers, XAttribute attribute, EmptyRule emptyRule = EmptyRule.CanBeWhitespaceOnly) |
498 | { | 497 | { |
499 | return this.parseHelper.GetAttributeValue(sourceLineNumbers, attribute, emptyRule); | 498 | return this.parseHelper.GetAttributeValue(sourceLineNumbers, attribute, emptyRule); |
@@ -505,7 +504,6 @@ namespace WixToolset.Core | |||
505 | /// <param name="sourceLineNumbers">Source line information about the owner element.</param> | 504 | /// <param name="sourceLineNumbers">Source line information about the owner element.</param> |
506 | /// <param name="attribute">The attribute containing the value to get.</param> | 505 | /// <param name="attribute">The attribute containing the value to get.</param> |
507 | /// <returns>A valid code page integer value.</returns> | 506 | /// <returns>A valid code page integer value.</returns> |
508 | [SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes")] | ||
509 | public int GetAttributeCodePageValue(SourceLineNumber sourceLineNumbers, XAttribute attribute) | 507 | public int GetAttributeCodePageValue(SourceLineNumber sourceLineNumbers, XAttribute attribute) |
510 | { | 508 | { |
511 | if (null == attribute) | 509 | if (null == attribute) |
@@ -535,7 +533,6 @@ namespace WixToolset.Core | |||
535 | /// <param name="attribute">The attribute containing the value to get.</param> | 533 | /// <param name="attribute">The attribute containing the value to get.</param> |
536 | /// <param name="onlyAnsi">Whether to allow Unicode (UCS) or UTF code pages.</param> | 534 | /// <param name="onlyAnsi">Whether to allow Unicode (UCS) or UTF code pages.</param> |
537 | /// <returns>A valid code page integer value or variable expression.</returns> | 535 | /// <returns>A valid code page integer value or variable expression.</returns> |
538 | [SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes")] | ||
539 | public string GetAttributeLocalizableCodePageValue(SourceLineNumber sourceLineNumbers, XAttribute attribute, bool onlyAnsi = false) | 536 | public string GetAttributeLocalizableCodePageValue(SourceLineNumber sourceLineNumbers, XAttribute attribute, bool onlyAnsi = false) |
540 | { | 537 | { |
541 | if (null == attribute) | 538 | if (null == attribute) |
@@ -577,7 +574,6 @@ namespace WixToolset.Core | |||
577 | /// <param name="minimum">The minimum legal value.</param> | 574 | /// <param name="minimum">The minimum legal value.</param> |
578 | /// <param name="maximum">The maximum legal value.</param> | 575 | /// <param name="maximum">The maximum legal value.</param> |
579 | /// <returns>The attribute's integer value or a special value if an error occurred during conversion.</returns> | 576 | /// <returns>The attribute's integer value or a special value if an error occurred during conversion.</returns> |
580 | [SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes")] | ||
581 | public int GetAttributeIntegerValue(SourceLineNumber sourceLineNumbers, XAttribute attribute, int minimum, int maximum) | 577 | public int GetAttributeIntegerValue(SourceLineNumber sourceLineNumbers, XAttribute attribute, int minimum, int maximum) |
582 | { | 578 | { |
583 | return this.parseHelper.GetAttributeIntegerValue(sourceLineNumbers, attribute, minimum, maximum); | 579 | return this.parseHelper.GetAttributeIntegerValue(sourceLineNumbers, attribute, minimum, maximum); |
@@ -602,7 +598,6 @@ namespace WixToolset.Core | |||
602 | /// <param name="sourceLineNumbers">Source line information about the owner element.</param> | 598 | /// <param name="sourceLineNumbers">Source line information about the owner element.</param> |
603 | /// <param name="attribute">The attribute containing the value to get.</param> | 599 | /// <param name="attribute">The attribute containing the value to get.</param> |
604 | /// <returns>Int representation of the date time.</returns> | 600 | /// <returns>Int representation of the date time.</returns> |
605 | [SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes")] | ||
606 | public int GetAttributeDateTimeValue(SourceLineNumber sourceLineNumbers, XAttribute attribute) | 601 | public int GetAttributeDateTimeValue(SourceLineNumber sourceLineNumbers, XAttribute attribute) |
607 | { | 602 | { |
608 | if (null == attribute) | 603 | if (null == attribute) |
@@ -748,7 +743,6 @@ namespace WixToolset.Core | |||
748 | /// <param name="sourceLineNumbers">Source line information about the owner element.</param> | 743 | /// <param name="sourceLineNumbers">Source line information about the owner element.</param> |
749 | /// <param name="attribute">The attribute containing the value to get.</param> | 744 | /// <param name="attribute">The attribute containing the value to get.</param> |
750 | /// <returns>The attribute's YesNoDefaultType value.</returns> | 745 | /// <returns>The attribute's YesNoDefaultType value.</returns> |
751 | [SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes")] | ||
752 | public YesNoDefaultType GetAttributeYesNoDefaultValue(SourceLineNumber sourceLineNumbers, XAttribute attribute) | 746 | public YesNoDefaultType GetAttributeYesNoDefaultValue(SourceLineNumber sourceLineNumbers, XAttribute attribute) |
753 | { | 747 | { |
754 | return this.parseHelper.GetAttributeYesNoDefaultValue(sourceLineNumbers, attribute); | 748 | return this.parseHelper.GetAttributeYesNoDefaultValue(sourceLineNumbers, attribute); |
@@ -793,7 +787,6 @@ namespace WixToolset.Core | |||
793 | /// <param name="allowWildcards">true if wildcards are allowed in the filename.</param> | 787 | /// <param name="allowWildcards">true if wildcards are allowed in the filename.</param> |
794 | /// <param name="allowRelative">true if relative paths are allowed in the filename.</param> | 788 | /// <param name="allowRelative">true if relative paths are allowed in the filename.</param> |
795 | /// <returns>The attribute's long filename value.</returns> | 789 | /// <returns>The attribute's long filename value.</returns> |
796 | [SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes")] | ||
797 | public string GetAttributeLongFilename(SourceLineNumber sourceLineNumbers, XAttribute attribute, bool allowWildcards = false, bool allowRelative = false) | 790 | public string GetAttributeLongFilename(SourceLineNumber sourceLineNumbers, XAttribute attribute, bool allowWildcards = false, bool allowRelative = false) |
798 | { | 791 | { |
799 | return this.parseHelper.GetAttributeLongFilename(sourceLineNumbers, attribute, allowWildcards, allowRelative); | 792 | return this.parseHelper.GetAttributeLongFilename(sourceLineNumbers, attribute, allowWildcards, allowRelative); |
@@ -817,7 +810,6 @@ namespace WixToolset.Core | |||
817 | /// <param name="attribute">The attribute containing the value to get.</param> | 810 | /// <param name="attribute">The attribute containing the value to get.</param> |
818 | /// <param name="allowHkmu">Whether HKMU is returned as -1 (true), or treated as an error (false).</param> | 811 | /// <param name="allowHkmu">Whether HKMU is returned as -1 (true), or treated as an error (false).</param> |
819 | /// <returns>The attribute's RegisitryRootType value.</returns> | 812 | /// <returns>The attribute's RegisitryRootType value.</returns> |
820 | [SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes")] | ||
821 | public RegistryRootType? GetAttributeRegistryRootValue(SourceLineNumber sourceLineNumbers, XAttribute attribute, bool allowHkmu) | 813 | public RegistryRootType? GetAttributeRegistryRootValue(SourceLineNumber sourceLineNumbers, XAttribute attribute, bool allowHkmu) |
822 | { | 814 | { |
823 | return this.parseHelper.GetAttributeRegistryRootValue(sourceLineNumbers, attribute, allowHkmu); | 815 | return this.parseHelper.GetAttributeRegistryRootValue(sourceLineNumbers, attribute, allowHkmu); |
@@ -829,7 +821,6 @@ namespace WixToolset.Core | |||
829 | /// <param name="sourceLineNumbers">Source line information about the owner element.</param> | 821 | /// <param name="sourceLineNumbers">Source line information about the owner element.</param> |
830 | /// <param name="attribute">The attribute containing the value to get.</param> | 822 | /// <param name="attribute">The attribute containing the value to get.</param> |
831 | /// <returns>The attribute's value.</returns> | 823 | /// <returns>The attribute's value.</returns> |
832 | [SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes")] | ||
833 | public string GetAttributeBundleVariableValue(SourceLineNumber sourceLineNumbers, XAttribute attribute) | 824 | public string GetAttributeBundleVariableValue(SourceLineNumber sourceLineNumbers, XAttribute attribute) |
834 | { | 825 | { |
835 | string value = this.GetAttributeValue(sourceLineNumbers, attribute); | 826 | string value = this.GetAttributeValue(sourceLineNumbers, attribute); |
@@ -852,7 +843,6 @@ namespace WixToolset.Core | |||
852 | /// <param name="sourceLineNumbers">Source line information about the owner element.</param> | 843 | /// <param name="sourceLineNumbers">Source line information about the owner element.</param> |
853 | /// <param name="attribute">The attribute containing the value to get.</param> | 844 | /// <param name="attribute">The attribute containing the value to get.</param> |
854 | /// <returns>The attribute's value.</returns> | 845 | /// <returns>The attribute's value.</returns> |
855 | [SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes")] | ||
856 | public string GetAttributeMsiPropertyNameValue(SourceLineNumber sourceLineNumbers, XAttribute attribute) | 846 | public string GetAttributeMsiPropertyNameValue(SourceLineNumber sourceLineNumbers, XAttribute attribute) |
857 | { | 847 | { |
858 | string value = this.GetAttributeValue(sourceLineNumbers, attribute); | 848 | string value = this.GetAttributeValue(sourceLineNumbers, attribute); |
@@ -885,7 +875,6 @@ namespace WixToolset.Core | |||
885 | /// <param name="prefix">Three letter or less prefix for generated row identifier.</param> | 875 | /// <param name="prefix">Three letter or less prefix for generated row identifier.</param> |
886 | /// <param name="args">Information to hash.</param> | 876 | /// <param name="args">Information to hash.</param> |
887 | /// <returns>The generated identifier.</returns> | 877 | /// <returns>The generated identifier.</returns> |
888 | [SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", MessageId = "System.InvalidOperationException.#ctor(System.String)")] | ||
889 | public Identifier CreateIdentifier(string prefix, params string[] args) | 878 | public Identifier CreateIdentifier(string prefix, params string[] args) |
890 | { | 879 | { |
891 | return this.parseHelper.CreateIdentifier(prefix, args); | 880 | return this.parseHelper.CreateIdentifier(prefix, args); |