Browse Source

Add KnownAttribute.CallerMemberName, CallerFilePath and CallerLineNumber

pull/1218/merge
Siegfried Pammer 7 years ago
parent
commit
2d842a596a
  1. 6
      ICSharpCode.Decompiler/TypeSystem/Implementation/KnownAttributes.cs

6
ICSharpCode.Decompiler/TypeSystem/Implementation/KnownAttributes.cs

@ -78,6 +78,9 @@ namespace ICSharpCode.Decompiler.TypeSystem
ParamArray, ParamArray,
In, In,
Out, Out,
CallerMemberName,
CallerFilePath,
CallerLineNumber,
// Marshalling attributes: // Marshalling attributes:
MarshalAs, MarshalAs,
@ -130,6 +133,9 @@ namespace ICSharpCode.Decompiler.TypeSystem
new TopLevelTypeName("System", nameof(ParamArrayAttribute)), new TopLevelTypeName("System", nameof(ParamArrayAttribute)),
new TopLevelTypeName("System.Runtime.InteropServices", nameof(InAttribute)), new TopLevelTypeName("System.Runtime.InteropServices", nameof(InAttribute)),
new TopLevelTypeName("System.Runtime.InteropServices", nameof(OutAttribute)), new TopLevelTypeName("System.Runtime.InteropServices", nameof(OutAttribute)),
new TopLevelTypeName("System.Runtime.CompilerServices", nameof(CallerMemberNameAttribute)),
new TopLevelTypeName("System.Runtime.CompilerServices", nameof(CallerFilePathAttribute)),
new TopLevelTypeName("System.Runtime.CompilerServices", nameof(CallerLineNumberAttribute)),
// Marshalling attributes: // Marshalling attributes:
new TopLevelTypeName("System.Runtime.InteropServices", nameof(MarshalAsAttribute)), new TopLevelTypeName("System.Runtime.InteropServices", nameof(MarshalAsAttribute)),
// Security attributes: // Security attributes:

Loading…
Cancel
Save