diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cs/UNI-36862.cs')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cs/UNI-36862.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cs/UNI-36862.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cs/UNI-36862.cs new file mode 100644 index 00000000..cb3cb448 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cs/UNI-36862.cs @@ -0,0 +1,10 @@ +public unsafe struct QueryKeyNameCommand : IInputDeviceCommandInfo
+{
+ public string ReadKeyName()
+ {
+ fixed(QueryKeyNameCommand* thisPtr = &this)
+ {
+ return StringHelpers.ReadStringFromBuffer(new IntPtr(thisPtr->nameBuffer), kMaxNameLength);
+ }
+ }
+}
|