|
|
|
@ -168,7 +168,7 @@ namespace ICSharpCode.ILSpy
@@ -168,7 +168,7 @@ namespace ICSharpCode.ILSpy
|
|
|
|
|
baseImage = Images.StaticClass; |
|
|
|
|
break; |
|
|
|
|
default: |
|
|
|
|
throw new NotSupportedException(); |
|
|
|
|
throw new ArgumentOutOfRangeException(nameof(icon), $"TypeIcon.{icon} is not supported!"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return baseImage; |
|
|
|
@ -238,7 +238,7 @@ namespace ICSharpCode.ILSpy
@@ -238,7 +238,7 @@ namespace ICSharpCode.ILSpy
|
|
|
|
|
baseImage = Images.Event; |
|
|
|
|
break; |
|
|
|
|
default: |
|
|
|
|
throw new NotSupportedException(); |
|
|
|
|
throw new ArgumentOutOfRangeException(nameof(icon), $"MemberIcon.{icon} is not supported!"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return baseImage; |
|
|
|
@ -303,7 +303,7 @@ namespace ICSharpCode.ILSpy
@@ -303,7 +303,7 @@ namespace ICSharpCode.ILSpy
|
|
|
|
|
overlayImage = Images.OverlayCompilerControlled; |
|
|
|
|
break; |
|
|
|
|
default: |
|
|
|
|
throw new NotSupportedException(); |
|
|
|
|
throw new ArgumentOutOfRangeException(nameof(overlay), $"AccessOverlayIcon.{overlay} is not supported!"); |
|
|
|
|
} |
|
|
|
|
return overlayImage; |
|
|
|
|
} |
|
|
|
|