Add [Out] to a couple of StringBuilders in DllImports
authorstephentoub <stoub@microsoft.com>
Thu, 8 Oct 2015 17:14:21 +0000 (13:14 -0400)
committerstephentoub <stoub@microsoft.com>
Thu, 8 Oct 2015 17:14:21 +0000 (13:14 -0400)
commit5a7b93593f826360a37973498265fc24aaa71a2d
tree318881c65de1a8b5e6cd28579c38a8150da58fbc
parent8b8146d8a711a4687f0ee8ba87b4d2e04a938b83
Add [Out] to a couple of StringBuilders in DllImports

I audited all of the StringBuilders being used in P/Invokes in mscorlib.  Almost all of them were correctly annotated as to their direction of needed marshaling.  Two weren't.

Commit migrated from https://github.com/dotnet/coreclr/commit/1d4061dd6455c5b41a8e9a012914115e29cc2008
src/coreclr/src/mscorlib/src/Microsoft/Win32/UnsafeNativeMethods.cs