Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove 'Span<T>' reference for NETFX test
  • Loading branch information
Sergio0694 committed Nov 30, 2024
commit 633f32e3caabc9f6d8b1fcdfca93a6c8372b7a6e
Original file line number Diff line number Diff line change
Expand Up @@ -984,16 +984,17 @@ public partial class SampleViewModel : ObservableObject
public async Task InvalidPartialPropertyLevelObservablePropertyAttributeAnalyzer_ReturnsByRefLike_Warns()
{
const string source = """
using System;
using CommunityToolkit.Mvvm.ComponentModel;

namespace MyApp
{
public partial class SampleViewModel : ObservableObject
{
[{|MVVMTK0054:ObservableProperty|}]
public partial Span<char> {|CS9248:Name|} { get; set; }
public partial RefStruct {|CS9248:Name|} { get; set; }
}

public ref struct RefStruct;
}
""";

Expand Down