Skip to content

Commit be9d501

Browse files
committed
Updated Microsoft.CodeAnalysis.CSharp
1 parent 5e8d99c commit be9d501

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

Diff for: src/CodeGeneration/CodeGeneration.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
<!-- Dependencies -->
3737
<ItemGroup>
38-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.8.0" />
38+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.9.0" />
3939
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
4040
</ItemGroup>
4141

Diff for: src/UnitTests/CSharpClassFacts.cs

+1-7
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,7 @@ public MyClass(IEndpoint referrer): base(referrer, relativeUri: ""./sample"")
8585
/// <summary>
8686
/// My other property
8787
/// </summary>
88-
public MyInterface<MyModel> MyOtherProperty
89-
{
90-
get;
91-
set;
92-
}
93-
94-
= new OtherClass<MyModel>(this, arg2: ""value"");
88+
public MyInterface<MyModel> MyOtherProperty { get; set; } = new OtherClass<MyModel>(this, arg2: ""value"");
9589
}
9690
}");
9791
}

Diff for: src/UnitTests/CSharpInterfaceFacts.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,7 @@ public partial interface MyInterface : BaseInterface
5050
/// My property
5151
/// </summary>
5252
[Dummy(""myValue"", Extra = ""extra"")]
53-
ICollectionEndpoint<MyModel> MyProperty
54-
{
55-
get;
56-
}
53+
ICollectionEndpoint<MyModel> MyProperty { get; }
5754
}
5855
}");
5956
}

0 commit comments

Comments
 (0)