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
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ILLink.RoslynAnalyzer/TrimAnalysis/ParameterProxy.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ILLink.RoslynAnalyzer/TrimAnalysis/ParameterProxy.cs b/src/ILLink.RoslynAnalyzer/TrimAnalysis/ParameterProxy.cs
index 6ee65cbb9..fe01aeaf5 100644
--- a/src/ILLink.RoslynAnalyzer/TrimAnalysis/ParameterProxy.cs
+++ b/src/ILLink.RoslynAnalyzer/TrimAnalysis/ParameterProxy.cs
@@ -17,7 +17,7 @@ namespace ILLink.Shared.TypeSystemProxy
public partial ReferenceKind GetReferenceKind () =>
IsImplicitThis
- ? ((ITypeSymbol) Method.Method.ContainingSymbol).IsValueType
+ ? Method.Method.ContainingType.IsValueType
? ReferenceKind.Ref
: ReferenceKind.None
: Method.Method.Parameters[MetadataIndex].RefKind switch {
@@ -54,4 +54,4 @@ namespace ILLink.Shared.TypeSystemProxy
public bool IsTypeOf (WellKnownType type) => ParameterType.IsTypeOf (type);
}
-} \ No newline at end of file
+}