FFFF Remove unused cached types by adityapatwardhan · Pull Request #9015 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
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
5 changes: 0 additions & 5 deletions src/System.Management.Automation/engine/parser/Compiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,6 @@ internal static class CachedReflectionInfo
internal static readonly MethodInfo IComparable_CompareTo =
typeof(IComparable).GetMethod(nameof(IComparable.CompareTo));

internal static readonly MethodInfo IDictionary_set_Item =
typeof(IDictionary).GetMethod("set_Item");

internal static readonly MethodInfo IDisposable_Dispose =
typeof(IDisposable).GetMethod(nameof(IDisposable.Dispose));

Expand Down Expand Up @@ -452,8 +449,6 @@ internal static class CachedReflectionInfo
typeof(string).GetMethod(nameof(string.Equals), staticPublicFlags, null,
CallingConventions.Standard,
new Type[] { typeof(string), typeof(string), typeof(StringComparison) }, null);
internal static readonly MethodInfo String_get_Chars =
typeof(string).GetMethod("get_Chars");
internal static readonly PropertyInfo String_Length =
typeof(string).GetProperty(nameof(string.Length));

Expand Down
0