diff options
Diffstat (limited to 'mcs/class/referencesource/mscorlib/system/resources/resourcereader.cs')
-rw-r--r-- | mcs/class/referencesource/mscorlib/system/resources/resourcereader.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mcs/class/referencesource/mscorlib/system/resources/resourcereader.cs b/mcs/class/referencesource/mscorlib/system/resources/resourcereader.cs index 82ead3cc71a..a67ee8c29f5 100644 --- a/mcs/class/referencesource/mscorlib/system/resources/resourcereader.cs +++ b/mcs/class/referencesource/mscorlib/system/resources/resourcereader.cs @@ -7,7 +7,7 @@ ** ** Class: ResourceReader ** -** <OWNER>Microsoft</OWNER> +** <OWNER>[....]</OWNER> ** ** ** Purpose: Default way to read streams of resources on @@ -843,7 +843,7 @@ namespace System.Resources { // types which do demand serialization permission in their // deserialization .cctors will fail. // Also, use a serialization binder to limit bind requests to - // our allowed list of Microsoft types. + // our allowed list of [....] types. _objFormatter.Binder = _typeLimitingBinder; _typeLimitingBinder.ExpectingToDeserialize(type); graph = _objFormatter.UnsafeDeserialize(_store.BaseStream, null); @@ -1140,7 +1140,7 @@ namespace System.Resources { } else { // Enums should be safe to deserialize, and this helps out - // partially trusted, localized Microsoft apps. + // partially trusted, localized [....] apps. if (resourceType.BaseType == typeof(Enum)) { _safeToDeserialize[i] = true; continue; @@ -1315,7 +1315,7 @@ namespace System.Resources { } } - // Microsoft types may internally use some enums that aren't + // [....] types may internally use some enums that aren't // on our safe to deserialize list, like Font using FontStyle. Type t = ObjectReader.FastBindToType(assemblyName, typeName); if (t.IsEnum) @@ -1326,7 +1326,7 @@ namespace System.Resources { // Throw instead of returning null. // If you're looking at this in a debugger, you've either - // got a hacked .resources file on your hands, or Microsoft + // got a hacked .resources file on your hands, or [....] // types have taken a new dependency on another type. Check // whether assemblyName & typeName refer to a trustworthy type, // & consider adding it to the TypesSafeToDeserialize list. @@ -1412,7 +1412,7 @@ namespace System.Resources { value = _reader.LoadObject(_dataPosition); // If enumeration and subsequent lookups happen very // frequently in the same process, add a ResourceLocator - // to _resCache here. But Microsoft enumerates and + // to _resCache here. But [....] enumerates and // just about everyone else does lookups. So caching // here may bloat working set. } |