Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgangzhang-ms <gangzhang@microsoft.com>2022-11-08 12:03:47 +0300
committergangzhang-ms <gangzhang@microsoft.com>2022-11-08 12:03:47 +0300
commit5f161be22c6642a17fd69663fc8743f944e57f3d (patch)
tree0c2a15b00edf7c87aa9fa26615660f6fcacc8268
parent904ac8a1df3bd62faf186282f17b9bc1dea3af9b (diff)
renaminggz-scoped
-rw-r--r--mdoc/mdoc.Test/FormatterTests.cs4
-rw-r--r--mdoc/mdoc.Test/SampleClasses/SomeClass.cs2
2 files changed, 3 insertions, 3 deletions
diff --git a/mdoc/mdoc.Test/FormatterTests.cs b/mdoc/mdoc.Test/FormatterTests.cs
index d2ff95a3..4c4ca8ca 100644
--- a/mdoc/mdoc.Test/FormatterTests.cs
+++ b/mdoc/mdoc.Test/FormatterTests.cs
@@ -271,8 +271,8 @@ namespace mdoc.Test
Assert.AreEqual(expectedSignature, actualSignature);
}
- [TestCase(typeof(SomeClass), "TestScopedKeyword", "public ref T TestScopedKeyword<T> (scoped in T p1, out T p2, scoped ref T p3);")]
- public void CSharpScopeParamTest(Type type, string methodName, string expectedSignature)
+ [TestCase(typeof(SomeClass), "TestScopedParams", "public ref T TestScopedParams<T> (scoped in T p1, out T p2, scoped ref T p3);")]
+ public void CSharpScopedParamsTest(Type type, string methodName, string expectedSignature)
{
var member = GetMethod(type, m => m.Name == methodName);
var actualSignature = formatter.GetDeclaration(member);
diff --git a/mdoc/mdoc.Test/SampleClasses/SomeClass.cs b/mdoc/mdoc.Test/SampleClasses/SomeClass.cs
index 09019a7c..7e7d2dae 100644
--- a/mdoc/mdoc.Test/SampleClasses/SomeClass.cs
+++ b/mdoc/mdoc.Test/SampleClasses/SomeClass.cs
@@ -99,7 +99,7 @@ namespace mdoc.Test.SampleClasses
{
}
- public ref T TestScopedKeyword<T>(scoped in T p1, scoped out T p2, scoped ref T p3)
+ public ref T TestScopedParams<T>(scoped in T p1, scoped out T p2, scoped ref T p3)
{
throw new PlatformNotSupportedException();
}