Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 3 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2008,11 +2008,10 @@ dotnet_diagnostic.SES1710.severity = error # Antiforgery validation is disabled


###################
# Microsoft.CodeAnalysis.PublicApiAnalyzers (RS)
# Public API surface tracking (PAS)
###################
# Public API surface tracking
dotnet_diagnostic.RS0016.severity = error # public symbol missing from the PublicAPI baseline
dotnet_diagnostic.RS0017.severity = error # PublicAPI baseline entry no longer in source
# PAS0001/PAS0002/PAS0003/PAS0005 are errors by default and need no entry here.
dotnet_diagnostic.PAS0004.severity = warning # no public API baseline for this target framework

###################
# Microsoft.NET.ILLink.Analyzers (IL)
Expand Down
15 changes: 10 additions & 5 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,20 @@
</ItemGroup>

<PropertyGroup>
<!-- Public-API tracking (RS0016/RS0017/RS0037). Re-enabled now the System.Reactive→Primitives seam
split has landed; baselines are regenerated with tools/generate-publicapi.*. tests/benchmarks/examples
stay off via their own Directory.Build.props. -->
<!-- Public-API tracking: one always-current PublicAPI.txt per TFM. Regenerate by running
`dotnet format analyzers` over the project for a single target framework, restricted to the
PAS0001 and PAS0003 diagnostics at severity info. -->
<TrackPublicApi Condition="'$(TrackPublicApi)' == ''">true</TrackPublicApi>
<TrackPublicApi Condition="'$(IsTestProject)' == 'true'">false</TrackPublicApi>
<!-- The WPF markup pass generates <Project>_<hash>_wpftmp.csproj in the real project's
directory, so it resolves the same baseline path and would overwrite it. -->
<TrackPublicApi Condition="$(MSBuildProjectName.EndsWith('_wpftmp'))">false</TrackPublicApi>
<EnablePublicApiBaseline>$(TrackPublicApi)</EnablePublicApiBaseline>
</PropertyGroup>
<!-- The package's own targets resolve PublicAPI/$(TargetFramework)/PublicAPI.txt per inner build
and add it to @(AdditionalFiles), so multi-targeting needs no wiring here. -->
<ItemGroup Condition="'$(TrackPublicApi)' == 'true'">
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" PrivateAssets="all" />
<AdditionalFiles Include="$(MSBuildProjectDirectory)\PublicAPI\$(TargetFramework)\PublicAPI.*.txt" />
<PackageReference Include="PublicApiSharp.Analyzers" PrivateAssets="all" />
</ItemGroup>

<ItemGroup Condition="'$(IsTestProject)' != 'true'">
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<PackageVersion Include="SonarAnalyzer.CSharp" Version="10.31.0.145097"/>
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="5.6.0"/>
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="5.6.0"/>
<PackageVersion Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="5.6.0"/>
<PackageVersion Include="PublicApiSharp.Analyzers" Version="1.0.5"/>
</ItemGroup>

<ItemGroup Label="Build / SourceLink / Versioning">
Expand Down

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

225 changes: 225 additions & 0 deletions src/ReactiveUI.AndroidX/PublicAPI/net10.0-android36.0/PublicAPI.txt

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

225 changes: 225 additions & 0 deletions src/ReactiveUI.AndroidX/PublicAPI/net11.0-android37/PublicAPI.txt

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

88 changes: 88 additions & 0 deletions src/ReactiveUI.Blazor.Reactive/PublicAPI/net10.0/PublicAPI.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
namespace ReactiveUI.Reactive.Blazor
{
public class PlatformOperations : ReactiveUI.IPlatformOperations
{
public PlatformOperations() { }
public string? GetOrientation() { }
}
public class ReactiveComponentBase<T> : Microsoft.AspNetCore.Components.ComponentBase, ReactiveUI.IViewFor<T>, ReactiveUI.Reactive.ICanActivate, System.ComponentModel.INotifyPropertyChanged, System.IDisposable where T : class, System.ComponentModel.INotifyPropertyChanged
{
public ReactiveComponentBase() { }
public System.IObservable<System.Reactive.Unit> Activated { get; }
public System.IObservable<System.Reactive.Unit> Deactivated { get; }
object? ReactiveUI.IViewFor.ViewModel { get; set; }
[Microsoft.AspNetCore.Components.Parameter]
public T? ViewModel { get; set; }
public event System.ComponentModel.PropertyChangedEventHandler? PropertyChanged;
public void Dispose() { }
protected virtual void Dispose(bool disposing) { }
protected override void OnAfterRender(bool firstRender) { }
protected override void OnInitialized() { }
protected virtual void OnPropertyChanged(string? propertyName = null) { }
}
public class ReactiveInjectableComponentBase<T> : Microsoft.AspNetCore.Components.ComponentBase, ReactiveUI.IViewFor<T>, ReactiveUI.Reactive.ICanActivate, System.ComponentModel.INotifyPropertyChanged, System.IDisposable where T : class, System.ComponentModel.INotifyPropertyChanged
{
public ReactiveInjectableComponentBase() { }
public System.IObservable<System.Reactive.Unit> Activated { get; }
public System.IObservable<System.Reactive.Unit> Deactivated { get; }
object? ReactiveUI.IViewFor.ViewModel { get; set; }
[Microsoft.AspNetCore.Components.Inject]
public T? ViewModel { get; set; }
public event System.ComponentModel.PropertyChangedEventHandler? PropertyChanged;
public void Dispose() { }
protected virtual void Dispose(bool disposing) { }
protected override void OnAfterRender(bool firstRender) { }
protected override void OnInitialized() { }
protected virtual void OnPropertyChanged(string? propertyName = null) { }
}
public class ReactiveLayoutComponentBase<T> : Microsoft.AspNetCore.Components.LayoutComponentBase, ReactiveUI.IViewFor<T>, ReactiveUI.Reactive.ICanActivate, System.ComponentModel.INotifyPropertyChanged, System.IDisposable where T : class, System.ComponentModel.INotifyPropertyChanged
{
public ReactiveLayoutComponentBase() { }
public System.IObservable<System.Reactive.Unit> Activated { get; }
public System.IObservable<System.Reactive.Unit> Deactivated { get; }
object? ReactiveUI.IViewFor.ViewModel { get; set; }
[Microsoft.AspNetCore.Components.Parameter]
public T? ViewModel { get; set; }
public event System.ComponentModel.PropertyChangedEventHandler? PropertyChanged;
public void Dispose() { }
protected virtual void Dispose(bool disposing) { }
protected override void OnAfterRender(bool firstRender) { }
protected override void OnInitialized() { }
protected virtual void OnPropertyChanged(string? propertyName = null) { }
}
public class ReactiveOwningComponentBase<T> : Microsoft.AspNetCore.Components.OwningComponentBase<T>, ReactiveUI.IViewFor<T>, ReactiveUI.Reactive.ICanActivate, System.ComponentModel.INotifyPropertyChanged where T : class, System.ComponentModel.INotifyPropertyChanged
{
public ReactiveOwningComponentBase() { }
public System.IObservable<System.Reactive.Unit> Activated { get; }
public System.IObservable<System.Reactive.Unit> Deactivated { get; }
object? ReactiveUI.IViewFor.ViewModel { get; set; }
[Microsoft.AspNetCore.Components.Parameter]
public T? ViewModel { get; set; }
public event System.ComponentModel.PropertyChangedEventHandler? PropertyChanged;
protected override void Dispose(bool disposing) { }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("OnAfterRender wires reactive subscriptions that may not be trimming-safe in all environments.")]
protected override void OnAfterRender(bool firstRender) { }
protected override void OnInitialized() { }
protected virtual void OnPropertyChanged(string? propertyName = null) { }
}
public class Registrations : ReactiveUI.IWantsToRegisterStuff
{
public Registrations() { }
public void Register(ReactiveUI.IRegistrar registrar) { }
}
}
namespace ReactiveUI.Reactive.Builder
{
public static class BlazorReactiveUIBuilderExtensions
{
public static System.Reactive.Concurrency.IScheduler BlazorMainThreadScheduler { get; }
public static System.Reactive.Concurrency.IScheduler BlazorWasmScheduler { get; }
extension(ReactiveUI.Reactive.Builder.IReactiveUIBuilder builder)
{
public ReactiveUI.Reactive.Builder.IReactiveUIBuilder WithBlazor() { }
public ReactiveUI.Reactive.Builder.IReactiveUIBuilder WithBlazorScheduler() { }
public ReactiveUI.Reactive.Builder.IReactiveUIBuilder WithBlazorWasm() { }
public ReactiveUI.Reactive.Builder.IReactiveUIBuilder WithBlazorWasmScheduler() { }
}
}
}
Loading
Loading