Use clearer terminology

This commit is contained in:
Fred Silberberg 2020-08-21 13:30:51 -07:00 committed by GitHub
parent 06ee75e6e3
commit 5d40e91f04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -360,7 +360,7 @@ the attribute:
the method and then invoke that pointer.
* It is an error to apply the attribute to anything other than a static method. The C# compiler will mark any non-static
methods imported from metadata with this attribute as unsupported by the language.
* It is an error to have non-unmanaged types as parameters or the return type of a method marked with the attribute.
* It is an error to have managed types as parameters or the return type of a method marked with the attribute.
* It is an error to convert a method marked with the attribute to a delegate type.
* It is an error to specify any types for `UnmanagedCallersOnly.CallConvs` that do not meet the requirements for calling
convention `modopt`s in metadata.