Skip to content

Commit 301e012

Browse files
authored
Fix for<inheritdoc/> not respected by IntelliSense (#262)
* Fix for<inheritdoc/> not respected by IntelliSense * Update Attributes to add global::System to other elements * Update Tests * Delete OAPFromObservableGeneratorTests.FromObservableMethodsWithName#ReactiveUI.SourceGenerators.ObservableAsPropertyAttribute.g.received.cs
1 parent 38f6494 commit 301e012

File tree

70 files changed

+129
-48
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+129
-48
lines changed

src/ReactiveUI.SourceGenerator.Tests/DERIVEDLIST/BindableDerivedListGeneratorTests.FromReactiveProperties#ReactiveUI.SourceGenerators.BindableDerivedListAttribute.g.verified.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ namespace ReactiveUI.SourceGenerators;
1313
/// ReactiveAttribute.
1414
/// </summary>
1515
/// <seealso cref="Attribute" />
16-
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
16+
[global::System.CodeDom.Compiler.GeneratedCode("ReactiveUI.SourceGenerators.ReactiveGenerator", "2.2.0.0")]
17+
[global::System.AttributeUsage(global::System.AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
1718
internal sealed class BindableDerivedListAttribute : global::System.Attribute;
1819
#nullable restore
1920
#pragma warning restore

src/ReactiveUI.SourceGenerator.Tests/OAPH/OAPFromObservableGeneratorTests.FromField#ReactiveUI.SourceGenerators.ObservableAsPropertyAttribute.g.verified.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ namespace ReactiveUI.SourceGenerators;
1313
/// ObservableAsPropertyAttribute.
1414
/// </summary>
1515
/// <seealso cref="Attribute" />
16-
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
16+
[global::System.CodeDom.Compiler.GeneratedCode("ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator", "1.1.0.0")]
17+
[global::System.AttributeUsage(global::System.AttributeTargets.Field | global::System.AttributeTargets.Property | global::System.AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
1718
internal sealed class ObservableAsPropertyAttribute : global::System.Attribute
1819
{
1920
/// <summary>

src/ReactiveUI.SourceGenerator.Tests/OAPH/OAPFromObservableGeneratorTests.FromField#TestNs.TestVM.ObservableAsProperties.g.verified.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public partial class TestVM
1313
private readonly ReactiveUI.ObservableAsPropertyHelper<double?> _testPropertyHelper;
1414

1515
/// <inheritdoc cref="_testProperty"/>
16+
[global::System.CodeDom.Compiler.GeneratedCode("ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator", "2.2.0.0")]
1617
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
1718
[global::System.Runtime.Serialization.DataMemberAttribute()]
1819
[global::System.Text.Json.Serialization.JsonIncludeAttribute()]

src/ReactiveUI.SourceGenerator.Tests/OAPH/OAPFromObservableGeneratorTests.FromObservableMethods#ReactiveUI.SourceGenerators.ObservableAsPropertyAttribute.g.verified.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ namespace ReactiveUI.SourceGenerators;
1313
/// ObservableAsPropertyAttribute.
1414
/// </summary>
1515
/// <seealso cref="Attribute" />
16-
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
16+
[global::System.CodeDom.Compiler.GeneratedCode("ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator", "1.1.0.0")]
17+
[global::System.AttributeUsage(global::System.AttributeTargets.Field | global::System.AttributeTargets.Property | global::System.AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
1718
internal sealed class ObservableAsPropertyAttribute : global::System.Attribute
1819
{
1920
/// <summary>

src/ReactiveUI.SourceGenerator.Tests/OAPH/OAPFromObservableGeneratorTests.FromObservableMethods#TestNs.TestVM.ObservableAsPropertyFromObservable.g.verified.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ public partial class TestVM
1919
private ReactiveUI.ObservableAsPropertyHelper<int>? _test2PropertyHelper;
2020

2121
/// <inheritdoc cref="_test2Property"/>
22+
[global::System.CodeDom.Compiler.GeneratedCode("ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator", "2.2.0.0")]
2223
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
2324
public int Test2Property { get => _test2Property = _test2PropertyHelper?.Value ?? _test2Property; }
2425

26+
[global::System.CodeDom.Compiler.GeneratedCode("ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator", "2.2.0.0")]
2527
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
2628
protected void InitializeOAPH()
2729
{

src/ReactiveUI.SourceGenerator.Tests/OAPH/OAPFromObservableGeneratorTests.FromObservableMethodsWithName#ReactiveUI.SourceGenerators.ObservableAsPropertyAttribute.g.verified.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ namespace ReactiveUI.SourceGenerators;
1313
/// ObservableAsPropertyAttribute.
1414
/// </summary>
1515
/// <seealso cref="Attribute" />
16-
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
16+
[global::System.CodeDom.Compiler.GeneratedCode("ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator", "1.1.0.0")]
17+
[global::System.AttributeUsage(global::System.AttributeTargets.Field | global::System.AttributeTargets.Property | global::System.AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
1718
internal sealed class ObservableAsPropertyAttribute : global::System.Attribute
1819
{
1920
/// <summary>

src/ReactiveUI.SourceGenerator.Tests/OAPH/OAPFromObservableGeneratorTests.FromObservableMethodsWithName#TestNs.TestVM.ObservableAsPropertyFromObservable.g.verified.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ public partial class TestVM
1919
private ReactiveUI.ObservableAsPropertyHelper<int>? _test3PropertyHelper;
2020

2121
/// <inheritdoc cref="_test3Property"/>
22+
[global::System.CodeDom.Compiler.GeneratedCode("ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator", "2.2.0.0")]
2223
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
2324
public int Test3Property { get => _test3Property = _test3PropertyHelper?.Value ?? _test3Property; }
2425

26+
[global::System.CodeDom.Compiler.GeneratedCode("ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator", "2.2.0.0")]
2527
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
2628
protected void InitializeOAPH()
2729
{

src/ReactiveUI.SourceGenerator.Tests/OAPH/OAPFromObservableGeneratorTests.FromObservableProp#ReactiveUI.SourceGenerators.ObservableAsPropertyAttribute.g.verified.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ namespace ReactiveUI.SourceGenerators;
1313
/// ObservableAsPropertyAttribute.
1414
/// </summary>
1515
/// <seealso cref="Attribute" />
16-
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
16+
[global::System.CodeDom.Compiler.GeneratedCode("ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator", "1.1.0.0")]
17+
[global::System.AttributeUsage(global::System.AttributeTargets.Field | global::System.AttributeTargets.Property | global::System.AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
1718
internal sealed class ObservableAsPropertyAttribute : global::System.Attribute
1819
{
1920
/// <summary>

src/ReactiveUI.SourceGenerator.Tests/OAPH/OAPFromObservableGeneratorTests.FromObservableProp#TestNs.TestVM.ObservableAsPropertyFromObservable.g.verified.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ public partial class TestVM
1919
private ReactiveUI.ObservableAsPropertyHelper<int>? _test1PropertyHelper;
2020

2121
/// <inheritdoc cref="_test1Property"/>
22+
[global::System.CodeDom.Compiler.GeneratedCode("ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator", "2.2.0.0")]
2223
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
2324
public int Test1Property { get => _test1Property = _test1PropertyHelper?.Value ?? _test1Property; }
2425

26+
[global::System.CodeDom.Compiler.GeneratedCode("ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator", "2.2.0.0")]
2527
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
2628
protected void InitializeOAPH()
2729
{

src/ReactiveUI.SourceGenerator.Tests/OAPH/OAPFromObservableGeneratorTests.FromObservablePropNestedClasses#ReactiveUI.SourceGenerators.ObservableAsPropertyAttribute.g.verified.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ namespace ReactiveUI.SourceGenerators;
1313
/// ObservableAsPropertyAttribute.
1414
/// </summary>
1515
/// <seealso cref="Attribute" />
16-
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
16+
[global::System.CodeDom.Compiler.GeneratedCode("ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator", "1.1.0.0")]
17+
[global::System.AttributeUsage(global::System.AttributeTargets.Field | global::System.AttributeTargets.Property | global::System.AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
1718
internal sealed class ObservableAsPropertyAttribute : global::System.Attribute
1819
{
1920
/// <summary>

0 commit comments

Comments
 (0)