File tree 2 files changed +4
-2
lines changed 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -216,11 +216,12 @@ public DictionaryMeta([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes
216
216
#endif
217
217
}
218
218
219
+ #if ! NET5_0_OR_GREATER
219
220
// Background: The function GetRuntimeFields gets constant fields only for the specified type,
220
221
// not for its base types. So we have to walk recursively through base classes.
221
222
// The docmentation says full trust for the immediate caller is required for property BaseClass.
222
223
// TODO: Rewrite this stuff for medium trust.
223
- void CollectKeyDescriptors ( [ DynamicallyAccessedMembers ( DynamicallyAccessedMemberTypes . All ) ] Type type )
224
+ void CollectKeyDescriptors ( Type type )
224
225
{
225
226
// Get fields of the specified type only.
226
227
var fields = type . GetTypeInfo ( ) . DeclaredFields ;
@@ -238,6 +239,7 @@ void CollectKeyDescriptors([DynamicallyAccessedMembers(DynamicallyAccessedMember
238
239
if ( type != typeof ( object ) && type != typeof ( PdfObject ) )
239
240
CollectKeyDescriptors ( type ) ;
240
241
}
242
+ #endif
241
243
242
244
/// <summary>
243
245
/// Gets the KeyDescriptor of the specified key, or null if no such descriptor exits.
Original file line number Diff line number Diff line change 3
3
4
4
string GetOutFilePath ( string name )
5
5
{
6
- var OutputDirName = @"C:\Users\Arbeit\Documents\ " ;
6
+ var OutputDirName = @". " ;
7
7
return Path . Combine ( OutputDirName , name ) ;
8
8
}
9
9
You can’t perform that action at this time.
0 commit comments