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

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateo Torres-Ruiz <mateoatr@users.noreply.github.com>2021-09-16 22:32:11 +0300
committerGitHub <noreply@github.com>2021-09-16 22:32:11 +0300
commit7c88b9ba691d65014934637acfec27f1a985cea9 (patch)
treeadff5fe513b8b3299da0b1585dd85ffa975cd628
parentbe8ec96d897e0817cb89578405c154b4f9252ac5 (diff)
Change occurrences of 'mono/linker' to 'dotnet/linker' (#2277)
-rw-r--r--.github/CONTRIBUTING.md2
-rw-r--r--Directory.Build.props2
-rw-r--r--README.md4
-rw-r--r--docs/error-codes.md2
-rw-r--r--eng/azure-pipelines.yml2
-rw-r--r--src/ILLink.Tasks/LinkTask.cs2
-rw-r--r--src/linker/Linker.Dataflow/ReflectionMethodBodyScanner.cs2
-rw-r--r--src/linker/Linker.Steps/LinkAttributesParser.cs2
-rw-r--r--src/linker/Linker.Steps/MarkStep.cs8
-rw-r--r--src/linker/Linker.Steps/ProcessLinkerXmlBase.cs2
-rw-r--r--src/linker/Linker.Steps/SweepStep.cs2
-rw-r--r--src/linker/Linker.Steps/UnreachableBlocksOptimizer.cs2
-rw-r--r--src/linker/Linker/Driver.cs4
-rw-r--r--src/linker/Linker/DynamicDependency.cs2
-rw-r--r--src/linker/Linker/LinkContext.cs8
-rw-r--r--src/linker/Linker/MessageContainer.cs4
-rw-r--r--test/Mono.Linker.Tests.Cases/DataFlow/AnnotatedMembersAccessedViaReflection.cs2
-rw-r--r--test/Mono.Linker.Tests.Cases/DataFlow/MethodReturnParameterDataFlow.cs2
-rw-r--r--test/Mono.Linker.Tests.Cases/DataFlow/PropertyDataFlow.cs2
-rw-r--r--test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyMethod.cs2
-rw-r--r--test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyMethodInNonReferencedAssemblyWithSweptReferences.cs2
-rw-r--r--test/Mono.Linker.Tests.Cases/Reflection/ActivatorCreateInstance.cs2
-rw-r--r--test/Mono.Linker.Tests.Cases/Reflection/AssemblyImportedViaReflectionWithSweptReferences.cs2
-rw-r--r--test/Mono.Linker.Tests.Cases/Reflection/ObjectGetType.cs10
-rw-r--r--test/Mono.Linker.Tests.Cases/Reflection/TypeHierarchyReflectionWarnings.cs2
-rw-r--r--test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresUnreferencedCodeCapability.cs22
-rw-r--r--test/Mono.Linker.Tests.Cases/TypeForwarding/SecurityAttributeScope.cs2
-rw-r--r--test/Mono.Linker.Tests.Cases/TypeForwarding/UsedForwarderInGenericIsDynamicallyAccessedWithAssemblyCopyUsed.cs2
-rw-r--r--test/Mono.Linker.Tests/Tests/DocumentationSignatureParserTests.cs2
29 files changed, 52 insertions, 52 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 46952df8f..18c8acf89 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -21,7 +21,7 @@ investigate bugs, regressions and problems.
License
=======
-Check the [LICENSE](https://github.com/mono/linker/blob/main/LICENSE) file.
+Check the [LICENSE](https://github.com/dotnet/linker/blob/main/LICENSE) file.
CLA
=======
diff --git a/Directory.Build.props b/Directory.Build.props
index 5d480a85c..d5d229fdb 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -19,7 +19,7 @@
<PropertyGroup>
<IsPackable>false</IsPackable>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
- <RepositoryUrl>https://github.com/mono/linker</RepositoryUrl>
+ <RepositoryUrl>https://github.com/dotnet/linker</RepositoryUrl>
<_ToolsProjectTargets>$(ArtifactsToolsetDir)Common\Tools.proj.nuget.g.targets</_ToolsProjectTargets>
<!-- Set this to true to build against the package instead of the submodule. -->
<UseCecilPackage Condition="'$(UseCecilPackage)' == ''">false</UseCecilPackage>
diff --git a/README.md b/README.md
index 1d00ea5a6..7ec418620 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ Another tool available for developers is implemented as [Roslyn Analyzer](src/IL
# Contributing
-We welcome contributions! Many developers have helped make this project better by reporting [issues](https://github.com/mono/linker/issues) or contributing [pull requests](https://github.com/mono/linker/pulls).
+We welcome contributions! Many developers have helped make this project better by reporting [issues](https://github.com/dotnet/linker/issues) or contributing [pull requests](https://github.com/dotnet/linker/pulls).
## How to build all projects
@@ -44,4 +44,4 @@ The same script can be used to run all tests from the terminal. We also have int
## CI Build & Test Status
-[![Build Status](https://dev.azure.com/dnceng/public/_apis/build/status/mono/linker-ci?branchName=main)](https://dev.azure.com/dnceng/public/_build/latest?definitionId=364&branchName=main)
+[![Build Status](https://dev.azure.com/dnceng/public/_apis/build/status/dotnet/linker-ci?branchName=main)](https://dev.azure.com/dnceng/public/_build/latest?definitionId=364&branchName=main)
diff --git a/docs/error-codes.md b/docs/error-codes.md
index 0d4b014b5..6e4e7e62e 100644
--- a/docs/error-codes.md
+++ b/docs/error-codes.md
@@ -49,7 +49,7 @@ the error code. For example:
- There was an error writing the linked assembly 'output'. An exception with more details is printed.
-#### `IL1012`: IL Linker has encountered an unexpected error. Please report the issue at https://github.com/mono/linker/issues
+#### `IL1012`: IL Linker has encountered an unexpected error. Please report the issue at https://github.com/dotnet/linker/issues
- There was an unexpected error while trimming. An exception with more details is printed to the MSBuild log. Please share this stack trace with the IL Linker team to further investigate the cause and possible solution.
diff --git a/eng/azure-pipelines.yml b/eng/azure-pipelines.yml
index 6335ac0b2..3b3bc10c0 100644
--- a/eng/azure-pipelines.yml
+++ b/eng/azure-pipelines.yml
@@ -37,7 +37,7 @@ stages:
parameters:
enableTelemetry: true # send helix telemetry
- helixRepo: mono/linker
+ helixRepo: dotnet/linker
enablePublishUsingPipelines: true
enablePublishBuildArtifacts: true # publish build logs to pipeline storage
${{ if eq(variables.officialBuild, 'false') }}:
diff --git a/src/ILLink.Tasks/LinkTask.cs b/src/ILLink.Tasks/LinkTask.cs
index 93dfe755a..da0df0727 100644
--- a/src/ILLink.Tasks/LinkTask.cs
+++ b/src/ILLink.Tasks/LinkTask.cs
@@ -96,7 +96,7 @@ namespace ILLink.Tasks
/// <summary>
/// A list of XML root descriptor files specifying linker
- /// roots at a granular level. See the mono/linker
+ /// roots at a granular level. See the dotnet/linker
/// documentation for details about the format.
/// Maps to '-x'.
/// </summary>
diff --git a/src/linker/Linker.Dataflow/ReflectionMethodBodyScanner.cs b/src/linker/Linker.Dataflow/ReflectionMethodBodyScanner.cs
index c57a14b70..d91d05868 100644
--- a/src/linker/Linker.Dataflow/ReflectionMethodBodyScanner.cs
+++ b/src/linker/Linker.Dataflow/ReflectionMethodBodyScanner.cs
@@ -1672,7 +1672,7 @@ namespace Mono.Linker.Dataflow
// CreateInstance (string typeName, bool ignoreCase, BindingFlags bindingAttr, Binder? binder, object []? args, CultureInfo? culture, object []? activationAttributes)
//
case IntrinsicId.Assembly_CreateInstance:
- // For now always fail since we don't track assemblies (mono/linker/issues/1947)
+ // For now always fail since we don't track assemblies (dotnet/linker/issues/1947)
reflectionContext.AnalyzingPattern ();
reflectionContext.RecordUnrecognizedPattern (2058, $"Parameters passed to method '{calledMethodDefinition.GetDisplayName ()}' cannot be analyzed. Consider using methods 'System.Type.GetType' and `System.Activator.CreateInstance` instead.");
break;
diff --git a/src/linker/Linker.Steps/LinkAttributesParser.cs b/src/linker/Linker.Steps/LinkAttributesParser.cs
index a7f24b176..a31463ddb 100644
--- a/src/linker/Linker.Steps/LinkAttributesParser.cs
+++ b/src/linker/Linker.Steps/LinkAttributesParser.cs
@@ -287,7 +287,7 @@ namespace Mono.Linker.Steps
return new CustomAttributeArgument (typeref, type);
default:
- // No support for null and arrays, consider adding - mono/linker/issues/1957
+ // No support for null and arrays, consider adding - dotnet/linker/issues/1957
_context.LogError ($"Unexpected attribute argument type '{typeref.GetDisplayName ()}'.", 1045);
return null;
}
diff --git a/src/linker/Linker.Steps/MarkStep.cs b/src/linker/Linker.Steps/MarkStep.cs
index f21957c49..6ff4d0628 100644
--- a/src/linker/Linker.Steps/MarkStep.cs
+++ b/src/linker/Linker.Steps/MarkStep.cs
@@ -558,7 +558,7 @@ namespace Mono.Linker.Steps
void DiscoverDynamicCastableImplementationInterfaces ()
{
- // We could potentially avoid loading all references here: https://github.com/mono/linker/issues/1788
+ // We could potentially avoid loading all references here: https://github.com/dotnet/linker/issues/1788
foreach (var assembly in _context.GetReferencedAssemblies ().ToArray ()) {
switch (Annotations.GetAction (assembly)) {
// We only need to search assemblies where we don't mark everything
@@ -1713,7 +1713,7 @@ namespace Mono.Linker.Steps
// Marking the property itself actually doesn't keep it (it only marks its attributes and records the dependency), we have to mark the methods on it
MarkProperty (property, reason);
// We don't track PropertyInfo, so we can't tell if any accessor is needed by the app, so include them both.
- // With better tracking it might be possible to be more precise here: mono/linker/issues/1948
+ // With better tracking it might be possible to be more precise here: dotnet/linker/issues/1948
MarkMethodIfNotNull (property.GetMethod, reason);
MarkMethodIfNotNull (property.SetMethod, reason);
MarkMethodsIf (property.OtherMethods, m => true, reason);
@@ -2114,7 +2114,7 @@ namespace Mono.Linker.Steps
while (type != null) {
// Currently if we don't understand the DebuggerDisplayAttribute we mark everything on the type
- // This can be improved: mono/linker/issues/1873
+ // This can be improved: dotnet/linker/issues/1873
MarkMethods (type, new DependencyInfo (DependencyKind.KeptForSpecialAttribute, attribute));
MarkFields (type, includeStatic: true, new DependencyInfo (DependencyKind.ReferencedBySpecialAttribute, attribute));
type = _context.TryResolve (type.BaseType);
@@ -2818,7 +2818,7 @@ namespace Mono.Linker.Steps
case DependencyKind.Unspecified:
// Don't warn for methods kept due to non-understood DebuggerDisplayAttribute
- // until https://github.com/mono/linker/issues/1873 is fixed.
+ // until https://github.com/dotnet/linker/issues/1873 is fixed.
case DependencyKind.KeptForSpecialAttribute:
return;
diff --git a/src/linker/Linker.Steps/ProcessLinkerXmlBase.cs b/src/linker/Linker.Steps/ProcessLinkerXmlBase.cs
index 45b6ca16a..45d788d19 100644
--- a/src/linker/Linker.Steps/ProcessLinkerXmlBase.cs
+++ b/src/linker/Linker.Steps/ProcessLinkerXmlBase.cs
@@ -136,7 +136,7 @@ namespace Mono.Linker.Steps
continue;
if (processAllAssemblies) {
- // We could avoid loading all references in this case: https://github.com/mono/linker/issues/1708
+ // We could avoid loading all references in this case: https://github.com/dotnet/linker/issues/1708
foreach (AssemblyDefinition assembly in _context.GetReferencedAssemblies ())
ProcessAssembly (assembly, assemblyNav, warnOnUnresolvedTypes: false);
} else {
diff --git a/src/linker/Linker.Steps/SweepStep.cs b/src/linker/Linker.Steps/SweepStep.cs
index 797b15781..de8b365da 100644
--- a/src/linker/Linker.Steps/SweepStep.cs
+++ b/src/linker/Linker.Steps/SweepStep.cs
@@ -923,7 +923,7 @@ namespace Mono.Linker.Steps
//
// Resolve to type definition to remove any type forwarding imports
//
- // Workaround for https://github.com/mono/linker/issues/2260
+ // Workaround for https://github.com/dotnet/linker/issues/2260
// Context has a cache which stores ref->def mapping. This code runs during sweeping
// which can remove the type-def from its assembly, effectively making the ref unresolvable.
// But the cache doesn't know that, it would still "resolve" the type-ref to now defunct type-def.
diff --git a/src/linker/Linker.Steps/UnreachableBlocksOptimizer.cs b/src/linker/Linker.Steps/UnreachableBlocksOptimizer.cs
index 5a0c2572c..e6e52fecb 100644
--- a/src/linker/Linker.Steps/UnreachableBlocksOptimizer.cs
+++ b/src/linker/Linker.Steps/UnreachableBlocksOptimizer.cs
@@ -369,7 +369,7 @@ namespace Mono.Linker.Steps
// Allow inlining results of instance methods which are explicitly annotated
// but don't allow inling results of any other instance method.
- // See https://github.com/mono/linker/issues/1243 for discussion as to why.
+ // See https://github.com/dotnet/linker/issues/1243 for discussion as to why.
// Also explicitly prevent inlining results of virtual methods.
if (!md.IsStatic &&
(md.IsVirtual || !explicitlyAnnotated))
diff --git a/src/linker/Linker/Driver.cs b/src/linker/Linker/Driver.cs
index 608d73e5b..79d5413ff 100644
--- a/src/linker/Linker/Driver.cs
+++ b/src/linker/Linker/Driver.cs
@@ -780,7 +780,7 @@ namespace Mono.Linker
context.LogError ($"{e.Message}", 1040);
} catch (Exception) {
// Unhandled exceptions are usually linker bugs. Ask the user to report it.
- context.LogError ($"IL Trimmer has encountered an unexpected error. Please report the issue at https://github.com/mono/linker/issues", 1012);
+ context.LogError ($"IL Trimmer has encountered an unexpected error. Please report the issue at https://github.com/dotnet/linker/issues", 1012);
// Don't swallow the exception and exit code - rethrow it and let the surrounding tooling decide what to do.
// The stack trace will go to stderr, and the MSBuild task will surface it with High importance.
throw;
@@ -1330,7 +1330,7 @@ namespace Mono.Linker
static void About ()
{
Console.WriteLine ("For more information, visit the project Web site");
- Console.WriteLine (" https://github.com/mono/linker");
+ Console.WriteLine (" https://github.com/dotnet/linker");
}
static Pipeline GetStandardPipeline ()
diff --git a/src/linker/Linker/DynamicDependency.cs b/src/linker/Linker/DynamicDependency.cs
index 5a6d04c1b..bd139f1c8 100644
--- a/src/linker/Linker/DynamicDependency.cs
+++ b/src/linker/Linker/DynamicDependency.cs
@@ -67,7 +67,7 @@ namespace Mono.Linker
return null;
// Don't honor the Condition until we have figured out the behavior for DynamicDependencyAttribute:
- // https://github.com/mono/linker/issues/1231
+ // https://github.com/dotnet/linker/issues/1231
// if (!ShouldProcess (context, customAttribute))
// return null;
diff --git a/src/linker/Linker/LinkContext.cs b/src/linker/Linker/LinkContext.cs
index e80f7e583..eba7a7190 100644
--- a/src/linker/Linker/LinkContext.cs
+++ b/src/linker/Linker/LinkContext.cs
@@ -558,7 +558,7 @@ namespace Mono.Linker
/// versions are inferred from the code, and every warning that we define is versioned.
/// </summary>
/// <param name="text">Humanly readable message describing the warning</param>
- /// <param name="code">Unique warning ID. Please see https://github.com/mono/linker/blob/main/docs/error-codes.md for the list of warnings and possibly add a new one</param>
+ /// <param name="code">Unique warning ID. Please see https://github.com/dotnet/linker/blob/main/docs/error-codes.md for the list of warnings and possibly add a new one</param>
/// <param name="origin">Filename or member where the warning is coming from</param>
/// <param name="subcategory">Optionally, further categorize this warning</param>
/// <returns>New MessageContainer of 'Warning' category</returns>
@@ -575,7 +575,7 @@ namespace Mono.Linker
/// versions are inferred from the code, and every warning that we define is versioned.
/// </summary>
/// <param name="text">Humanly readable message describing the warning</param>
- /// <param name="code">Unique warning ID. Please see https://github.com/mono/linker/blob/main/docs/error-codes.md for the list of warnings and possibly add a new one</param>
+ /// <param name="code">Unique warning ID. Please see https://github.com/dotnet/linker/blob/main/docs/error-codes.md for the list of warnings and possibly add a new one</param>
/// <param name="origin">Type or member where the warning is coming from</param>
/// <param name="subcategory">Optionally, further categorize this warning</param>
/// <returns>New MessageContainer of 'Warning' category</returns>
@@ -591,7 +591,7 @@ namespace Mono.Linker
/// versions are inferred from the code, and every warning that we define is versioned.
/// </summary>
/// <param name="text">Humanly readable message describing the warning</param>
- /// <param name="code">Unique warning ID. Please see https://github.com/mono/linker/blob/main/docs/error-codes.md for the list of warnings and possibly add a new one</param>
+ /// <param name="code">Unique warning ID. Please see https://github.com/dotnet/linker/blob/main/docs/error-codes.md for the list of warnings and possibly add a new one</param>
/// <param name="origin">Filename where the warning is coming from</param>
/// <param name="subcategory">Optionally, further categorize this warning</param>
/// <returns>New MessageContainer of 'Warning' category</returns>
@@ -605,7 +605,7 @@ namespace Mono.Linker
/// Display an error message to the end user.
/// </summary>
/// <param name="text">Humanly readable message describing the error</param>
- /// <param name="code">Unique error ID. Please see https://github.com/mono/linker/blob/main/docs/error-codes.md for the list of errors and possibly add a new one</param>
+ /// <param name="code">Unique error ID. Please see https://github.com/dotnet/linker/blob/main/docs/error-codes.md for the list of errors and possibly add a new one</param>
/// <param name="subcategory">Optionally, further categorize this error</param>
/// <param name="origin">Filename, line, and column where the error was found</param>
/// <returns>New MessageContainer of 'Error' category</returns>
diff --git a/src/linker/Linker/MessageContainer.cs b/src/linker/Linker/MessageContainer.cs
index dc5e57d44..4051500b2 100644
--- a/src/linker/Linker/MessageContainer.cs
+++ b/src/linker/Linker/MessageContainer.cs
@@ -42,7 +42,7 @@ namespace Mono.Linker
/// Create an error message.
/// </summary>
/// <param name="text">Humanly readable message describing the error</param>
- /// <param name="code">Unique error ID. Please see https://github.com/mono/linker/blob/main/docs/error-codes.md
+ /// <param name="code">Unique error ID. Please see https://github.com/dotnet/linker/blob/main/docs/error-codes.md
/// for the list of errors and possibly add a new one</param>
/// <param name="subcategory">Optionally, further categorize this error</param>
/// <param name="origin">Filename, line, and column where the error was found</param>
@@ -82,7 +82,7 @@ namespace Mono.Linker
/// </summary>
/// <param name="context">Context with the relevant warning suppression info.</param>
/// <param name="text">Humanly readable message describing the warning</param>
- /// <param name="code">Unique warning ID. Please see https://github.com/mono/linker/blob/main/docs/error-codes.md
+ /// <param name="code">Unique warning ID. Please see https://github.com/dotnet/linker/blob/main/docs/error-codes.md
/// for the list of warnings and possibly add a new one</param>
/// /// <param name="origin">Filename or member where the warning is coming from</param>
/// <param name="subcategory">Optionally, further categorize this warning</param>
diff --git a/test/Mono.Linker.Tests.Cases/DataFlow/AnnotatedMembersAccessedViaReflection.cs b/test/Mono.Linker.Tests.Cases/DataFlow/AnnotatedMembersAccessedViaReflection.cs
index 9f1ea54b6..5c8518ac4 100644
--- a/test/Mono.Linker.Tests.Cases/DataFlow/AnnotatedMembersAccessedViaReflection.cs
+++ b/test/Mono.Linker.Tests.Cases/DataFlow/AnnotatedMembersAccessedViaReflection.cs
@@ -516,7 +516,7 @@ namespace Mono.Linker.Tests.Cases.DataFlow
typeof (AnnotatedGenerics).RequiresPublicMethods ();
}
- // This should produce IL2071 https://github.com/mono/linker/issues/2144
+ // This should produce IL2071 https://github.com/dotnet/linker/issues/2144
[ExpectedWarning ("IL2070", "MakeGenericMethod")]
static void InstantiateGeneric (Type type = null)
{
diff --git a/test/Mono.Linker.Tests.Cases/DataFlow/MethodReturnParameterDataFlow.cs b/test/Mono.Linker.Tests.Cases/DataFlow/MethodReturnParameterDataFlow.cs
index c46e9ab54..8dfe13492 100644
--- a/test/Mono.Linker.Tests.Cases/DataFlow/MethodReturnParameterDataFlow.cs
+++ b/test/Mono.Linker.Tests.Cases/DataFlow/MethodReturnParameterDataFlow.cs
@@ -181,7 +181,7 @@ namespace Mono.Linker.Tests.Cases.DataFlow
return null;
}
- // https://github.com/mono/linker/issues/2025
+ // https://github.com/dotnet/linker/issues/2025
// Ideally this should not warn
[UnrecognizedReflectionAccessPattern (typeof (MethodReturnParameterDataFlow), nameof (ReturnWithRequirementsAlwaysThrows), new Type[] { }, returnType: typeof (Type),
messageCode: "IL2063")]
diff --git a/test/Mono.Linker.Tests.Cases/DataFlow/PropertyDataFlow.cs b/test/Mono.Linker.Tests.Cases/DataFlow/PropertyDataFlow.cs
index 102180de2..bcf0cb2a8 100644
--- a/test/Mono.Linker.Tests.Cases/DataFlow/PropertyDataFlow.cs
+++ b/test/Mono.Linker.Tests.Cases/DataFlow/PropertyDataFlow.cs
@@ -321,7 +321,7 @@ namespace Mono.Linker.Tests.Cases.DataFlow
public static void Test ()
{
- // https://github.com/mono/linker/issues/2196
+ // https://github.com/dotnet/linker/issues/2196
// TestPropertyWithAttributeMarkingSelfType.TestProperty = true;
}
}
diff --git a/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyMethod.cs b/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyMethod.cs
index a687f3f69..206c4d146 100644
--- a/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyMethod.cs
+++ b/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyMethod.cs
@@ -170,7 +170,7 @@ namespace Mono.Linker.Tests.Cases.DynamicDependencies
[KeptBackingField]
internal string Property2 { [Kept] get; set; }
- // For now, Condition has no effect: https://github.com/mono/linker/issues/1231
+ // For now, Condition has no effect: https://github.com/dotnet/linker/issues/1231
[Kept]
internal void ConditionalTest ()
{
diff --git a/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyMethodInNonReferencedAssemblyWithSweptReferences.cs b/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyMethodInNonReferencedAssemblyWithSweptReferences.cs
index 58e20a02d..4fca50cfa 100644
--- a/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyMethodInNonReferencedAssemblyWithSweptReferences.cs
+++ b/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyMethodInNonReferencedAssemblyWithSweptReferences.cs
@@ -9,7 +9,7 @@ namespace Mono.Linker.Tests.Cases.DynamicDependencies
[SetupCompileBefore ("unusedreference.dll", new[] { "Dependencies/UnusedAssemblyDependency.cs" })]
[SetupCompileBefore ("reference.dll", new[] { "Dependencies/AssemblyDependency.cs" }, addAsReference: false)]
[SetupCompileBefore ("library.dll", new[] { "Dependencies/AssemblyDependencyWithMultipleReferences.cs" }, new[] { "reference.dll", "unusedreference.dll" }, addAsReference: false)]
- // TODO: keep library even if type is not found in it (https://github.com/mono/linker/issues/1795)
+ // TODO: keep library even if type is not found in it (https://github.com/dotnet/linker/issues/1795)
// [KeptAssembly ("library")]
public class DynamicDependencyMethodInNonReferencedAssemblyWithSweptReferences
{
diff --git a/test/Mono.Linker.Tests.Cases/Reflection/ActivatorCreateInstance.cs b/test/Mono.Linker.Tests.Cases/Reflection/ActivatorCreateInstance.cs
index 02129fb6c..7eb814fe1 100644
--- a/test/Mono.Linker.Tests.Cases/Reflection/ActivatorCreateInstance.cs
+++ b/test/Mono.Linker.Tests.Cases/Reflection/ActivatorCreateInstance.cs
@@ -469,7 +469,7 @@ namespace Mono.Linker.Tests.Cases.Reflection
[Kept]
[ExpectedWarning ("IL2091", nameof (Activator), nameof (Activator.CreateInstance) + "<T>")]
// Warnings are currently duplicated in NETCORE (annotation and intrinsics) - but they're not identical in this case.
- // See https://github.com/mono/linker/issues/1483
+ // See https://github.com/dotnet/linker/issues/1483
private static void TestCreateInstanceOfTWithNoConstraint<T> ()
{
Activator.CreateInstance<T> ();
diff --git a/test/Mono.Linker.Tests.Cases/Reflection/AssemblyImportedViaReflectionWithSweptReferences.cs b/test/Mono.Linker.Tests.Cases/Reflection/AssemblyImportedViaReflectionWithSweptReferences.cs
index 7a6abf792..5cecf5e5d 100644
--- a/test/Mono.Linker.Tests.Cases/Reflection/AssemblyImportedViaReflectionWithSweptReferences.cs
+++ b/test/Mono.Linker.Tests.Cases/Reflection/AssemblyImportedViaReflectionWithSweptReferences.cs
@@ -9,7 +9,7 @@ namespace Mono.Linker.Tests.Cases.Reflection
[SetupCompileBefore ("unusedreference.dll", new[] { "Dependencies/UnusedAssemblyDependency.cs" })]
[SetupCompileBefore ("reference.dll", new[] { "Dependencies/AssemblyDependency.cs" }, addAsReference: false)]
[SetupCompileBefore ("library.dll", new[] { "Dependencies/AssemblyDependencyWithMultipleReferences.cs" }, new[] { "reference.dll", "unusedreference.dll" }, addAsReference: false)]
- // TODO: keep library even if type is not found in it (https://github.com/mono/linker/issues/1795)
+ // TODO: keep library even if type is not found in it (https://github.com/dotnet/linker/issues/1795)
// [KeptAssembly ("library")]
public class AssemblyImportedViaReflectionWithSweptReferences
{
diff --git a/test/Mono.Linker.Tests.Cases/Reflection/ObjectGetType.cs b/test/Mono.Linker.Tests.Cases/Reflection/ObjectGetType.cs
index a683287ff..17b67d0ae 100644
--- a/test/Mono.Linker.Tests.Cases/Reflection/ObjectGetType.cs
+++ b/test/Mono.Linker.Tests.Cases/Reflection/ObjectGetType.cs
@@ -279,14 +279,14 @@ namespace Mono.Linker.Tests.Cases.Reflection
struct BasicAnnotatedStruct
{
// Handle boxing and unboxing operations
- // https://github.com/mono/linker/issues/1951
+ // https://github.com/dotnet/linker/issues/1951
// [Kept]
public void UsedMethod () { }
public void UnusedMethod () { }
}
[Kept]
- // https://github.com/mono/linker/issues/1951
+ // https://github.com/dotnet/linker/issues/1951
// This should not warn
[ExpectedWarning ("IL2075", "GetMethod")]
static void TestStruct (BasicAnnotatedStruct instance)
@@ -667,7 +667,7 @@ namespace Mono.Linker.Tests.Cases.Reflection
public class Derived : Base
{
// new() doesn't propagate static type
- // https://github.com/mono/linker/issues/1952
+ // https://github.com/dotnet/linker/issues/1952
// [Kept]
public void Method () { }
}
@@ -1390,7 +1390,7 @@ namespace Mono.Linker.Tests.Cases.Reflection
[KeptMember (".ctor()")]
class Derived : AnnotatedBase
{
- // https://github.com/mono/linker/issues/2027
+ // https://github.com/dotnet/linker/issues/2027
// [Kept]
public void Method () { }
}
@@ -1399,7 +1399,7 @@ namespace Mono.Linker.Tests.Cases.Reflection
static IEnumerable<AnnotatedBase> GetInstances () => new AnnotatedBase[] { new Derived () };
[Kept]
- // https://github.com/mono/linker/issues/2027
+ // https://github.com/dotnet/linker/issues/2027
[ExpectedWarning ("IL2075", nameof (Type.GetType))]
public static void Test ()
{
diff --git a/test/Mono.Linker.Tests.Cases/Reflection/TypeHierarchyReflectionWarnings.cs b/test/Mono.Linker.Tests.Cases/Reflection/TypeHierarchyReflectionWarnings.cs
index 9ca2ff3ae..dc9796633 100644
--- a/test/Mono.Linker.Tests.Cases/Reflection/TypeHierarchyReflectionWarnings.cs
+++ b/test/Mono.Linker.Tests.Cases/Reflection/TypeHierarchyReflectionWarnings.cs
@@ -267,7 +267,7 @@ namespace Mono.Linker.Tests.Cases.Reflection
{
[Kept]
[KeptAttributeAttribute (typeof (RequiresUnreferencedCodeAttribute))]
- // This should produce a warning: https://github.com/mono/linker/issues/2161
+ // This should produce a warning: https://github.com/dotnet/linker/issues/2161
[RequiresUnreferencedCode ("--RUC on AnnotatedInterfaces.UnusedMethod--")]
public void RUCMethod () { }
}
diff --git a/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresUnreferencedCodeCapability.cs b/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresUnreferencedCodeCapability.cs
index d0fdf744f..5d137cbfc 100644
--- a/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresUnreferencedCodeCapability.cs
+++ b/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresUnreferencedCodeCapability.cs
@@ -33,8 +33,8 @@ namespace Mono.Linker.Tests.Cases.RequiresCapability
[LogDoesNotContain ("--UnusedVirtualMethod2--")]
[LogDoesNotContain ("--IUnusedInterface.UnusedMethod--")]
[LogDoesNotContain ("--UnusedImplementationClass.UnusedMethod--")]
- // [LogDoesNotContain ("UnusedVirtualMethod2")] // https://github.com/mono/linker/issues/2106
- // [LogContains ("--RequiresUnreferencedCodeOnlyViaDescriptor--")] // https://github.com/mono/linker/issues/2103
+ // [LogDoesNotContain ("UnusedVirtualMethod2")] // https://github.com/dotnet/linker/issues/2106
+ // [LogContains ("--RequiresUnreferencedCodeOnlyViaDescriptor--")] // https://github.com/dotnet/linker/issues/2103
[ExpectedNoWarnings]
public class RequiresUnreferencedCodeCapability
{
@@ -493,7 +493,7 @@ namespace Mono.Linker.Tests.Cases.RequiresCapability
tmp.GetRequiresUnreferencedCode ();
}
- // https://github.com/mono/linker/issues/2107
+ // https://github.com/dotnet/linker/issues/2107
// Doesn't work in the analyzer because the test infra for analyzer will not build the second assembly
// and provide it as a ref assembly to the compilation - so the analyzer actually sees the below
// as errors (missing assembly).
@@ -597,7 +597,7 @@ namespace Mono.Linker.Tests.Cases.RequiresCapability
public static void TestMethod () { }
}
- // https://github.com/mono/linker/issues/2094 - should be supported by the analyzer
+ // https://github.com/dotnet/linker/issues/2094 - should be supported by the analyzer
[ExpectedWarning ("IL2026", "--AttributeWhichRequiresUnreferencedCodeAttribute.ctor--", GlobalAnalysisOnly = true)]
static void GenericMethodWithAttributedParameter<[AttributeWhichRequiresUnreferencedCode] T> () { }
@@ -607,7 +607,7 @@ namespace Mono.Linker.Tests.Cases.RequiresCapability
GenericMethodWithAttributedParameter<int> ();
}
- // https://github.com/mono/linker/issues/2094 - should be supported by the analyzer
+ // https://github.com/dotnet/linker/issues/2094 - should be supported by the analyzer
[ExpectedWarning ("IL2026", "--AttributeWhichRequiresUnreferencedCodeAttribute.ctor--", GlobalAnalysisOnly = true)]
[ExpectedWarning ("IL2026", "--AttributeWhichRequiresUnreferencedCodeOnPropertyAttribute.PropertyWhichRequires--")]
[AttributeWhichRequiresUnreferencedCode]
@@ -616,7 +616,7 @@ namespace Mono.Linker.Tests.Cases.RequiresCapability
{
}
- // https://github.com/mono/linker/issues/2094 - should be supported by the analyzer
+ // https://github.com/dotnet/linker/issues/2094 - should be supported by the analyzer
[ExpectedWarning ("IL2026", "--AttributeWhichRequiresUnreferencedCodeAttribute.ctor--", GlobalAnalysisOnly = true)]
[ExpectedWarning ("IL2026", "--AttributeWhichRequiresUnreferencedCodeOnPropertyAttribute.PropertyWhichRequires--")]
[AttributeWhichRequiresUnreferencedCode]
@@ -709,7 +709,7 @@ namespace Mono.Linker.Tests.Cases.RequiresCapability
class AccessThroughSpecialAttribute
{
- // https://github.com/mono/linker/issues/1873
+ // https://github.com/dotnet/linker/issues/1873
// [ExpectedWarning ("IL2026", "--DebuggerProxyType.Method--")]
[DebuggerDisplay ("Some{*}value")]
class TypeWithDebuggerDisplay
@@ -734,7 +734,7 @@ namespace Mono.Linker.Tests.Cases.RequiresCapability
public PInvokeReturnType () { }
}
- // https://github.com/mono/linker/issues/2116
+ // https://github.com/dotnet/linker/issues/2116
[ExpectedWarning ("IL2026", "--PInvokeReturnType.ctor--", GlobalAnalysisOnly = true)]
[DllImport ("nonexistent")]
static extern PInvokeReturnType PInvokeReturnsType ();
@@ -1196,7 +1196,7 @@ namespace Mono.Linker.Tests.Cases.RequiresCapability
public static int field;
public static int Property { get; set; }
- // These should not be reported https://github.com/mono/linker/issues/2218
+ // These should not be reported https://github.com/dotnet/linker/issues/2218
[ExpectedWarning ("IL2026", "add_Event", GlobalAnalysisOnly = true)]
[ExpectedWarning ("IL2026", "remove_Event", GlobalAnalysisOnly = true)]
public static event EventHandler Event;
@@ -1429,14 +1429,14 @@ namespace Mono.Linker.Tests.Cases.RequiresCapability
class ReflectionAccessOnEvents
{
- // Most of the tests in this run into https://github.com/mono/linker/issues/2218
+ // Most of the tests in this run into https://github.com/dotnet/linker/issues/2218
// So for now keeping just a very simple test
[RequiresUnreferencedCode ("--WithRUC--")]
class WithRUC
{
// These should be reported only in TestDirectReflectionAccess
- // https://github.com/mono/linker/issues/2218
+ // https://github.com/dotnet/linker/issues/2218
[ExpectedWarning ("IL2026", "add_StaticEvent", GlobalAnalysisOnly = true)]
[ExpectedWarning ("IL2026", "remove_StaticEvent", GlobalAnalysisOnly = true)]
public static event EventHandler StaticEvent;
diff --git a/test/Mono.Linker.Tests.Cases/TypeForwarding/SecurityAttributeScope.cs b/test/Mono.Linker.Tests.Cases/TypeForwarding/SecurityAttributeScope.cs
index 47bc346a2..7aba7c443 100644
--- a/test/Mono.Linker.Tests.Cases/TypeForwarding/SecurityAttributeScope.cs
+++ b/test/Mono.Linker.Tests.Cases/TypeForwarding/SecurityAttributeScope.cs
@@ -10,7 +10,7 @@ namespace Mono.Linker.Tests.Cases.TypeForwarding
/// This test depends on a functioning peverify / il verify in order to fail if the scope of type references on security attributes
/// were not correctly updated.
///
- /// In order words, until https://github.com/mono/linker/issues/1703 is addressed this test will pass with or without the fix to update the scope on security attributes
+ /// In order words, until https://github.com/dotnet/linker/issues/1703 is addressed this test will pass with or without the fix to update the scope on security attributes
/// </summary>
[SetupLinkerArgument ("--skip-unresolved", "true")]
[SetupLinkerArgument ("--strip-security", "false")]
diff --git a/test/Mono.Linker.Tests.Cases/TypeForwarding/UsedForwarderInGenericIsDynamicallyAccessedWithAssemblyCopyUsed.cs b/test/Mono.Linker.Tests.Cases/TypeForwarding/UsedForwarderInGenericIsDynamicallyAccessedWithAssemblyCopyUsed.cs
index 9f167aef2..1bce342ca 100644
--- a/test/Mono.Linker.Tests.Cases/TypeForwarding/UsedForwarderInGenericIsDynamicallyAccessedWithAssemblyCopyUsed.cs
+++ b/test/Mono.Linker.Tests.Cases/TypeForwarding/UsedForwarderInGenericIsDynamicallyAccessedWithAssemblyCopyUsed.cs
@@ -19,7 +19,7 @@ namespace Mono.Linker.Tests.Cases.TypeForwarding
[SetupCompileAfter ("Implementation.dll", new[] { "Dependencies/ImplementationLibrary.cs" })]
[SetupCompileAfter ("Forwarder.dll", new[] { "Dependencies/ForwarderLibrary.cs" }, references: new[] { "Implementation.dll" })]
- // https://github.com/mono/linker/issues/1536
+ // https://github.com/dotnet/linker/issues/1536
//[KeptMemberInAssembly ("Forwarder.dll", typeof (ImplementationLibrary))]
[KeptTypeInAssembly ("Implementation.dll", typeof (ImplementationLibrary))]
class UsedForwarderInGenericIsDynamicallyAccessedWithAssemblyCopyUsed
diff --git a/test/Mono.Linker.Tests/Tests/DocumentationSignatureParserTests.cs b/test/Mono.Linker.Tests/Tests/DocumentationSignatureParserTests.cs
index 408649fd1..4ea98ba18 100644
--- a/test/Mono.Linker.Tests/Tests/DocumentationSignatureParserTests.cs
+++ b/test/Mono.Linker.Tests/Tests/DocumentationSignatureParserTests.cs
@@ -495,7 +495,7 @@ namespace Mono.Linker.Tests
[ExpectUnresolvedDocumentationSignature ("E:Mono.Linker.Tests.DocumentationSignatureParserTests.Invalid.OnEvent`gibberish")]
public event EventHandler OnEvent;
- // the below work, but seem like they shouldn't. See https://github.com/mono/linker/issues/1214.
+ // the below work, but seem like they shouldn't. See https://github.com/dotnet/linker/issues/1214.
[ExpectExactlyResolvedDocumentationSignature ("TMono.Linker.Tests.DocumentationSignatureParserTests.Invalid.NoColon")]
public class NoColon