first commit
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,23 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) .NET Foundation and Contributors
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
BIN
Binary file not shown.
+375
@@ -0,0 +1,375 @@
|
||||
.NET Core uses third-party libraries or other resources that may be
|
||||
distributed under licenses different than the .NET Core software.
|
||||
|
||||
In the event that we accidentally failed to list a required notice, please
|
||||
bring it to our attention. Post an issue or email us:
|
||||
|
||||
dotnet@microsoft.com
|
||||
|
||||
The attached notices are provided for information only.
|
||||
|
||||
License notice for ASP.NET
|
||||
-------------------------------
|
||||
|
||||
Copyright (c) .NET Foundation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0.
|
||||
|
||||
Available at
|
||||
https://github.com/aspnet/AspNetCore/blob/master/LICENSE.txt
|
||||
|
||||
License notice for Slicing-by-8
|
||||
-------------------------------
|
||||
|
||||
http://sourceforge.net/projects/slicing-by-8/
|
||||
|
||||
Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved
|
||||
|
||||
|
||||
This software program is licensed subject to the BSD License, available at
|
||||
http://www.opensource.org/licenses/bsd-license.html.
|
||||
|
||||
|
||||
License notice for Unicode data
|
||||
-------------------------------
|
||||
|
||||
http://www.unicode.org/copyright.html#License
|
||||
|
||||
Copyright © 1991-2017 Unicode, Inc. All rights reserved.
|
||||
Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Unicode data files and any associated documentation
|
||||
(the "Data Files") or Unicode software and any associated documentation
|
||||
(the "Software") to deal in the Data Files or Software
|
||||
without restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, and/or sell copies of
|
||||
the Data Files or Software, and to permit persons to whom the Data Files
|
||||
or Software are furnished to do so, provided that either
|
||||
(a) this copyright and permission notice appear with all copies
|
||||
of the Data Files or Software, or
|
||||
(b) this copyright and permission notice appear in associated
|
||||
Documentation.
|
||||
|
||||
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
|
||||
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
||||
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
|
||||
NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
|
||||
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
||||
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of a copyright holder
|
||||
shall not be used in advertising or otherwise to promote the sale,
|
||||
use or other dealings in these Data Files or Software without prior
|
||||
written authorization of the copyright holder.
|
||||
|
||||
License notice for Zlib
|
||||
-----------------------
|
||||
|
||||
https://github.com/madler/zlib
|
||||
http://zlib.net/zlib_license.html
|
||||
|
||||
/* zlib.h -- interface of the 'zlib' general purpose compression library
|
||||
version 1.2.11, January 15th, 2017
|
||||
|
||||
Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
|
||||
Jean-loup Gailly Mark Adler
|
||||
jloup@gzip.org madler@alumni.caltech.edu
|
||||
|
||||
*/
|
||||
|
||||
License notice for Mono
|
||||
-------------------------------
|
||||
|
||||
http://www.mono-project.com/docs/about-mono/
|
||||
|
||||
Copyright (c) .NET Foundation Contributors
|
||||
|
||||
MIT License
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the Software), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
License notice for International Organization for Standardization
|
||||
-----------------------------------------------------------------
|
||||
|
||||
Portions (C) International Organization for Standardization 1986:
|
||||
Permission to copy in any form is granted for use with
|
||||
conforming SGML systems and applications as defined in
|
||||
ISO 8879, provided this notice is included in all copies.
|
||||
|
||||
License notice for Intel
|
||||
------------------------
|
||||
|
||||
"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License notice for Xamarin and Novell
|
||||
-------------------------------------
|
||||
|
||||
Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
Copyright (c) 2011 Novell, Inc (http://www.novell.com)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
Third party notice for W3C
|
||||
--------------------------
|
||||
|
||||
"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE
|
||||
Status: This license takes effect 13 May, 2015.
|
||||
This work is being provided by the copyright holders under the following license.
|
||||
License
|
||||
By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.
|
||||
Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications:
|
||||
The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
|
||||
Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included.
|
||||
Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)."
|
||||
Disclaimers
|
||||
THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
|
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT.
|
||||
The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders."
|
||||
|
||||
License notice for Bit Twiddling Hacks
|
||||
--------------------------------------
|
||||
|
||||
Bit Twiddling Hacks
|
||||
|
||||
By Sean Eron Anderson
|
||||
seander@cs.stanford.edu
|
||||
|
||||
Individually, the code snippets here are in the public domain (unless otherwise
|
||||
noted) — feel free to use them however you please. The aggregate collection and
|
||||
descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are
|
||||
distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and
|
||||
without even the implied warranty of merchantability or fitness for a particular
|
||||
purpose.
|
||||
|
||||
License notice for Brotli
|
||||
--------------------------------------
|
||||
|
||||
Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
compress_fragment.c:
|
||||
Copyright (c) 2011, Google Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following disclaimer
|
||||
in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
* Neither the name of Google Inc. nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
decode_fuzzer.c:
|
||||
Copyright (c) 2015 The Chromium Authors. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following disclaimer
|
||||
in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
* Neither the name of Google Inc. nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
|
||||
|
||||
License notice for Json.NET
|
||||
-------------------------------
|
||||
|
||||
https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2007 James Newton-King
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
License notice for vectorized base64 encoding / decoding
|
||||
--------------------------------------------------------
|
||||
|
||||
Copyright (c) 2005-2007, Nick Galbreath
|
||||
Copyright (c) 2013-2017, Alfred Klomp
|
||||
Copyright (c) 2015-2017, Wojciech Mula
|
||||
Copyright (c) 2016-2017, Matthieu Darbois
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
- Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
- Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
||||
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+405
@@ -0,0 +1,405 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Reflection.Emit.Lightweight</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Reflection.Emit.DynamicILInfo">
|
||||
<summary>Provides support for alternative ways to generate the Microsoft intermediate language (MSIL) and metadata for a dynamic method, including methods for creating tokens and for inserting the code, exception handling, and local variable signature blobs.</summary>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicILInfo.DynamicMethod">
|
||||
<summary>Gets the dynamic method whose body is generated by the current instance.</summary>
|
||||
<returns>A <see cref="T:System.Reflection.Emit.DynamicMethod" /> object representing the dynamic method for which the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object is generating code.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.Byte[])">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing the signature for the associated dynamic method.</summary>
|
||||
<param name="signature">An array that contains the signature.</param>
|
||||
<returns>A token that can be embedded in the metadata and the MSIL stream for the associated dynamic method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.Reflection.Emit.DynamicMethod)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a dynamic method to be called from the associated method.</summary>
|
||||
<param name="method">The dynamic method to call.</param>
|
||||
<returns>A token that can be embedded in the MSIL stream for the associated dynamic method, as the target of an MSIL instruction.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeFieldHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a field to be accessed from the associated dynamic method.</summary>
|
||||
<param name="field">The field to be accessed.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses fields, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeFieldHandle,System.RuntimeTypeHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a field to be accessed from the associated dynamic method; the field is on the specified generic type.</summary>
|
||||
<param name="field">The field to be accessed.</param>
|
||||
<param name="contextType">The generic type the field belongs to.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses fields in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeMethodHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a method to be accessed from the associated dynamic method.</summary>
|
||||
<param name="method">The method to be accessed.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses methods, such as <see cref="F:System.Reflection.Emit.OpCodes.Call" /> or <see cref="F:System.Reflection.Emit.OpCodes.Ldtoken" />, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeMethodHandle,System.RuntimeTypeHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a method on a generic type.</summary>
|
||||
<param name="method">The method.</param>
|
||||
<param name="contextType">The generic type the method belongs to.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses methods, such as <see cref="F:System.Reflection.Emit.OpCodes.Call" /> or <see cref="F:System.Reflection.Emit.OpCodes.Ldtoken" />, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeTypeHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a type to be used in the associated dynamic method.</summary>
|
||||
<param name="type">The type to be used.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that requires a type, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.String)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a string literal to be used in the associated dynamic method.</summary>
|
||||
<param name="literal">The string to be used.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that requires a string, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetCode(System.Byte*,System.Int32,System.Int32)">
|
||||
<summary>Sets the code body of the associated dynamic method.</summary>
|
||||
<param name="code">A pointer to a byte array containing the MSIL stream.</param>
|
||||
<param name="codeSize">The number of bytes in the MSIL stream.</param>
|
||||
<param name="maxStackSize">The maximum number of items on the operand stack when the method is executing.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="code" /> is <see langword="null" /> and <paramref name="codeSize" /> is greater than 0.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="codeSize" /> is less than 0.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetCode(System.Byte[],System.Int32)">
|
||||
<summary>Sets the code body of the associated dynamic method.</summary>
|
||||
<param name="code">An array that contains the MSIL stream.</param>
|
||||
<param name="maxStackSize">The maximum number of items on the operand stack when the method is executing.</param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetExceptions(System.Byte*,System.Int32)">
|
||||
<summary>Sets the exception metadata for the associated dynamic method.</summary>
|
||||
<param name="exceptions">A pointer to a byte array containing the exception metadata.</param>
|
||||
<param name="exceptionsSize">The number of bytes of exception metadata.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="exceptions" /> is <see langword="null" /> and <paramref name="exceptionSize" /> is greater than 0.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="exceptionSize" /> is less than 0.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetExceptions(System.Byte[])">
|
||||
<summary>Sets the exception metadata for the associated dynamic method.</summary>
|
||||
<param name="exceptions">An array that contains the exception metadata.</param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetLocalSignature(System.Byte*,System.Int32)">
|
||||
<summary>Sets the local variable signature that describes the layout of local variables for the associated dynamic method.</summary>
|
||||
<param name="localSignature">An array that contains the layout of local variables for the associated <see cref="T:System.Reflection.Emit.DynamicMethod" />.</param>
|
||||
<param name="signatureSize">The number of bytes in the signature.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="localSignature" /> is <see langword="null" /> and <paramref name="signatureSize" /> is greater than 0.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="signatureSize" /> is less than 0.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetLocalSignature(System.Byte[])">
|
||||
<summary>Sets the local variable signature that describes the layout of local variables for the associated dynamic method.</summary>
|
||||
<param name="localSignature">An array that contains the layout of local variables for the associated <see cref="T:System.Reflection.Emit.DynamicMethod" />.</param>
|
||||
</member>
|
||||
<member name="T:System.Reflection.Emit.DynamicMethod">
|
||||
<summary>Defines and represents a dynamic method that can be compiled, executed, and discarded. Discarded methods are available for garbage collection.</summary>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, attributes, calling convention, return type, parameter types, module, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.MethodAttributes" /> values that specifies the attributes of the dynamic method. The only combination allowed is <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">The calling convention for the dynamic method. Must be <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="m" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> is a combination of flags other than <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.
|
||||
-or-
|
||||
<paramref name="callingConvention" /> is not <see cref="F:System.Reflection.CallingConventions.Standard" />.
|
||||
-or-
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Creates a dynamic method, specifying the method name, attributes, calling convention, return type, parameter types, the type with which the dynamic method is logically associated, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.MethodAttributes" /> values that specifies the attributes of the dynamic method. The only combination allowed is <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">The calling convention for the dynamic method. Must be <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> is a combination of flags other than <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.
|
||||
-or-
|
||||
<paramref name="callingConvention" /> is not <see cref="F:System.Reflection.CallingConventions.Standard" />.
|
||||
-or-
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
||||
<summary>Initializes an anonymously hosted dynamic method, specifying the method name, return type, and parameter types.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
||||
<summary>Initializes an anonymously hosted dynamic method, specifying the method name, return type, parameter types, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="restrictedSkipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method, with this restriction: the trust level of the assemblies that contain those types and members must be equal to or less than the trust level of the call stack that emits the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, return type, parameter types, and module.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="m" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, return type, parameter types, module, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="m" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
||||
<summary>Creates a dynamic method, specifying the method name, return type, parameter types, and the type with which the dynamic method is logically associated.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is <see langword="null" />, or is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Creates a dynamic method, specifying the method name, return type, parameter types, the type with which the dynamic method is logically associated, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is <see langword="null" />, or is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
||||
<summary>Gets the attributes specified when the dynamic method was created.</summary>
|
||||
<returns>A bitwise combination of the <see cref="T:System.Reflection.MethodAttributes" /> values representing the attributes for the method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
||||
<summary>Gets the calling convention specified when the dynamic method was created.</summary>
|
||||
<returns>One of the <see cref="T:System.Reflection.CallingConventions" /> values that indicates the calling convention of the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
||||
<summary>Completes the dynamic method and creates a delegate that can be used to execute it.</summary>
|
||||
<param name="delegateType">A delegate type whose signature matches that of the dynamic method.</param>
|
||||
<returns>A delegate of the specified type, which can be used to execute the dynamic method.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method has no method body.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="delegateType" /> has the wrong number of parameters or the wrong parameter types.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
||||
<summary>Completes the dynamic method and creates a delegate that can be used to execute it, specifying the delegate type and an object the delegate is bound to.</summary>
|
||||
<param name="delegateType">A delegate type whose signature matches that of the dynamic method, minus the first parameter.</param>
|
||||
<param name="target">An object the delegate is bound to. Must be of the same type as the first parameter of the dynamic method.</param>
|
||||
<returns>A delegate of the specified type, which can be used to execute the dynamic method with the specified target object.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method has no method body.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="target" /> is not the same type as the first parameter of the dynamic method, and is not assignable to that type.
|
||||
-or-
|
||||
<paramref name="delegateType" /> has the wrong number of parameters or the wrong parameter types.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
||||
<summary>Gets the type that declares the method, which is always <see langword="null" /> for dynamic methods.</summary>
|
||||
<returns>Always <see langword="null" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.DefineParameter(System.Int32,System.Reflection.ParameterAttributes,System.String)">
|
||||
<summary>Defines a parameter of the dynamic method.</summary>
|
||||
<param name="position">The position of the parameter in the parameter list. Parameters are indexed beginning with the number 1 for the first parameter.</param>
|
||||
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.ParameterAttributes" /> values that specifies the attributes of the parameter.</param>
|
||||
<param name="parameterName">The name of the parameter. The name can be a zero-length string.</param>
|
||||
<returns>Always returns <see langword="null" />.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The method has no parameters.
|
||||
-or-
|
||||
<paramref name="position" /> is less than 0.
|
||||
-or-
|
||||
<paramref name="position" /> is greater than the number of the method's parameters.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetBaseDefinition">
|
||||
<summary>Returns the base implementation for the method.</summary>
|
||||
<returns>The base implementation of the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetCustomAttributes(System.Boolean)">
|
||||
<summary>Returns all the custom attributes defined for the method.</summary>
|
||||
<param name="inherit">
|
||||
<see langword="true" /> to search the method's inheritance chain to find the custom attributes; <see langword="false" /> to check only the current method.</param>
|
||||
<returns>An array of objects representing all the custom attributes of the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetCustomAttributes(System.Type,System.Boolean)">
|
||||
<summary>Returns the custom attributes of the specified type that have been applied to the method.</summary>
|
||||
<param name="attributeType">A <see cref="T:System.Type" /> representing the type of custom attribute to return.</param>
|
||||
<param name="inherit">
|
||||
<see langword="true" /> to search the method's inheritance chain to find the custom attributes; <see langword="false" /> to check only the current method.</param>
|
||||
<returns>An array of objects representing the attributes of the method that are of type <paramref name="attributeType" /> or derive from type <paramref name="attributeType" />.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="attributeType" /> is <see langword="null" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetDynamicILInfo">
|
||||
<summary>Returns a <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object that can be used to generate a method body from metadata tokens, scopes, and Microsoft intermediate language (MSIL) streams.</summary>
|
||||
<returns>A <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object that can be used to generate a method body from metadata tokens, scopes, and MSIL streams.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
||||
<summary>Returns a Microsoft intermediate language (MSIL) generator for the method with a default MSIL stream size of 64 bytes.</summary>
|
||||
<returns>An <see cref="T:System.Reflection.Emit.ILGenerator" /> object for the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
||||
<summary>Returns a Microsoft intermediate language (MSIL) generator for the method with the specified MSIL stream size.</summary>
|
||||
<param name="streamSize">The size of the MSIL stream, in bytes.</param>
|
||||
<returns>An <see cref="T:System.Reflection.Emit.ILGenerator" /> object for the method, with the specified MSIL stream size.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetMethodImplementationFlags">
|
||||
<summary>Returns the implementation flags for the method.</summary>
|
||||
<returns>A bitwise combination of <see cref="T:System.Reflection.MethodImplAttributes" /> values representing the implementation flags for the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
||||
<summary>Returns the parameters of the dynamic method.</summary>
|
||||
<returns>An array of <see cref="T:System.Reflection.ParameterInfo" /> objects that represent the parameters of the dynamic method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
||||
<summary>Gets or sets a value indicating whether the local variables in the method are zero-initialized.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the local variables in the method are zero-initialized; otherwise, <see langword="false" />. The default is <see langword="true" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.Invoke(System.Object,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo)">
|
||||
<summary>Invokes the dynamic method using the specified parameters, under the constraints of the specified binder, with the specified culture information.</summary>
|
||||
<param name="obj">This parameter is ignored for dynamic methods, because they are static. Specify <see langword="null" />.</param>
|
||||
<param name="invokeAttr">A bitwise combination of <see cref="T:System.Reflection.BindingFlags" /> values.</param>
|
||||
<param name="binder">A <see cref="T:System.Reflection.Binder" /> object that enables the binding, coercion of argument types, invocation of members, and retrieval of <see cref="T:System.Reflection.MemberInfo" /> objects through reflection. If <paramref name="binder" /> is <see langword="null" />, the default binder is used. For more details, see <see cref="T:System.Reflection.Binder" />.</param>
|
||||
<param name="parameters">An argument list. This is an array of arguments with the same number, order, and type as the parameters of the method to be invoked. If there are no parameters this parameter should be <see langword="null" />.</param>
|
||||
<param name="culture">An instance of <see cref="T:System.Globalization.CultureInfo" /> used to govern the coercion of types. If this is <see langword="null" />, the <see cref="T:System.Globalization.CultureInfo" /> for the current thread is used. For example, this information is needed to correctly convert a <see cref="T:System.String" /> that represents 1000 to a <see cref="T:System.Double" /> value, because 1000 is represented differently by different cultures.</param>
|
||||
<returns>A <see cref="T:System.Object" /> containing the return value of the invoked method.</returns>
|
||||
<exception cref="T:System.NotSupportedException">The <see cref="F:System.Reflection.CallingConventions.VarArgs" /> calling convention is not supported.</exception>
|
||||
<exception cref="T:System.Reflection.TargetParameterCountException">The number of elements in <paramref name="parameters" /> does not match the number of parameters in the dynamic method.</exception>
|
||||
<exception cref="T:System.ArgumentException">The type of one or more elements of <paramref name="parameters" /> does not match the type of the corresponding parameter of the dynamic method.</exception>
|
||||
<exception cref="T:System.Reflection.TargetInvocationException">The dynamic method is associated with a module, is not anonymously hosted, and was constructed with <paramref name="skipVisibility" /> set to <see langword="false" />, but the dynamic method accesses members that are not <see langword="public" /> or <see langword="internal" /> (<see langword="Friend" /> in Visual Basic).
|
||||
-or-
|
||||
The dynamic method is anonymously hosted and was constructed with <paramref name="skipVisibility" /> set to <see langword="false" />, but it accesses members that are not <see langword="public" />.
|
||||
-or-
|
||||
The dynamic method contains unverifiable code. See the "Verification" section in Remarks for <see cref="T:System.Reflection.Emit.DynamicMethod" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.IsDefined(System.Type,System.Boolean)">
|
||||
<summary>Indicates whether the specified custom attribute type is defined.</summary>
|
||||
<param name="attributeType">A <see cref="T:System.Type" /> representing the type of custom attribute to search for.</param>
|
||||
<param name="inherit">
|
||||
<see langword="true" /> to search the method's inheritance chain to find the custom attributes; <see langword="false" /> to check only the current method.</param>
|
||||
<returns>
|
||||
<see langword="true" /> if the specified custom attribute type is defined; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.IsSecurityCritical">
|
||||
<summary>Gets a value that indicates whether the current dynamic method is security-critical or security-safe-critical, and therefore can perform critical operations.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the current dynamic method is security-critical or security-safe-critical; <see langword="false" /> if it is transparent.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method doesn't have a method body.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.IsSecuritySafeCritical">
|
||||
<summary>Gets a value that indicates whether the current dynamic method is security-safe-critical at the current trust level; that is, whether it can perform critical operations and can be accessed by transparent code.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the dynamic method is security-safe-critical at the current trust level; <see langword="false" /> if it is security-critical or transparent.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method doesn't have a method body.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.IsSecurityTransparent">
|
||||
<summary>Gets a value that indicates whether the current dynamic method is transparent at the current trust level, and therefore cannot perform critical operations.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the dynamic method is security-transparent at the current trust level; otherwise, <see langword="false" />.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method doesn't have a method body.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.MethodHandle">
|
||||
<summary>Not supported for dynamic methods.</summary>
|
||||
<returns>Not supported for dynamic methods.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">Not allowed for dynamic methods.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Module">
|
||||
<summary>Gets the module with which the dynamic method is logically associated.</summary>
|
||||
<returns>The <see cref="T:System.Reflection.Module" /> with which the current dynamic method is associated.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
||||
<summary>Gets the name of the dynamic method.</summary>
|
||||
<returns>The simple name of the method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReflectedType">
|
||||
<summary>Gets the class that was used in reflection to obtain the method.</summary>
|
||||
<returns>Always <see langword="null" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
||||
<summary>Gets the return parameter of the dynamic method.</summary>
|
||||
<returns>Always <see langword="null" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
||||
<summary>Gets the type of return value for the dynamic method.</summary>
|
||||
<returns>A <see cref="T:System.Type" /> representing the type of the return value of the current method; <see cref="T:System.Void" /> if the method has no return type.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnTypeCustomAttributes">
|
||||
<summary>Gets the custom attributes of the return type for the dynamic method.</summary>
|
||||
<returns>An <see cref="T:System.Reflection.ICustomAttributeProvider" /> representing the custom attributes of the return type for the dynamic method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
||||
<summary>Returns the signature of the method, represented as a string.</summary>
|
||||
<returns>A string representing the method signature.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+405
@@ -0,0 +1,405 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Reflection.Emit.Lightweight</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Reflection.Emit.DynamicILInfo">
|
||||
<summary>Provides support for alternative ways to generate the Microsoft intermediate language (MSIL) and metadata for a dynamic method, including methods for creating tokens and for inserting the code, exception handling, and local variable signature blobs.</summary>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicILInfo.DynamicMethod">
|
||||
<summary>Gets the dynamic method whose body is generated by the current instance.</summary>
|
||||
<returns>A <see cref="T:System.Reflection.Emit.DynamicMethod" /> object representing the dynamic method for which the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object is generating code.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.Byte[])">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing the signature for the associated dynamic method.</summary>
|
||||
<param name="signature">An array that contains the signature.</param>
|
||||
<returns>A token that can be embedded in the metadata and the MSIL stream for the associated dynamic method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.Reflection.Emit.DynamicMethod)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a dynamic method to be called from the associated method.</summary>
|
||||
<param name="method">The dynamic method to call.</param>
|
||||
<returns>A token that can be embedded in the MSIL stream for the associated dynamic method, as the target of an MSIL instruction.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeFieldHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a field to be accessed from the associated dynamic method.</summary>
|
||||
<param name="field">The field to be accessed.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses fields, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeFieldHandle,System.RuntimeTypeHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a field to be accessed from the associated dynamic method; the field is on the specified generic type.</summary>
|
||||
<param name="field">The field to be accessed.</param>
|
||||
<param name="contextType">The generic type the field belongs to.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses fields in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeMethodHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a method to be accessed from the associated dynamic method.</summary>
|
||||
<param name="method">The method to be accessed.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses methods, such as <see cref="F:System.Reflection.Emit.OpCodes.Call" /> or <see cref="F:System.Reflection.Emit.OpCodes.Ldtoken" />, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeMethodHandle,System.RuntimeTypeHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a method on a generic type.</summary>
|
||||
<param name="method">The method.</param>
|
||||
<param name="contextType">The generic type the method belongs to.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses methods, such as <see cref="F:System.Reflection.Emit.OpCodes.Call" /> or <see cref="F:System.Reflection.Emit.OpCodes.Ldtoken" />, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeTypeHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a type to be used in the associated dynamic method.</summary>
|
||||
<param name="type">The type to be used.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that requires a type, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.String)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a string literal to be used in the associated dynamic method.</summary>
|
||||
<param name="literal">The string to be used.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that requires a string, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetCode(System.Byte*,System.Int32,System.Int32)">
|
||||
<summary>Sets the code body of the associated dynamic method.</summary>
|
||||
<param name="code">A pointer to a byte array containing the MSIL stream.</param>
|
||||
<param name="codeSize">The number of bytes in the MSIL stream.</param>
|
||||
<param name="maxStackSize">The maximum number of items on the operand stack when the method is executing.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="code" /> is <see langword="null" /> and <paramref name="codeSize" /> is greater than 0.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="codeSize" /> is less than 0.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetCode(System.Byte[],System.Int32)">
|
||||
<summary>Sets the code body of the associated dynamic method.</summary>
|
||||
<param name="code">An array that contains the MSIL stream.</param>
|
||||
<param name="maxStackSize">The maximum number of items on the operand stack when the method is executing.</param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetExceptions(System.Byte*,System.Int32)">
|
||||
<summary>Sets the exception metadata for the associated dynamic method.</summary>
|
||||
<param name="exceptions">A pointer to a byte array containing the exception metadata.</param>
|
||||
<param name="exceptionsSize">The number of bytes of exception metadata.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="exceptions" /> is <see langword="null" /> and <paramref name="exceptionSize" /> is greater than 0.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="exceptionSize" /> is less than 0.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetExceptions(System.Byte[])">
|
||||
<summary>Sets the exception metadata for the associated dynamic method.</summary>
|
||||
<param name="exceptions">An array that contains the exception metadata.</param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetLocalSignature(System.Byte*,System.Int32)">
|
||||
<summary>Sets the local variable signature that describes the layout of local variables for the associated dynamic method.</summary>
|
||||
<param name="localSignature">An array that contains the layout of local variables for the associated <see cref="T:System.Reflection.Emit.DynamicMethod" />.</param>
|
||||
<param name="signatureSize">The number of bytes in the signature.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="localSignature" /> is <see langword="null" /> and <paramref name="signatureSize" /> is greater than 0.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="signatureSize" /> is less than 0.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetLocalSignature(System.Byte[])">
|
||||
<summary>Sets the local variable signature that describes the layout of local variables for the associated dynamic method.</summary>
|
||||
<param name="localSignature">An array that contains the layout of local variables for the associated <see cref="T:System.Reflection.Emit.DynamicMethod" />.</param>
|
||||
</member>
|
||||
<member name="T:System.Reflection.Emit.DynamicMethod">
|
||||
<summary>Defines and represents a dynamic method that can be compiled, executed, and discarded. Discarded methods are available for garbage collection.</summary>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, attributes, calling convention, return type, parameter types, module, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.MethodAttributes" /> values that specifies the attributes of the dynamic method. The only combination allowed is <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">The calling convention for the dynamic method. Must be <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="m" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> is a combination of flags other than <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.
|
||||
-or-
|
||||
<paramref name="callingConvention" /> is not <see cref="F:System.Reflection.CallingConventions.Standard" />.
|
||||
-or-
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Creates a dynamic method, specifying the method name, attributes, calling convention, return type, parameter types, the type with which the dynamic method is logically associated, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.MethodAttributes" /> values that specifies the attributes of the dynamic method. The only combination allowed is <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">The calling convention for the dynamic method. Must be <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> is a combination of flags other than <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.
|
||||
-or-
|
||||
<paramref name="callingConvention" /> is not <see cref="F:System.Reflection.CallingConventions.Standard" />.
|
||||
-or-
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
||||
<summary>Initializes an anonymously hosted dynamic method, specifying the method name, return type, and parameter types.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
||||
<summary>Initializes an anonymously hosted dynamic method, specifying the method name, return type, parameter types, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="restrictedSkipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method, with this restriction: the trust level of the assemblies that contain those types and members must be equal to or less than the trust level of the call stack that emits the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, return type, parameter types, and module.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="m" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, return type, parameter types, module, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="m" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
||||
<summary>Creates a dynamic method, specifying the method name, return type, parameter types, and the type with which the dynamic method is logically associated.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is <see langword="null" />, or is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Creates a dynamic method, specifying the method name, return type, parameter types, the type with which the dynamic method is logically associated, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is <see langword="null" />, or is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
||||
<summary>Gets the attributes specified when the dynamic method was created.</summary>
|
||||
<returns>A bitwise combination of the <see cref="T:System.Reflection.MethodAttributes" /> values representing the attributes for the method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
||||
<summary>Gets the calling convention specified when the dynamic method was created.</summary>
|
||||
<returns>One of the <see cref="T:System.Reflection.CallingConventions" /> values that indicates the calling convention of the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
||||
<summary>Completes the dynamic method and creates a delegate that can be used to execute it.</summary>
|
||||
<param name="delegateType">A delegate type whose signature matches that of the dynamic method.</param>
|
||||
<returns>A delegate of the specified type, which can be used to execute the dynamic method.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method has no method body.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="delegateType" /> has the wrong number of parameters or the wrong parameter types.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
||||
<summary>Completes the dynamic method and creates a delegate that can be used to execute it, specifying the delegate type and an object the delegate is bound to.</summary>
|
||||
<param name="delegateType">A delegate type whose signature matches that of the dynamic method, minus the first parameter.</param>
|
||||
<param name="target">An object the delegate is bound to. Must be of the same type as the first parameter of the dynamic method.</param>
|
||||
<returns>A delegate of the specified type, which can be used to execute the dynamic method with the specified target object.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method has no method body.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="target" /> is not the same type as the first parameter of the dynamic method, and is not assignable to that type.
|
||||
-or-
|
||||
<paramref name="delegateType" /> has the wrong number of parameters or the wrong parameter types.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
||||
<summary>Gets the type that declares the method, which is always <see langword="null" /> for dynamic methods.</summary>
|
||||
<returns>Always <see langword="null" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.DefineParameter(System.Int32,System.Reflection.ParameterAttributes,System.String)">
|
||||
<summary>Defines a parameter of the dynamic method.</summary>
|
||||
<param name="position">The position of the parameter in the parameter list. Parameters are indexed beginning with the number 1 for the first parameter.</param>
|
||||
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.ParameterAttributes" /> values that specifies the attributes of the parameter.</param>
|
||||
<param name="parameterName">The name of the parameter. The name can be a zero-length string.</param>
|
||||
<returns>Always returns <see langword="null" />.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The method has no parameters.
|
||||
-or-
|
||||
<paramref name="position" /> is less than 0.
|
||||
-or-
|
||||
<paramref name="position" /> is greater than the number of the method's parameters.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetBaseDefinition">
|
||||
<summary>Returns the base implementation for the method.</summary>
|
||||
<returns>The base implementation of the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetCustomAttributes(System.Boolean)">
|
||||
<summary>Returns all the custom attributes defined for the method.</summary>
|
||||
<param name="inherit">
|
||||
<see langword="true" /> to search the method's inheritance chain to find the custom attributes; <see langword="false" /> to check only the current method.</param>
|
||||
<returns>An array of objects representing all the custom attributes of the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetCustomAttributes(System.Type,System.Boolean)">
|
||||
<summary>Returns the custom attributes of the specified type that have been applied to the method.</summary>
|
||||
<param name="attributeType">A <see cref="T:System.Type" /> representing the type of custom attribute to return.</param>
|
||||
<param name="inherit">
|
||||
<see langword="true" /> to search the method's inheritance chain to find the custom attributes; <see langword="false" /> to check only the current method.</param>
|
||||
<returns>An array of objects representing the attributes of the method that are of type <paramref name="attributeType" /> or derive from type <paramref name="attributeType" />.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="attributeType" /> is <see langword="null" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetDynamicILInfo">
|
||||
<summary>Returns a <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object that can be used to generate a method body from metadata tokens, scopes, and Microsoft intermediate language (MSIL) streams.</summary>
|
||||
<returns>A <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object that can be used to generate a method body from metadata tokens, scopes, and MSIL streams.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
||||
<summary>Returns a Microsoft intermediate language (MSIL) generator for the method with a default MSIL stream size of 64 bytes.</summary>
|
||||
<returns>An <see cref="T:System.Reflection.Emit.ILGenerator" /> object for the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
||||
<summary>Returns a Microsoft intermediate language (MSIL) generator for the method with the specified MSIL stream size.</summary>
|
||||
<param name="streamSize">The size of the MSIL stream, in bytes.</param>
|
||||
<returns>An <see cref="T:System.Reflection.Emit.ILGenerator" /> object for the method, with the specified MSIL stream size.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetMethodImplementationFlags">
|
||||
<summary>Returns the implementation flags for the method.</summary>
|
||||
<returns>A bitwise combination of <see cref="T:System.Reflection.MethodImplAttributes" /> values representing the implementation flags for the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
||||
<summary>Returns the parameters of the dynamic method.</summary>
|
||||
<returns>An array of <see cref="T:System.Reflection.ParameterInfo" /> objects that represent the parameters of the dynamic method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
||||
<summary>Gets or sets a value indicating whether the local variables in the method are zero-initialized.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the local variables in the method are zero-initialized; otherwise, <see langword="false" />. The default is <see langword="true" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.Invoke(System.Object,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo)">
|
||||
<summary>Invokes the dynamic method using the specified parameters, under the constraints of the specified binder, with the specified culture information.</summary>
|
||||
<param name="obj">This parameter is ignored for dynamic methods, because they are static. Specify <see langword="null" />.</param>
|
||||
<param name="invokeAttr">A bitwise combination of <see cref="T:System.Reflection.BindingFlags" /> values.</param>
|
||||
<param name="binder">A <see cref="T:System.Reflection.Binder" /> object that enables the binding, coercion of argument types, invocation of members, and retrieval of <see cref="T:System.Reflection.MemberInfo" /> objects through reflection. If <paramref name="binder" /> is <see langword="null" />, the default binder is used. For more details, see <see cref="T:System.Reflection.Binder" />.</param>
|
||||
<param name="parameters">An argument list. This is an array of arguments with the same number, order, and type as the parameters of the method to be invoked. If there are no parameters this parameter should be <see langword="null" />.</param>
|
||||
<param name="culture">An instance of <see cref="T:System.Globalization.CultureInfo" /> used to govern the coercion of types. If this is <see langword="null" />, the <see cref="T:System.Globalization.CultureInfo" /> for the current thread is used. For example, this information is needed to correctly convert a <see cref="T:System.String" /> that represents 1000 to a <see cref="T:System.Double" /> value, because 1000 is represented differently by different cultures.</param>
|
||||
<returns>A <see cref="T:System.Object" /> containing the return value of the invoked method.</returns>
|
||||
<exception cref="T:System.NotSupportedException">The <see cref="F:System.Reflection.CallingConventions.VarArgs" /> calling convention is not supported.</exception>
|
||||
<exception cref="T:System.Reflection.TargetParameterCountException">The number of elements in <paramref name="parameters" /> does not match the number of parameters in the dynamic method.</exception>
|
||||
<exception cref="T:System.ArgumentException">The type of one or more elements of <paramref name="parameters" /> does not match the type of the corresponding parameter of the dynamic method.</exception>
|
||||
<exception cref="T:System.Reflection.TargetInvocationException">The dynamic method is associated with a module, is not anonymously hosted, and was constructed with <paramref name="skipVisibility" /> set to <see langword="false" />, but the dynamic method accesses members that are not <see langword="public" /> or <see langword="internal" /> (<see langword="Friend" /> in Visual Basic).
|
||||
-or-
|
||||
The dynamic method is anonymously hosted and was constructed with <paramref name="skipVisibility" /> set to <see langword="false" />, but it accesses members that are not <see langword="public" />.
|
||||
-or-
|
||||
The dynamic method contains unverifiable code. See the "Verification" section in Remarks for <see cref="T:System.Reflection.Emit.DynamicMethod" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.IsDefined(System.Type,System.Boolean)">
|
||||
<summary>Indicates whether the specified custom attribute type is defined.</summary>
|
||||
<param name="attributeType">A <see cref="T:System.Type" /> representing the type of custom attribute to search for.</param>
|
||||
<param name="inherit">
|
||||
<see langword="true" /> to search the method's inheritance chain to find the custom attributes; <see langword="false" /> to check only the current method.</param>
|
||||
<returns>
|
||||
<see langword="true" /> if the specified custom attribute type is defined; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.IsSecurityCritical">
|
||||
<summary>Gets a value that indicates whether the current dynamic method is security-critical or security-safe-critical, and therefore can perform critical operations.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the current dynamic method is security-critical or security-safe-critical; <see langword="false" /> if it is transparent.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method doesn't have a method body.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.IsSecuritySafeCritical">
|
||||
<summary>Gets a value that indicates whether the current dynamic method is security-safe-critical at the current trust level; that is, whether it can perform critical operations and can be accessed by transparent code.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the dynamic method is security-safe-critical at the current trust level; <see langword="false" /> if it is security-critical or transparent.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method doesn't have a method body.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.IsSecurityTransparent">
|
||||
<summary>Gets a value that indicates whether the current dynamic method is transparent at the current trust level, and therefore cannot perform critical operations.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the dynamic method is security-transparent at the current trust level; otherwise, <see langword="false" />.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method doesn't have a method body.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.MethodHandle">
|
||||
<summary>Not supported for dynamic methods.</summary>
|
||||
<returns>Not supported for dynamic methods.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">Not allowed for dynamic methods.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Module">
|
||||
<summary>Gets the module with which the dynamic method is logically associated.</summary>
|
||||
<returns>The <see cref="T:System.Reflection.Module" /> with which the current dynamic method is associated.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
||||
<summary>Gets the name of the dynamic method.</summary>
|
||||
<returns>The simple name of the method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReflectedType">
|
||||
<summary>Gets the class that was used in reflection to obtain the method.</summary>
|
||||
<returns>Always <see langword="null" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
||||
<summary>Gets the return parameter of the dynamic method.</summary>
|
||||
<returns>Always <see langword="null" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
||||
<summary>Gets the type of return value for the dynamic method.</summary>
|
||||
<returns>A <see cref="T:System.Type" /> representing the type of the return value of the current method; <see cref="T:System.Void" /> if the method has no return type.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnTypeCustomAttributes">
|
||||
<summary>Gets the custom attributes of the return type for the dynamic method.</summary>
|
||||
<returns>An <see cref="T:System.Reflection.ICustomAttributeProvider" /> representing the custom attributes of the return type for the dynamic method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
||||
<summary>Returns the signature of the method, represented as a string.</summary>
|
||||
<returns>A string representing the method signature.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
Binary file not shown.
+177
@@ -0,0 +1,177 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Reflection.Emit.Lightweight</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Reflection.Emit.DynamicMethod">
|
||||
<summary>Defines and represents a dynamic method that can be compiled, executed, and discarded. Discarded methods are available for garbage collection.</summary>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, attributes, calling convention, return type, parameter types, module, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null.</param>
|
||||
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.MethodAttributes" /> values that specifies the attributes of the dynamic method. The only combination allowed is <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">The calling convention for the dynamic method. Must be <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated. </param>
|
||||
<param name="skipVisibility">true to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, false. </param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />.-or-<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is null. -or-<paramref name="m" /> is null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> is a combination of flags other than <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.-or-<paramref name="callingConvention" /> is not <see cref="F:System.Reflection.CallingConventions.Standard" />.-or-<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Creates a dynamic method, specifying the method name, attributes, calling convention, return type, parameter types, the type with which the dynamic method is logically associated, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null.</param>
|
||||
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.MethodAttributes" /> values that specifies the attributes of the dynamic method. The only combination allowed is <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">The calling convention for the dynamic method. Must be <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
||||
<param name="skipVisibility">true to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, false.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />. -or-<paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is null. -or-<paramref name="owner" /> is null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> is a combination of flags other than <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.-or-<paramref name="callingConvention" /> is not <see cref="F:System.Reflection.CallingConventions.Standard" />.-or-<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
||||
<summary>Initializes an anonymously hosted dynamic method, specifying the method name, return type, and parameter types. </summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null. </param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />. </exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is null. </exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
||||
<summary>Initializes an anonymously hosted dynamic method, specifying the method name, return type, parameter types, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method. </summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null. </param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
||||
<param name="restrictedSkipVisibility">true to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method, with this restriction: the trust level of the assemblies that contain those types and members must be equal to or less than the trust level of the call stack that emits the dynamic method; otherwise, false. </param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is null. </exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, return type, parameter types, and module.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null. </param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated. </param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />. -or-<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is null. -or-<paramref name="m" /> is null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, return type, parameter types, module, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null. </param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated. </param>
|
||||
<param name="skipVisibility">true to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method. </param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />. -or-<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is null. -or-<paramref name="m" /> is null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
||||
<summary>Creates a dynamic method, specifying the method name, return type, parameter types, and the type with which the dynamic method is logically associated.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null. </param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type. </param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />.-or- <paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method. </exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is null. -or-<paramref name="owner" /> is null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is null, or is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Creates a dynamic method, specifying the method name, return type, parameter types, the type with which the dynamic method is logically associated, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null. </param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
||||
<param name="skipVisibility">true to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, false. </param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />.-or- <paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is null. -or-<paramref name="owner" /> is null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is null, or is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
||||
<summary>Gets the attributes specified when the dynamic method was created.</summary>
|
||||
<returns>A bitwise combination of the <see cref="T:System.Reflection.MethodAttributes" /> values representing the attributes for the method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
||||
<summary>Gets the calling convention specified when the dynamic method was created.</summary>
|
||||
<returns>One of the <see cref="T:System.Reflection.CallingConventions" /> values that indicates the calling convention of the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
||||
<summary>Completes the dynamic method and creates a delegate that can be used to execute it.</summary>
|
||||
<returns>A delegate of the specified type, which can be used to execute the dynamic method.</returns>
|
||||
<param name="delegateType">A delegate type whose signature matches that of the dynamic method. </param>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method has no method body.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="delegateType" /> has the wrong number of parameters or the wrong parameter types.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
||||
<summary>Completes the dynamic method and creates a delegate that can be used to execute it, specifying the delegate type and an object the delegate is bound to.</summary>
|
||||
<returns>A delegate of the specified type, which can be used to execute the dynamic method with the specified target object.</returns>
|
||||
<param name="delegateType">A delegate type whose signature matches that of the dynamic method, minus the first parameter.</param>
|
||||
<param name="target">An object the delegate is bound to. Must be of the same type as the first parameter of the dynamic method. </param>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method has no method body.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="target" /> is not the same type as the first parameter of the dynamic method, and is not assignable to that type.-or-<paramref name="delegateType" /> has the wrong number of parameters or the wrong parameter types.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
||||
<summary>Gets the type that declares the method, which is always null for dynamic methods.</summary>
|
||||
<returns>Always null.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
||||
<summary>Returns a Microsoft intermediate language (MSIL) generator for the method with a default MSIL stream size of 64 bytes.</summary>
|
||||
<returns>An <see cref="T:System.Reflection.Emit.ILGenerator" /> object for the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
||||
<summary>Returns a Microsoft intermediate language (MSIL) generator for the method with the specified MSIL stream size.</summary>
|
||||
<returns>An <see cref="T:System.Reflection.Emit.ILGenerator" /> object for the method, with the specified MSIL stream size.</returns>
|
||||
<param name="streamSize">The size of the MSIL stream, in bytes. </param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
||||
<summary>Returns the parameters of the dynamic method.</summary>
|
||||
<returns>An array of <see cref="T:System.Reflection.ParameterInfo" /> objects that represent the parameters of the dynamic method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
||||
<summary>Gets or sets a value indicating whether the local variables in the method are zero-initialized. </summary>
|
||||
<returns>true if the local variables in the method are zero-initialized; otherwise, false. The default is true.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.MethodImplementationFlags"></member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
||||
<summary>Gets the name of the dynamic method.</summary>
|
||||
<returns>The simple name of the method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
||||
<summary>Gets the return parameter of the dynamic method.</summary>
|
||||
<returns>Always null. </returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
||||
<summary>Gets the type of return value for the dynamic method.</summary>
|
||||
<returns>A <see cref="T:System.Type" /> representing the type of the return value of the current method; <see cref="T:System.Void" /> if the method has no return type.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
||||
<summary>Returns the signature of the method, represented as a string.</summary>
|
||||
<returns>A string representing the method signature.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
+177
@@ -0,0 +1,177 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Reflection.Emit.Lightweight</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Reflection.Emit.DynamicMethod">
|
||||
<summary>Definiert und stellt eine dynamische Methode dar, die kompiliert ausgeführt und verworfen werden kann.Verworfene Methoden sind für die Garbage Collection verfügbar.</summary>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Erstellt eine dynamische Methode, die in einem Modul global ist, unter Angabe von Methodenname, Attributen, Aufrufkonvention, Rückgabetyp, Parametertypen und Modul sowie, ob Just-In-Time (JIT)-Sichtbarkeitsprüfungen für Typen und Member übersprungen werden sollen, auf die von der Microsoft intermediate language (MSIL) der dynamischen Methode zugegriffen wird.</summary>
|
||||
<param name="name">Der Name der dynamischen Methode.Die Zeichenfolge kann die Länge 0 (null) haben, darf aber nicht null sein.</param>
|
||||
<param name="attributes">Eine bitweise Kombination von <see cref="T:System.Reflection.MethodAttributes" />-Werten, die die Attribute der dynamischen Methode angibt.Die einzige zulässige Kombination ist <see cref="F:System.Reflection.MethodAttributes.Public" /> und <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">Die Aufrufkonvention für die dynamische Methode.Dieser Wert muss <see cref="F:System.Reflection.CallingConventions.Standard" /> sein.</param>
|
||||
<param name="returnType">Ein <see cref="T:System.Type" />-Objekt, das den Rückgabetyp der dynamischen Methode angibt, oder null, wenn die Methode über keinen Rückgabetyp verfügt. </param>
|
||||
<param name="parameterTypes">Ein Array von <see cref="T:System.Type" />-Objekten, die die Parametertypen der dynamischen Methode angeben, oder null, wenn die Methode über keine Parameter verfügt. </param>
|
||||
<param name="m">Ein <see cref="T:System.Reflection.Module" />, das das Modul darstellt, dem die dynamische Methode logisch zugeordnet ist. </param>
|
||||
<param name="skipVisibility">true, wenn bei Zugriffen durch die MSIL der dynamischen Methode JIT-Sichtbarkeitsprüfungen für Typen und Member übersprungen werden, andernfalls false. </param>
|
||||
<exception cref="T:System.ArgumentException">Ein Element von <paramref name="parameterTypes" /> ist null oder <see cref="T:System.Void" />.- oder -<paramref name="m" /> ist ein Modul, das anonymes Hosting für dynamische Methoden bereitstellt.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> ist null. - oder -<paramref name="m" /> ist null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> ist eine Kombination aus anderen Flags als <see cref="F:System.Reflection.MethodAttributes.Public" /> und <see cref="F:System.Reflection.MethodAttributes.Static" />.- oder -<paramref name="callingConvention" /> ist nicht <see cref="F:System.Reflection.CallingConventions.Standard" />.- oder -<paramref name="returnType" /> ist ein Typ, für den <see cref="P:System.Type.IsByRef" />true zurückgibt. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Erstellt eine dynamische Methode unter Angabe von Methodenname, Attributen, Aufrufkonvention, Rückgabetyp, Parametertypen, dem Typ, dem die dynamische Methode logisch zugeordnet ist, sowie, ob Just-In-Time (JIT)-Sichtbarkeitsprüfungen für Typen und Member bei Zugriffen durch die Microsoft Intermediate Language (MSIL) der dynamischen Methode übersprungen werden.</summary>
|
||||
<param name="name">Der Name der dynamischen Methode.Die Zeichenfolge kann die Länge 0 (null) haben, darf aber nicht null sein.</param>
|
||||
<param name="attributes">Eine bitweise Kombination von <see cref="T:System.Reflection.MethodAttributes" />-Werten, die die Attribute der dynamischen Methode angibt.Die einzige zulässige Kombination ist <see cref="F:System.Reflection.MethodAttributes.Public" /> und <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">Die Aufrufkonvention für die dynamische Methode.Dieser Wert muss <see cref="F:System.Reflection.CallingConventions.Standard" /> sein.</param>
|
||||
<param name="returnType">Ein <see cref="T:System.Type" />-Objekt, das den Rückgabetyp der dynamischen Methode angibt, oder null, wenn die Methode über keinen Rückgabetyp verfügt. </param>
|
||||
<param name="parameterTypes">Ein Array von <see cref="T:System.Type" />-Objekten, die die Parametertypen der dynamischen Methode angeben, oder null, wenn die Methode über keine Parameter verfügt. </param>
|
||||
<param name="owner">Ein <see cref="T:System.Type" />, dem die dynamische Methode logisch zugeordnet ist.Die dynamische Methode hat Zugriff auf alle Member des Typs.</param>
|
||||
<param name="skipVisibility">true, wenn bei Zugriffen durch die MSIL der dynamischen Methode JIT-Sichtbarkeitsprüfungen für Typen und Member übersprungen werden, andernfalls false.</param>
|
||||
<exception cref="T:System.ArgumentException">Ein Element von <paramref name="parameterTypes" /> ist null oder <see cref="T:System.Void" />. - oder -<paramref name="owner" /> ist eine Schnittstelle, ein Array, ein offener generischer Typ oder ein Typparameter eines generischen Typs oder einer generischen Methode.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> ist null. - oder -<paramref name="owner" /> ist null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> ist eine Kombination aus anderen Flags als <see cref="F:System.Reflection.MethodAttributes.Public" /> und <see cref="F:System.Reflection.MethodAttributes.Static" />.- oder -<paramref name="callingConvention" /> ist nicht <see cref="F:System.Reflection.CallingConventions.Standard" />.- oder -<paramref name="returnType" /> ist ein Typ, für den <see cref="P:System.Type.IsByRef" />true zurückgibt. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
||||
<summary>Initialisiert eine anonym gehostete dynamische Methode und gibt den Methodennamen, Rückgabetyp und Parametertypen an. </summary>
|
||||
<param name="name">Der Name der dynamischen Methode.Die Zeichenfolge kann die Länge 0 (null) haben, darf aber nicht null sein.</param>
|
||||
<param name="returnType">Ein <see cref="T:System.Type" />-Objekt, das den Rückgabetyp der dynamischen Methode angibt, oder null, wenn die Methode über keinen Rückgabetyp verfügt. </param>
|
||||
<param name="parameterTypes">Ein Array von <see cref="T:System.Type" />-Objekten, die die Parametertypen der dynamischen Methode angeben, oder null, wenn die Methode über keine Parameter verfügt. </param>
|
||||
<exception cref="T:System.ArgumentException">Ein Element von <paramref name="parameterTypes" /> ist null oder <see cref="T:System.Void" />. </exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> ist null. </exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> ist ein Typ, für den <see cref="P:System.Type.IsByRef" />true zurückgibt. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
||||
<summary>Initialisiert eine anonym gehostete dynamische Methode unter Angabe von Methodenname, Rückgabetyp und Parametertypen sowie, ob Just-In-Time (JIT)-Sichtbarkeitsprüfungen für Typen und Member übersprungen werden sollen, auf die von der Microsoft intermediate language (MSIL) der dynamischen Methode zugegriffen wird. </summary>
|
||||
<param name="name">Der Name der dynamischen Methode.Die Zeichenfolge kann die Länge 0 (null) haben, darf aber nicht null sein.</param>
|
||||
<param name="returnType">Ein <see cref="T:System.Type" />-Objekt, das den Rückgabetyp der dynamischen Methode angibt, oder null, wenn die Methode über keinen Rückgabetyp verfügt. </param>
|
||||
<param name="parameterTypes">Ein Array von <see cref="T:System.Type" />-Objekten, die die Parametertypen der dynamischen Methode angeben, oder null, wenn die Methode über keine Parameter verfügt. </param>
|
||||
<param name="restrictedSkipVisibility">true, wenn JIT-Sichtbarkeitsprüfungen für Typen und Member bei Zugriffen durch die MSIL der dynamischen Methode übersprungen werden sollen, mit folgender Einschränkung: die Vertrauensebene der Assemblys, die diese Typen und Member enthalten, muss identisch sein mit oder kleiner sein als die Vertrauensebene der Aufrufliste, die die dynamische Methode ausgibt, andernfalls false. </param>
|
||||
<exception cref="T:System.ArgumentException">Ein Element von <paramref name="parameterTypes" /> ist null oder <see cref="T:System.Void" />.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> ist null. </exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> ist ein Typ, für den <see cref="P:System.Type.IsByRef" />true zurückgibt. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
||||
<summary>Erstellt eine dynamische Methode, die zu einem Modul global ist, unter Angabe von Methodenname, Rückgabetyp, Parametertypen und Modul.</summary>
|
||||
<param name="name">Der Name der dynamischen Methode.Die Zeichenfolge kann die Länge 0 (null) haben, darf aber nicht null sein.</param>
|
||||
<param name="returnType">Ein <see cref="T:System.Type" />-Objekt, das den Rückgabetyp der dynamischen Methode angibt, oder null, wenn die Methode über keinen Rückgabetyp verfügt. </param>
|
||||
<param name="parameterTypes">Ein Array von <see cref="T:System.Type" />-Objekten, die die Parametertypen der dynamischen Methode angeben, oder null, wenn die Methode über keine Parameter verfügt. </param>
|
||||
<param name="m">Ein <see cref="T:System.Reflection.Module" />, das das Modul darstellt, dem die dynamische Methode logisch zugeordnet ist. </param>
|
||||
<exception cref="T:System.ArgumentException">Ein Element von <paramref name="parameterTypes" /> ist null oder <see cref="T:System.Void" />. - oder -<paramref name="m" /> ist ein Modul, das anonymes Hosting für dynamische Methoden bereitstellt.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> ist null. - oder -<paramref name="m" /> ist null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> ist ein Typ, für den <see cref="P:System.Type.IsByRef" />true zurückgibt. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Erstellt eine dynamische Methode, die in einem Modul global ist, unter Angabe von Methodenname, Rückgabetyp, Parametertypen und Modul sowie, ob Just-In-Time (JIT)-Sichtbarkeitsprüfungen für Typen und Member übersprungen werden sollen, auf die von der Microsoft intermediate language (MSIL) der dynamischen Methode zugegriffen wird.</summary>
|
||||
<param name="name">Der Name der dynamischen Methode.Die Zeichenfolge kann die Länge 0 (null) haben, darf aber nicht null sein.</param>
|
||||
<param name="returnType">Ein <see cref="T:System.Type" />-Objekt, das den Rückgabetyp der dynamischen Methode angibt, oder null, wenn die Methode über keinen Rückgabetyp verfügt. </param>
|
||||
<param name="parameterTypes">Ein Array von <see cref="T:System.Type" />-Objekten, die die Parametertypen der dynamischen Methode angeben, oder null, wenn die Methode über keine Parameter verfügt. </param>
|
||||
<param name="m">Ein <see cref="T:System.Reflection.Module" />, das das Modul darstellt, dem die dynamische Methode logisch zugeordnet ist. </param>
|
||||
<param name="skipVisibility">true, wenn bei Zugriffen durch die MSIL der dynamischen Methode JIT-Sichtbarkeitsprüfungen für Typen und Member übersprungen werden </param>
|
||||
<exception cref="T:System.ArgumentException">Ein Element von <paramref name="parameterTypes" /> ist null oder <see cref="T:System.Void" />. - oder -<paramref name="m" /> ist ein Modul, das anonymes Hosting für dynamische Methoden bereitstellt.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> ist null. - oder -<paramref name="m" /> ist null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> ist ein Typ, für den <see cref="P:System.Type.IsByRef" />true zurückgibt. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
||||
<summary>Erstellt eine dynamische Methode unter Angabe von Methodenname, Rückgabetyp, Parametertypen und dem Typ, dem die dynamische Methode logisch zugeordnet ist.</summary>
|
||||
<param name="name">Der Name der dynamischen Methode.Die Zeichenfolge kann die Länge 0 (null) haben, darf aber nicht null sein.</param>
|
||||
<param name="returnType">Ein <see cref="T:System.Type" />-Objekt, das den Rückgabetyp der dynamischen Methode angibt, oder null, wenn die Methode über keinen Rückgabetyp verfügt. </param>
|
||||
<param name="parameterTypes">Ein Array von <see cref="T:System.Type" />-Objekten, die die Parametertypen der dynamischen Methode angeben, oder null, wenn die Methode über keine Parameter verfügt. </param>
|
||||
<param name="owner">Ein <see cref="T:System.Type" />, dem die dynamische Methode logisch zugeordnet ist.Die dynamische Methode hat Zugriff auf alle Member des Typs.</param>
|
||||
<exception cref="T:System.ArgumentException">Ein Element von <paramref name="parameterTypes" /> ist null oder <see cref="T:System.Void" />.- oder - <paramref name="owner" /> ist eine Schnittstelle, ein Array, ein offener generischer Typ oder ein Typparameter eines generischen Typs oder einer generischen Methode. </exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> ist null. - oder -<paramref name="owner" /> ist null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> ist null oder ein Typ, für den <see cref="P:System.Type.IsByRef" />true zurückgibt. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Erstellt eine dynamische Methode unter Angabe von Methodenname, Rückgabetyp, Parametertypen, dem Typ, dem die dynamische Methode logisch zugeordnet ist, sowie, ob Just-In-Time (JIT)-Sichtbarkeitsprüfungen für Typen und Member bei Zugriffen durch die Microsoft Intermediate Language (MSIL) der dynamischen Methode übersprungen werden.</summary>
|
||||
<param name="name">Der Name der dynamischen Methode.Die Zeichenfolge kann die Länge 0 (null) haben, darf aber nicht null sein.</param>
|
||||
<param name="returnType">Ein <see cref="T:System.Type" />-Objekt, das den Rückgabetyp der dynamischen Methode angibt, oder null, wenn die Methode über keinen Rückgabetyp verfügt. </param>
|
||||
<param name="parameterTypes">Ein Array von <see cref="T:System.Type" />-Objekten, die die Parametertypen der dynamischen Methode angeben, oder null, wenn die Methode über keine Parameter verfügt. </param>
|
||||
<param name="owner">Ein <see cref="T:System.Type" />, dem die dynamische Methode logisch zugeordnet ist.Die dynamische Methode hat Zugriff auf alle Member des Typs.</param>
|
||||
<param name="skipVisibility">true, wenn bei Zugriffen durch die MSIL der dynamischen Methode JIT-Sichtbarkeitsprüfungen für Typen und Member übersprungen werden, andernfalls false. </param>
|
||||
<exception cref="T:System.ArgumentException">Ein Element von <paramref name="parameterTypes" /> ist null oder <see cref="T:System.Void" />.- oder - <paramref name="owner" /> ist eine Schnittstelle, ein Array, ein offener generischer Typ oder ein Typparameter eines generischen Typs oder einer generischen Methode.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> ist null. - oder -<paramref name="owner" /> ist null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> ist null oder ein Typ, für den <see cref="P:System.Type.IsByRef" />true zurückgibt. </exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
||||
<summary>Ruft die beim Erstellen der dynamischen Methode angegebenen Attribute ab.</summary>
|
||||
<returns>Eine bitweise Kombination der <see cref="T:System.Reflection.MethodAttributes" />-Werte, die die Attribute für die Methode darstellen.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
||||
<summary>Ruft die beim Erstellen der dynamischen Methode angegebene Aufrufkonvention ab.</summary>
|
||||
<returns>Einer der <see cref="T:System.Reflection.CallingConventions" />-Werte, der die Aufrufkonvention der Methode angibt.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
||||
<summary>Vervollständigt die dynamische Methode und erstellt einen Delegaten, mit der sie ausgeführt werden kann.</summary>
|
||||
<returns>Ein Delegat des angegebenen Typs, mit dem die dynamische Methode ausgeführt werden kann.</returns>
|
||||
<param name="delegateType">Ein Delegattyp, dessen Signatur der der dynamischen Methode entspricht. </param>
|
||||
<exception cref="T:System.InvalidOperationException">Die dynamische Methode verfügt über keinen Methodentext.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="delegateType" /> hat die falsche Anzahl von Parametern oder die falschen Parametertypen.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
||||
<summary>Vervollständigt die dynamische Methode und erstellt einen Delegaten, mit dem diese ausgeführt werden kann, unter Angabe des Delegattyps und eines Objekts, an das der Delegat gebunden ist.</summary>
|
||||
<returns>Ein Delegat des angegebenen Typs, mit dem die dynamische Methode für das angegebene Zielobjekt ausgeführt werden kann.</returns>
|
||||
<param name="delegateType">Ein Delegattyp, dessen Signatur der der dynamischen Methode ohne den ersten Parameter entspricht.</param>
|
||||
<param name="target">Ein Objekt, an das der Delegat gebunden ist.Dieses muss von demselben Typ wie der erste Parameter der dynamischen Methode sein.</param>
|
||||
<exception cref="T:System.InvalidOperationException">Die dynamische Methode verfügt über keinen Methodentext.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="target" /> ist nicht von demselben Typ wie der erste Parameter der dynamischen Methode und kann diesem Typ nicht zugeordnet werden.- oder -<paramref name="delegateType" /> hat die falsche Anzahl von Parametern oder die falschen Parametertypen.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
||||
<summary>Ruft den Typ ab, der die Methode deklariert, die für dynamische Methoden immer null ist.</summary>
|
||||
<returns>Immer null.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
||||
<summary>Gibt einen MSIL-Generator (Microsoft Intermediate Language) für die Methode mit einer MSIL-Standardstreamgröße von 64 Bytes zurück.</summary>
|
||||
<returns>Ein <see cref="T:System.Reflection.Emit.ILGenerator" />-Objekt für die Methode.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
||||
<summary>Gibt einen MSIL-Generator (Microsoft Intermediate Language) für die Methode mit der angegebenen MSIL-Streamgröße zurück.</summary>
|
||||
<returns>Ein <see cref="T:System.Reflection.Emit.ILGenerator" />-Objekt für die Methode mit der angegebenen MSIL-Streamgröße.</returns>
|
||||
<param name="streamSize">Die Größe des MSIL-Streams in Bytes. </param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
||||
<summary>Gibt die Parameter der dynamischen Methode zurück.</summary>
|
||||
<returns>Ein Array von <see cref="T:System.Reflection.ParameterInfo" />-Objekten, die die Parameter der dynamischen Methode darstellen.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
||||
<summary>Ruft einen Wert ab, der angibt, ob die lokalen Variablen in der Methode mit 0 (null) initialisiert werden, oder legt diesen fest. </summary>
|
||||
<returns>true, wenn die lokalen Variablen in der Methode mit 0 (null) initialisiert werden, andernfalls false.Die Standardeinstellung ist true.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.MethodImplementationFlags"></member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
||||
<summary>Ruft den Namen der dynamischen Methode ab.</summary>
|
||||
<returns>Der einfache Name der Methode.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
||||
<summary>Ruft den Rückgabeparameter der dynamischen Methode ab.</summary>
|
||||
<returns>Immer null. </returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
||||
<summary>Ruft den Typ des Rückgabewerts für die dynamische Methode ab.</summary>
|
||||
<returns>Ein <see cref="T:System.Type" />, der den Typ des Rückgabewerts der aktuellen Methode darstellt, <see cref="T:System.Void" />, wenn die Methode über keinen Rückgabetyp verfügt.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
||||
<summary>Gibt die Signatur der Methode als Zeichenfolge zurück.</summary>
|
||||
<returns>Eine Zeichenfolge, die die Methodensignatur darstellt.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
+182
@@ -0,0 +1,182 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Reflection.Emit.Lightweight</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Reflection.Emit.DynamicMethod">
|
||||
<summary>Define y representa un método dinámico que se puede compilar, ejecutar y descartar.Los métodos descartados están disponibles para la recolección de elementos no utilizados.</summary>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Crea un método dinámico que es global para un módulo, especificando el nombre del método, sus atributos, la convención de llamada, el tipo de valor devuelto, los tipos de parámetro, el módulo, y si las comprobaciones de visibilidad Just-In-Time (JIT) se deben omitir para los tipos y miembros a los que obtiene acceso el Lenguaje intermedio de Microsoft (MSIL) del método dinámico.</summary>
|
||||
<param name="name">Nombre del método dinámico.Puede ser una cadena de longitud cero, pero no el valor null.</param>
|
||||
<param name="attributes">Combinación bit a bit de valores de <see cref="T:System.Reflection.MethodAttributes" /> que especifica los atributos del método dinámico.La única combinación permitida es <see cref="F:System.Reflection.MethodAttributes.Public" /> y <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">Convención de llamada para el método dinámico.Debe ser <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">Objeto <see cref="T:System.Type" /> que especifica el tipo de valor devuelto del método dinámico, o null si el método no tiene ningún tipo de valor devuelto. </param>
|
||||
<param name="parameterTypes">Matriz de objetos <see cref="T:System.Type" /> que especifica los tipos de los parámetros del método dinámico, o null si el método no tiene parámetros. </param>
|
||||
<param name="m">
|
||||
<see cref="T:System.Reflection.Module" /> que representa el módulo al que se va a asociar lógicamente el método dinámico. </param>
|
||||
<param name="skipVisibility">true para omitir las comprobaciones de visibilidad JIT en tipos y miembros a los que obtiene acceso el Lenguaje intermedio de Microsoft (MSIL) del método dinámico; de lo contrario, false. </param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento de <paramref name="parameterTypes" /> es null o <see cref="T:System.Void" />.O bien<paramref name="m" /> es un módulo que proporciona hospedaje anónimo a los métodos dinámicos.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> es null. O bien<paramref name="m" /> es null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> es una combinación de marcadores diferente de <see cref="F:System.Reflection.MethodAttributes.Public" /> y <see cref="F:System.Reflection.MethodAttributes.Static" />.O bien<paramref name="callingConvention" /> no es <see cref="F:System.Reflection.CallingConventions.Standard" />.O bien<paramref name="returnType" /> es un tipo para el que <see cref="P:System.Type.IsByRef" /> devuelve true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Crea un método dinámico especificando el nombre del método, sus atributos, la convención de llamada, el tipo de valor devuelto, los tipos de parámetro, el tipo al que está asociado lógicamente el método dinámico, y si las comprobaciones de visibilidad Just-In-Time (JIT) se deben omitir para los tipos y los miembros a los que tiene acceso el Lenguaje Intermedio de Microsoft (MSIL) del método dinámico.</summary>
|
||||
<param name="name">Nombre del método dinámico.Puede ser una cadena de longitud cero, pero no el valor null.</param>
|
||||
<param name="attributes">Combinación bit a bit de valores de <see cref="T:System.Reflection.MethodAttributes" /> que especifica los atributos del método dinámico.La única combinación permitida es <see cref="F:System.Reflection.MethodAttributes.Public" /> y <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">Convención de llamada para el método dinámico.Debe ser <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">Objeto <see cref="T:System.Type" /> que especifica el tipo de valor devuelto del método dinámico, o null si el método no tiene ningún tipo de valor devuelto. </param>
|
||||
<param name="parameterTypes">Matriz de objetos <see cref="T:System.Type" /> que especifica los tipos de los parámetros del método dinámico, o null si el método no tiene parámetros. </param>
|
||||
<param name="owner">
|
||||
<see cref="T:System.Type" /> al que está asociado lógicamente el método dinámico.El método dinámico tiene acceso a todos los miembros del tipo.</param>
|
||||
<param name="skipVisibility">true para omitir las comprobaciones de visibilidad JIT en tipos y miembros a los que obtiene acceso el Lenguaje intermedio de Microsoft (MSIL) del método dinámico; de lo contrario, false.</param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento de <paramref name="parameterTypes" /> es null o <see cref="T:System.Void" />. O bien<paramref name="owner" /> es una interfaz, una matriz, un tipo genérico abierto o un parámetro de tipo de un método o tipo genérico.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> es null. O bien<paramref name="owner" /> es null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> es una combinación de marcadores diferente de <see cref="F:System.Reflection.MethodAttributes.Public" /> y <see cref="F:System.Reflection.MethodAttributes.Static" />.O bien<paramref name="callingConvention" /> no es <see cref="F:System.Reflection.CallingConventions.Standard" />.O bien<paramref name="returnType" /> es un tipo para el que <see cref="P:System.Type.IsByRef" /> devuelve true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
||||
<summary>Inicializa un método dinámico que está hospedado de forma anónima especificando el nombre del método, el tipo de valor devuelto y los tipos de parámetro. </summary>
|
||||
<param name="name">Nombre del método dinámico.Puede ser una cadena de longitud cero, pero no el valor null.</param>
|
||||
<param name="returnType">Objeto <see cref="T:System.Type" /> que especifica el tipo de valor devuelto del método dinámico, o null si el método no tiene ningún tipo de valor devuelto. </param>
|
||||
<param name="parameterTypes">Matriz de objetos <see cref="T:System.Type" /> que especifica los tipos de los parámetros del método dinámico, o null si el método no tiene parámetros. </param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento de <paramref name="parameterTypes" /> es null o <see cref="T:System.Void" />. </exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> es null. </exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> es un tipo para el que <see cref="P:System.Type.IsByRef" /> devuelve true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
||||
<summary>Inicializa un método dinámico hospedado de forma anónima especificando el nombre del método, el tipo de valor devuelto, los tipos de parámetro y si las comprobaciones de visibilidad Just-In-Time (JIT) deberían omitirse en los tipos y miembros a los que obtiene acceso el Lenguaje intermedio de Microsoft (MSIL) del método dinámico. </summary>
|
||||
<param name="name">Nombre del método dinámico.Puede ser una cadena de longitud cero, pero no el valor null.</param>
|
||||
<param name="returnType">Objeto <see cref="T:System.Type" /> que especifica el tipo de valor devuelto del método dinámico, o null si el método no tiene ningún tipo de valor devuelto. </param>
|
||||
<param name="parameterTypes">Matriz de objetos <see cref="T:System.Type" /> que especifica los tipos de los parámetros del método dinámico, o null si el método no tiene parámetros. </param>
|
||||
<param name="restrictedSkipVisibility">true si se van a omitir las comprobaciones de visibilidad JIT en los tipos y miembros a los que tiene acceso el Lenguaje intermedio de Microsoft (MSIL) del método dinámico, con esta restricción: el nivel de confianza de los ensamblados que contienen esos tipos y miembros debe ser igual o menor que el nivel de confianza de la pila de llamadas que emite el método dinámico; de lo contrario, false. </param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento de <paramref name="parameterTypes" /> es null o <see cref="T:System.Void" />.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> es null. </exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> es un tipo para el que <see cref="P:System.Type.IsByRef" /> devuelve true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
||||
<summary>Crea un método dinámico que es global para un módulo, especificando el nombre del método, el tipo de valor devuelto, los tipos de parámetro y el módulo.</summary>
|
||||
<param name="name">Nombre del método dinámico.Puede ser una cadena de longitud cero, pero no el valor null.</param>
|
||||
<param name="returnType">Objeto <see cref="T:System.Type" /> que especifica el tipo de valor devuelto del método dinámico, o null si el método no tiene ningún tipo de valor devuelto. </param>
|
||||
<param name="parameterTypes">Matriz de objetos <see cref="T:System.Type" /> que especifica los tipos de los parámetros del método dinámico, o null si el método no tiene parámetros. </param>
|
||||
<param name="m">
|
||||
<see cref="T:System.Reflection.Module" /> que representa el módulo al que se va a asociar lógicamente el método dinámico. </param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento de <paramref name="parameterTypes" /> es null o <see cref="T:System.Void" />. O bien<paramref name="m" /> es un módulo que proporciona hospedaje anónimo a los métodos dinámicos.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> es null. O bien<paramref name="m" /> es null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> es un tipo para el que <see cref="P:System.Type.IsByRef" /> devuelve true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Crea un método dinámico que es global para un módulo especificando el nombre del método, el tipo de valor devuelto, los tipos de parámetro, el módulo y si las comprobaciones de visibilidad Just-In-Time (JIT) se deben omitir para los tipos y miembros a los que obtiene acceso el Lenguaje intermedio de Microsoft (MSIL) del método dinámico.</summary>
|
||||
<param name="name">Nombre del método dinámico.Puede ser una cadena de longitud cero, pero no el valor null.</param>
|
||||
<param name="returnType">Objeto <see cref="T:System.Type" /> que especifica el tipo de valor devuelto del método dinámico, o null si el método no tiene ningún tipo de valor devuelto. </param>
|
||||
<param name="parameterTypes">Matriz de objetos <see cref="T:System.Type" /> que especifica los tipos de los parámetros del método dinámico, o null si el método no tiene parámetros. </param>
|
||||
<param name="m">
|
||||
<see cref="T:System.Reflection.Module" /> que representa el módulo al que se va a asociar lógicamente el método dinámico. </param>
|
||||
<param name="skipVisibility">true para omitir las comprobaciones de visibilidad JIT en tipos y miembros a los que obtiene acceso el Lenguaje intermedio de Microsoft (MSIL) del método dinámico. </param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento de <paramref name="parameterTypes" /> es null o <see cref="T:System.Void" />. O bien<paramref name="m" /> es un módulo que proporciona hospedaje anónimo a los métodos dinámicos.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> es null. O bien<paramref name="m" /> es null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> es un tipo para el que <see cref="P:System.Type.IsByRef" /> devuelve true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
||||
<summary>Crea un método dinámico, especificando el nombre del método, el tipo de valor devuelto, los tipos de parámetro y el tipo al que está asociado lógicamente el método dinámico.</summary>
|
||||
<param name="name">Nombre del método dinámico.Puede ser una cadena de longitud cero, pero no el valor null.</param>
|
||||
<param name="returnType">Objeto <see cref="T:System.Type" /> que especifica el tipo de valor devuelto del método dinámico, o null si el método no tiene ningún tipo de valor devuelto. </param>
|
||||
<param name="parameterTypes">Matriz de objetos <see cref="T:System.Type" /> que especifica los tipos de los parámetros del método dinámico, o null si el método no tiene parámetros. </param>
|
||||
<param name="owner">
|
||||
<see cref="T:System.Type" /> al que está asociado lógicamente el método dinámico.El método dinámico tiene acceso a todos los miembros del tipo.</param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento de <paramref name="parameterTypes" /> es null o <see cref="T:System.Void" />.O bien <paramref name="owner" /> es una interfaz, una matriz, un tipo genérico abierto o un parámetro de tipo de un método o tipo genérico. </exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> es null. O bien<paramref name="owner" /> es null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">El valor de <paramref name="returnType" /> es null o es un tipo para el que <see cref="P:System.Type.IsByRef" /> devuelve true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Crea un método dinámico especificando el nombre del método, el tipo de valor devuelto, los tipos de parámetro, el tipo al que está asociado lógicamente el método dinámico y si las comprobaciones de visibilidad Just-In-Time (JIT) se deben omitir para los tipos y los miembros a los que tiene acceso el Lenguaje intermedio de Microsoft (MSIL) del método dinámico.</summary>
|
||||
<param name="name">Nombre del método dinámico.Puede ser una cadena de longitud cero, pero no el valor null.</param>
|
||||
<param name="returnType">Objeto <see cref="T:System.Type" /> que especifica el tipo de valor devuelto del método dinámico, o null si el método no tiene ningún tipo de valor devuelto. </param>
|
||||
<param name="parameterTypes">Matriz de objetos <see cref="T:System.Type" /> que especifica los tipos de los parámetros del método dinámico, o null si el método no tiene parámetros. </param>
|
||||
<param name="owner">
|
||||
<see cref="T:System.Type" /> al que está asociado lógicamente el método dinámico.El método dinámico tiene acceso a todos los miembros del tipo.</param>
|
||||
<param name="skipVisibility">true para omitir las comprobaciones de visibilidad JIT en tipos y miembros a los que obtiene acceso el Lenguaje intermedio de Microsoft (MSIL) del método dinámico; de lo contrario, false. </param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento de <paramref name="parameterTypes" /> es null o <see cref="T:System.Void" />.O bien <paramref name="owner" /> es una interfaz, una matriz, un tipo genérico abierto o un parámetro de tipo de un método o tipo genérico.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> es null. O bien<paramref name="owner" /> es null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">El valor de <paramref name="returnType" /> es null o es un tipo para el que <see cref="P:System.Type.IsByRef" /> devuelve true. </exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
||||
<summary>Obtiene los atributos especificados cuando se creó el método dinámico.</summary>
|
||||
<returns>Una combinación bit a bit de los valores de <see cref="T:System.Reflection.MethodAttributes" /> que representan los atributos del método.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
||||
<summary>Obtiene la convención de llamada especificada cuando se creó el método dinámico.</summary>
|
||||
<returns>Uno de los valores de <see cref="T:System.Reflection.CallingConventions" /> que indica la convención de llamada del método.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
||||
<summary>Completa el método dinámico y crea un delegado que se puede utilizar para ejecutarlo.</summary>
|
||||
<returns>Un delegado del tipo especificado que se puede utilizar para ejecutar el método dinámico.</returns>
|
||||
<param name="delegateType">Tipo de delegado cuya firma coincide con la del método dinámico. </param>
|
||||
<exception cref="T:System.InvalidOperationException">El método dinámico no tiene cuerpo de método.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="delegateType" /> tiene el número de parámetros o los tipos de parámetro incorrectos.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
||||
<summary>Completa el método dinámico y crea un delegado que se puede utilizar para ejecutarlo, especificando el tipo de delegado y un objeto al que se enlaza el delegado.</summary>
|
||||
<returns>Un delegado del tipo especificado que se puede utilizar para ejecutar el método dinámico con el objeto de destino especificado.</returns>
|
||||
<param name="delegateType">Tipo de delegado cuya firma coincide con el método dinámico, menos el primer parámetro.</param>
|
||||
<param name="target">Objeto al que se enlaza el delegado.Debe ser del mismo tipo que el primer parámetro del método dinámico.</param>
|
||||
<exception cref="T:System.InvalidOperationException">El método dinámico no tiene cuerpo de método.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="target" /> no es del mismo tipo que el primer parámetro del método dinámico y no se puede asignar a ese tipo.O bien<paramref name="delegateType" /> tiene el número de parámetros o los tipos de parámetro incorrectos.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
||||
<summary>Obtiene el tipo que declara el método, que siempre es null para los métodos dinámicos.</summary>
|
||||
<returns>Siempre es null.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
||||
<summary>Devuelve un generador de Lenguaje intermedio de Microsoft (MILS) para el método con un tamaño predeterminado de secuencia de MSIL de 64 bytes.</summary>
|
||||
<returns>Un objeto <see cref="T:System.Reflection.Emit.ILGenerator" /> para el método.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
||||
<summary>Devuelve un generador de Lenguaje intermedio de Microsoft (MSIL) para el método con el tamaño de secuencia de MSIL especificado.</summary>
|
||||
<returns>Un objeto <see cref="T:System.Reflection.Emit.ILGenerator" /> para el método, con el tamaño de secuencia de MSIL especificado.</returns>
|
||||
<param name="streamSize">Tamaño de la secuencia de MSIL, en bytes. </param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
||||
<summary>Devuelve los parámetros del método dinámico.</summary>
|
||||
<returns>Una matriz de objetos <see cref="T:System.Reflection.ParameterInfo" /> que representan los parámetros del método dinámico.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
||||
<summary>Obtiene o establece un valor que indica si las variables locales del método se inicializan en cero. </summary>
|
||||
<returns>true si las variables locales del método se inicializan en cero; de lo contrario, false.El valor predeterminado es true.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.MethodImplementationFlags"></member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
||||
<summary>Obtiene el nombre del método dinámico.</summary>
|
||||
<returns>El nombre simple del método.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
||||
<summary>Obtiene el parámetro devuelto del método dinámico.</summary>
|
||||
<returns>Siempre es null. </returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
||||
<summary>Obtiene el tipo de valor devuelto para el método dinámico.</summary>
|
||||
<returns>
|
||||
<see cref="T:System.Type" /> que representa el tipo del valor devuelto del método actual; <see cref="T:System.Void" /> si el método no tiene ningún tipo de valor devuelto.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
||||
<summary>Devuelve la firma del método, representada como una cadena.</summary>
|
||||
<returns>Una cadena que representa la firma del método.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
+184
@@ -0,0 +1,184 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Reflection.Emit.Lightweight</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Reflection.Emit.DynamicMethod">
|
||||
<summary>Définit et représente une méthode dynamique qui peut être compilée, exécutée et ignorée.Les méthodes ignorées sont disponibles pour le garbage collection.</summary>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Crée une méthode dynamique qui est globale pour un module, en spécifiant le nom de la méthode, les attributs, les conventions d'appel, le type de retour, les types de paramètres, le module et si les contrôles de visibilité juste-à-temps (JIT) doivent être ignorés pour les types et membres auxquels accède le langage Microsoft Intermediate Language (MSIL) de la méthode dynamique.</summary>
|
||||
<param name="name">Nom de la méthode dynamique.Ce peut être une chaîne de longueur nulle, mais pas la valeur null.</param>
|
||||
<param name="attributes">Combinaison d'opérations de bits de valeurs <see cref="T:System.Reflection.MethodAttributes" /> qui spécifient les attributs de la méthode dynamique.La seule combinaison autorisée est <see cref="F:System.Reflection.MethodAttributes.Public" /> et <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">Convention d'appel de la méthode dynamique.Doit être <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">Objet <see cref="T:System.Type" /> qui spécifie le type de retour de la méthode dynamique, ou null si la méthode n'a aucun type de retour. </param>
|
||||
<param name="parameterTypes">Tableau d'objets <see cref="T:System.Type" /> spécifiant les types des paramètres de la méthode dynamique, ou indiquant null si la méthode n'a pas de paramètre. </param>
|
||||
<param name="m">
|
||||
<see cref="T:System.Reflection.Module" /> représentant le module auquel la méthode dynamique doit être associée de manière logique. </param>
|
||||
<param name="skipVisibility">true pour ignorer les contrôles de visibilité JIT sur les types et membres auxquels accède le code MSIL de la méthode dynamique ; sinon, false. </param>
|
||||
<exception cref="T:System.ArgumentException">Un élément de <paramref name="parameterTypes" /> est null ou <see cref="T:System.Void" />.ou<paramref name="m" /> est un module qui fournit l'hébergement anonyme pour les méthodes dynamiques.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> a la valeur null. ou<paramref name="m" /> a la valeur null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> est une combinaison d'indicateurs autre que <see cref="F:System.Reflection.MethodAttributes.Public" /> et <see cref="F:System.Reflection.MethodAttributes.Static" />.ou<paramref name="callingConvention" /> n'est pas <see cref="F:System.Reflection.CallingConventions.Standard" />.ou<paramref name="returnType" /> est un type pour lequel <see cref="P:System.Type.IsByRef" /> retourne true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Crée une méthode dynamique, en spécifiant le nom de la méthode, les attributs, la convention d'appel, le type de retour, les types de paramètres, le type auquel la méthode dynamique est associée de manière logique, et si les contrôles de visibilité juste-à-temps (JIT) doivent être ignorés pour les types et membres auxquels accède le langage MSIL de la méthode dynamique.</summary>
|
||||
<param name="name">Nom de la méthode dynamique.Ce peut être une chaîne de longueur nulle, mais pas la valeur null.</param>
|
||||
<param name="attributes">Combinaison d'opérations de bits de valeurs <see cref="T:System.Reflection.MethodAttributes" /> qui spécifient les attributs de la méthode dynamique.La seule combinaison autorisée est <see cref="F:System.Reflection.MethodAttributes.Public" /> et <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">Convention d'appel de la méthode dynamique.Doit être <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">Objet <see cref="T:System.Type" /> qui spécifie le type de retour de la méthode dynamique, ou null si la méthode n'a aucun type de retour. </param>
|
||||
<param name="parameterTypes">Tableau d'objets <see cref="T:System.Type" /> spécifiant les types des paramètres de la méthode dynamique, ou indiquant null si la méthode n'a pas de paramètre. </param>
|
||||
<param name="owner">
|
||||
<see cref="T:System.Type" /> auquel la méthode dynamique est associée de manière logique.La méthode dynamique a accès à tous les membres du type.</param>
|
||||
<param name="skipVisibility">true pour ignorer les contrôles de visibilité JIT sur les types et membres auxquels accède le code MSIL de la méthode dynamique ; sinon, false.</param>
|
||||
<exception cref="T:System.ArgumentException">Un élément de <paramref name="parameterTypes" /> est null ou <see cref="T:System.Void" />. ou<paramref name="owner" /> est une interface, un tableau, un type générique ouvert ou un paramètre de type d'un type ou d'une méthode générique.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> a la valeur null. ou<paramref name="owner" /> a la valeur null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> est une combinaison d'indicateurs autre que <see cref="F:System.Reflection.MethodAttributes.Public" /> et <see cref="F:System.Reflection.MethodAttributes.Static" />.ou<paramref name="callingConvention" /> n'est pas <see cref="F:System.Reflection.CallingConventions.Standard" />.ou<paramref name="returnType" /> est un type pour lequel <see cref="P:System.Type.IsByRef" /> retourne true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
||||
<summary>Initialise une méthode dynamique hébergée de manière anonyme, en spécifiant le nom de la méthode, le type de retour et les types de paramètre. </summary>
|
||||
<param name="name">Nom de la méthode dynamique.Ce peut être une chaîne de longueur nulle, mais pas la valeur null.</param>
|
||||
<param name="returnType">Objet <see cref="T:System.Type" /> qui spécifie le type de retour de la méthode dynamique, ou null si la méthode n'a aucun type de retour. </param>
|
||||
<param name="parameterTypes">Tableau d'objets <see cref="T:System.Type" /> spécifiant les types des paramètres de la méthode dynamique, ou indiquant null si la méthode n'a pas de paramètre. </param>
|
||||
<exception cref="T:System.ArgumentException">Un élément de <paramref name="parameterTypes" /> est null ou <see cref="T:System.Void" />. </exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> a la valeur null. </exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> est un type pour lequel <see cref="P:System.Type.IsByRef" /> retourne true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
||||
<summary>Initialise une méthode dynamique hébergée de manière anonyme, en spécifiant le nom de la méthode, le type de retour, les types de paramètre, et si les contrôles de visibilité juste-à-temps (JIT) doivent être ignorés pour les types et membres auxquels accède le langage MSIL de la méthode dynamique. </summary>
|
||||
<param name="name">Nom de la méthode dynamique.Ce peut être une chaîne de longueur nulle, mais pas la valeur null.</param>
|
||||
<param name="returnType">Objet <see cref="T:System.Type" /> qui spécifie le type de retour de la méthode dynamique, ou null si la méthode n'a aucun type de retour. </param>
|
||||
<param name="parameterTypes">Tableau d'objets <see cref="T:System.Type" /> spécifiant les types des paramètres de la méthode dynamique, ou indiquant null si la méthode n'a pas de paramètre. </param>
|
||||
<param name="restrictedSkipVisibility">true pour ignorer les contrôles de visibilité JIT sur les types et membres auxquels accède le langage MSIL de la méthode dynamique, avec cette restriction : le niveau de confiance des assemblys qui contiennent ces types et membres doit être inférieur ou égal à celui de la pile des appels qui émet la méthode dynamique ; sinon, false. </param>
|
||||
<exception cref="T:System.ArgumentException">Un élément de <paramref name="parameterTypes" /> est null ou <see cref="T:System.Void" />.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> a la valeur null. </exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> est un type pour lequel <see cref="P:System.Type.IsByRef" /> retourne true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
||||
<summary>Crée une méthode dynamique qui est globale pour un module, en spécifiant le nom de la méthode, le type de retour, les types de paramètres et le module.</summary>
|
||||
<param name="name">Nom de la méthode dynamique.Ce peut être une chaîne de longueur nulle, mais pas la valeur null.</param>
|
||||
<param name="returnType">Objet <see cref="T:System.Type" /> qui spécifie le type de retour de la méthode dynamique, ou null si la méthode n'a aucun type de retour. </param>
|
||||
<param name="parameterTypes">Tableau d'objets <see cref="T:System.Type" /> spécifiant les types des paramètres de la méthode dynamique, ou indiquant null si la méthode n'a pas de paramètre. </param>
|
||||
<param name="m">
|
||||
<see cref="T:System.Reflection.Module" /> représentant le module auquel la méthode dynamique doit être associée de manière logique. </param>
|
||||
<exception cref="T:System.ArgumentException">Un élément de <paramref name="parameterTypes" /> est null ou <see cref="T:System.Void" />. ou<paramref name="m" /> est un module qui fournit l'hébergement anonyme pour les méthodes dynamiques.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> a la valeur null. ou<paramref name="m" /> a la valeur null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> est un type pour lequel <see cref="P:System.Type.IsByRef" /> retourne true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Crée une méthode dynamique qui est globale pour un module, en spécifiant le nom de la méthode, le type de retour, les types de paramètres, le module et si les contrôles de visibilité juste-à-temps (JIT) doivent être ignorés pour les types et membres auxquels accède le langage Microsoft Intermediate Language (MSIL) de la méthode dynamique.</summary>
|
||||
<param name="name">Nom de la méthode dynamique.Ce peut être une chaîne de longueur nulle, mais pas la valeur null.</param>
|
||||
<param name="returnType">Objet <see cref="T:System.Type" /> qui spécifie le type de retour de la méthode dynamique, ou null si la méthode n'a aucun type de retour. </param>
|
||||
<param name="parameterTypes">Tableau d'objets <see cref="T:System.Type" /> spécifiant les types des paramètres de la méthode dynamique, ou indiquant null si la méthode n'a pas de paramètre. </param>
|
||||
<param name="m">
|
||||
<see cref="T:System.Reflection.Module" /> représentant le module auquel la méthode dynamique doit être associée de manière logique. </param>
|
||||
<param name="skipVisibility">true pour ignorer les contrôles de visibilité JIT sur les types et membres auxquels accède le code MSIL de la méthode dynamique. </param>
|
||||
<exception cref="T:System.ArgumentException">Un élément de <paramref name="parameterTypes" /> est null ou <see cref="T:System.Void" />. ou<paramref name="m" /> est un module qui fournit l'hébergement anonyme pour les méthodes dynamiques.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> a la valeur null. ou<paramref name="m" /> a la valeur null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> est un type pour lequel <see cref="P:System.Type.IsByRef" /> retourne true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
||||
<summary>Crée une méthode dynamique, en spécifiant le nom de la méthode, le type de retour, les types de paramètres et le type auquel la méthode dynamique est associée de manière logique.</summary>
|
||||
<param name="name">Nom de la méthode dynamique.Ce peut être une chaîne de longueur nulle, mais pas la valeur null.</param>
|
||||
<param name="returnType">Objet <see cref="T:System.Type" /> qui spécifie le type de retour de la méthode dynamique, ou null si la méthode n'a aucun type de retour. </param>
|
||||
<param name="parameterTypes">Tableau d'objets <see cref="T:System.Type" /> spécifiant les types des paramètres de la méthode dynamique, ou indiquant null si la méthode n'a pas de paramètre. </param>
|
||||
<param name="owner">
|
||||
<see cref="T:System.Type" /> auquel la méthode dynamique est associée de manière logique.La méthode dynamique a accès à tous les membres du type.</param>
|
||||
<exception cref="T:System.ArgumentException">Un élément de <paramref name="parameterTypes" /> est null ou <see cref="T:System.Void" />.ou <paramref name="owner" /> est une interface, un tableau, un type générique ouvert ou un paramètre de type d'un type ou d'une méthode générique. </exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> a la valeur null. ou<paramref name="owner" /> a la valeur null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> est null ou est un type pour lequel <see cref="P:System.Type.IsByRef" /> retourne true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Crée une méthode dynamique, en spécifiant le nom de la méthode, le type de retour, les types de paramètres, le type auquel la méthode dynamique est associée de manière logique, et si les contrôles de visibilité juste-à-temps (JIT) doivent être ignorés pour les types et membres auxquels accède le code MSIL de la méthode dynamique.</summary>
|
||||
<param name="name">Nom de la méthode dynamique.Ce peut être une chaîne de longueur nulle, mais pas la valeur null.</param>
|
||||
<param name="returnType">Objet <see cref="T:System.Type" /> qui spécifie le type de retour de la méthode dynamique, ou null si la méthode n'a aucun type de retour. </param>
|
||||
<param name="parameterTypes">Tableau d'objets <see cref="T:System.Type" /> spécifiant les types des paramètres de la méthode dynamique, ou indiquant null si la méthode n'a pas de paramètre. </param>
|
||||
<param name="owner">
|
||||
<see cref="T:System.Type" /> auquel la méthode dynamique est associée de manière logique.La méthode dynamique a accès à tous les membres du type.</param>
|
||||
<param name="skipVisibility">true pour ignorer les contrôles de visibilité JIT sur les types et membres auxquels accède le code MSIL de la méthode dynamique ; sinon, false. </param>
|
||||
<exception cref="T:System.ArgumentException">Un élément de <paramref name="parameterTypes" /> est null ou <see cref="T:System.Void" />.ou <paramref name="owner" /> est une interface, un tableau, un type générique ouvert ou un paramètre de type d'un type ou d'une méthode générique.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> a la valeur null. ou<paramref name="owner" /> a la valeur null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> est null ou est un type pour lequel <see cref="P:System.Type.IsByRef" /> retourne true. </exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
||||
<summary>Obtient les attributs spécifiés au moment de la création de la méthode dynamique.</summary>
|
||||
<returns>Combinaison d'opérations de bits des valeurs <see cref="T:System.Reflection.MethodAttributes" /> qui représentent les attributs de la méthode.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
||||
<summary>Obtient la convention d'appel spécifiée au moment de la création de la méthode dynamique.</summary>
|
||||
<returns>L'une des valeurs <see cref="T:System.Reflection.CallingConventions" /> indiquant la convention d'appel de la méthode.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
||||
<summary>Exécute la méthode dynamique et crée un délégué qui peut être utilisé pour l'exécuter.</summary>
|
||||
<returns>Délégué du type spécifié qui peut être utilisé pour exécuter la méthode dynamique.</returns>
|
||||
<param name="delegateType">Type délégué dont la signature correspond à celle de la méthode dynamique. </param>
|
||||
<exception cref="T:System.InvalidOperationException">La méthode dynamique ne possède aucun corps de méthode.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="delegateType" /> possède un nombre de paramètres erroné ou des types de paramètres incorrects.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
||||
<summary>Exécute la méthode dynamique et crée un délégué qui peut être utilisé pour l'exécuter, en spécifiant le type délégué et un objet auquel le délégué est lié.</summary>
|
||||
<returns>Délégué du type spécifié qui peut être utilisé pour exécuter la méthode dynamique avec l'objet cible spécifié.</returns>
|
||||
<param name="delegateType">Type délégué dont la signature correspond à celle de la méthode dynamique, moins le premier paramètre.</param>
|
||||
<param name="target">Objet auquel le délégué est lié.Doit être du même type que le premier paramètre de la méthode dynamique.</param>
|
||||
<exception cref="T:System.InvalidOperationException">La méthode dynamique ne possède aucun corps de méthode.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="target" /> n'est pas du même type que le premier paramètre de la méthode dynamique et ne peut pas être assigné à ce type.ou<paramref name="delegateType" /> possède un nombre de paramètres erroné ou des types de paramètres incorrects.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
||||
<summary>Obtient le type qui déclare la méthode (toujours null pour les méthodes dynamiques).</summary>
|
||||
<returns>Toujours null.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
||||
<summary>Retourne un générateur MSIL (Microsoft Intermediate Language) pour la méthode, avec une taille de flux MSIL par défaut de 64 octets.</summary>
|
||||
<returns>Objet <see cref="T:System.Reflection.Emit.ILGenerator" /> de la méthode.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
||||
<summary>Retourne un générateur MSIL (Microsoft Intermediate Language) pour la méthode, avec la taille de flux MSIL spécifiée.</summary>
|
||||
<returns>Objet <see cref="T:System.Reflection.Emit.ILGenerator" /> pour la méthode avec la taille de flux MSIL spécifiée.</returns>
|
||||
<param name="streamSize">Taille du flux MSIL en octets. </param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
||||
<summary>Retourne les paramètres de la méthode dynamique.</summary>
|
||||
<returns>Tableau d'objets <see cref="T:System.Reflection.ParameterInfo" /> représentant les paramètres de la méthode dynamique.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
||||
<summary>Obtient ou définit une valeur qui indique si les variables locales contenues dans la méthode sont initialisées à zéro. </summary>
|
||||
<returns>true si les variables locales contenues dans la méthode sont initialisées à zéro ; sinon, false.La valeur par défaut est true.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.MethodImplementationFlags"></member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
||||
<summary>Obtient le nom de la méthode dynamique.</summary>
|
||||
<returns>Nom simple de la méthode.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
||||
<summary>Obtient le paramètre de retour de la méthode dynamique.</summary>
|
||||
<returns>Toujours null. </returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
||||
<summary>Obtient le type de la valeur de retour pour la méthode dynamique.</summary>
|
||||
<returns>
|
||||
<see cref="T:System.Type" /> qui représente le type de la valeur de retour de la méthode actuelle ; <see cref="T:System.Void" /> si la méthode ne possède aucun type de retour.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
||||
<summary>Retourne la signature de la méthode, représentée sous la forme d'une chaîne.</summary>
|
||||
<returns>Chaîne représentant la signature de la méthode.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
+177
@@ -0,0 +1,177 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Reflection.Emit.Lightweight</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Reflection.Emit.DynamicMethod">
|
||||
<summary>Definisce e rappresenta un metodo dinamico che può essere compilato, eseguito ed eliminato.I metodi scartati sono disponibili per la procedura di Garbage Collection.</summary>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Crea un metodo dinamico globale per un modulo, specificando il nome del metodo, gli attributi, la convenzione di chiamata, il tipo restituito, i tipi di parametri e il modulo e indicando se deve essere ignorato il controllo di visibilità JIT per i tipi e i membri a cui accede il linguaggio MSIL (Microsoft Intermediate Language) del metodo dinamico.</summary>
|
||||
<param name="name">Nome del metodo dinamico.Può essere una stringa di lunghezza zero, ma non può essere null.</param>
|
||||
<param name="attributes">Combinazione bit per bit di valori <see cref="T:System.Reflection.MethodAttributes" /> che specifica gli attributi del metodo dinamico.L'unica combinazione consentita è quella composta da <see cref="F:System.Reflection.MethodAttributes.Public" /> e <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">Convenzione di chiamata per il metodo dinamico.Deve essere <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">Classe <see cref="T:System.Type" /> che specifica il tipo restituito del metodo dinamico oppure null se il metodo non dispone di tipi restituiti. </param>
|
||||
<param name="parameterTypes">Matrice di oggetti <see cref="T:System.Type" /> che specificano i tipi dei parametri del metodo dinamico oppure null se il metodo non dispone di parametri. </param>
|
||||
<param name="m">Classe <see cref="T:System.Reflection.Module" /> che rappresenta il modulo a cui il metodo dinamico deve essere associato dal punto di vista logico. </param>
|
||||
<param name="skipVisibility">true per ignorare i controlli di visibilità JIT su tipi e membri a cui accede il linguaggio MSIL del metodo dinamico; in caso contrario, false. </param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento di <paramref name="parameterTypes" /> è null o <see cref="T:System.Void" />.- oppure -<paramref name="m" /> è un modulo che fornisce hosting anonimo per i metodi dinamici.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> è null. - oppure -<paramref name="m" /> è null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> è una combinazione di flag diversa da <see cref="F:System.Reflection.MethodAttributes.Public" /> e <see cref="F:System.Reflection.MethodAttributes.Static" />.- oppure -<paramref name="callingConvention" /> non è <see cref="F:System.Reflection.CallingConventions.Standard" />.- oppure -<paramref name="returnType" /> è un tipo per cui <see cref="P:System.Type.IsByRef" /> restituisce true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Crea un metodo dinamico, specificando il nome del metodo, gli attributi, la convenzione di chiamata, il tipo restituito, i tipi di parametri, il tipo a cui il metodo dinamico è associato dal punto di vista logico e indicando se è necessario ignorare il controllo di visibilità JIT per i tipi e i membri a cui accede il linguaggio MSIL (Microsoft Intermediate Language) del metodo dinamico.</summary>
|
||||
<param name="name">Nome del metodo dinamico.Può essere una stringa di lunghezza zero, ma non può essere null.</param>
|
||||
<param name="attributes">Combinazione bit per bit di valori <see cref="T:System.Reflection.MethodAttributes" /> che specifica gli attributi del metodo dinamico.L'unica combinazione consentita è quella composta da <see cref="F:System.Reflection.MethodAttributes.Public" /> e <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">Convenzione di chiamata per il metodo dinamico.Deve essere <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">Classe <see cref="T:System.Type" /> che specifica il tipo restituito del metodo dinamico oppure null se il metodo non dispone di tipi restituiti. </param>
|
||||
<param name="parameterTypes">Matrice di oggetti <see cref="T:System.Type" /> che specificano i tipi dei parametri del metodo dinamico oppure null se il metodo non dispone di parametri. </param>
|
||||
<param name="owner">Classe <see cref="T:System.Type" /> a cui il metodo dinamico è associato dal punto di vista logico.Il metodo dinamico ha accesso a tutti i membri del tipo.</param>
|
||||
<param name="skipVisibility">true per ignorare i controlli di visibilità JIT su tipi e membri a cui accede il linguaggio MSIL del metodo dinamico; in caso contrario, false.</param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento di <paramref name="parameterTypes" /> è null o <see cref="T:System.Void" />. - oppure -<paramref name="owner" /> è un'interfaccia, una matrice, un tipo generico aperto o un parametro di tipo di un tipo o di un metodo generico.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> è null. - oppure -<paramref name="owner" /> è null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> è una combinazione di flag diversa da <see cref="F:System.Reflection.MethodAttributes.Public" /> e <see cref="F:System.Reflection.MethodAttributes.Static" />.- oppure -<paramref name="callingConvention" /> non è <see cref="F:System.Reflection.CallingConventions.Standard" />.- oppure -<paramref name="returnType" /> è un tipo per cui <see cref="P:System.Type.IsByRef" /> restituisce true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
||||
<summary>Inizializza un metodo dinamico contenuto anonimamente, specificando il nome del metodo, il tipo restituito e tipi di parametro. </summary>
|
||||
<param name="name">Nome del metodo dinamico.Può essere una stringa di lunghezza zero, ma non può essere null.</param>
|
||||
<param name="returnType">Classe <see cref="T:System.Type" /> che specifica il tipo restituito del metodo dinamico oppure null se il metodo non dispone di tipi restituiti. </param>
|
||||
<param name="parameterTypes">Matrice di oggetti <see cref="T:System.Type" /> che specificano i tipi dei parametri del metodo dinamico oppure null se il metodo non dispone di parametri. </param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento di <paramref name="parameterTypes" /> è null o <see cref="T:System.Void" />. </exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> è null. </exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> è un tipo per cui <see cref="P:System.Type.IsByRef" /> restituisce true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
||||
<summary>Inizializza un metodo dinamico contenuto anonimamente, specificando il nome del metodo, il tipo restituito, i tipi di parametri e il modulo e indicando se deve essere ignorato il controllo di visibilità JIT per i tipi e i membri del metodo dinamico a cui accede MSIL (Microsoft Intermediate Language). </summary>
|
||||
<param name="name">Nome del metodo dinamico.Può essere una stringa di lunghezza zero, ma non può essere null.</param>
|
||||
<param name="returnType">Classe <see cref="T:System.Type" /> che specifica il tipo restituito del metodo dinamico oppure null se il metodo non dispone di tipi restituiti. </param>
|
||||
<param name="parameterTypes">Matrice di oggetti <see cref="T:System.Type" /> che specificano i tipi dei parametri del metodo dinamico oppure null se il metodo non dispone di parametri. </param>
|
||||
<param name="restrictedSkipVisibility">true per ignorare i controlli di visibilità JIT su tipi e membri a cui accede il linguaggio MSIL del metodo dinamico, con la seguente restrizione: il livello di attendibilità degli assembly che contengono tali tipi e membri deve essere uguale a inferiore al livello di attendibilità dello stack di chiamate che genera il metodo dinamico; in caso contrario, false. </param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento di <paramref name="parameterTypes" /> è null o <see cref="T:System.Void" />.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> è null. </exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> è un tipo per cui <see cref="P:System.Type.IsByRef" /> restituisce true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
||||
<summary>Crea un metodo dinamico globale per un modulo, specificando il nome del metodo, il tipo restituito, i tipi di parametri e il modulo.</summary>
|
||||
<param name="name">Nome del metodo dinamico.Può essere una stringa di lunghezza zero, ma non può essere null.</param>
|
||||
<param name="returnType">Classe <see cref="T:System.Type" /> che specifica il tipo restituito del metodo dinamico oppure null se il metodo non dispone di tipi restituiti. </param>
|
||||
<param name="parameterTypes">Matrice di oggetti <see cref="T:System.Type" /> che specificano i tipi dei parametri del metodo dinamico oppure null se il metodo non dispone di parametri. </param>
|
||||
<param name="m">Classe <see cref="T:System.Reflection.Module" /> che rappresenta il modulo a cui il metodo dinamico deve essere associato dal punto di vista logico. </param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento di <paramref name="parameterTypes" /> è null o <see cref="T:System.Void" />. - oppure -<paramref name="m" /> è un modulo che fornisce hosting anonimo per i metodi dinamici.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> è null. - oppure -<paramref name="m" /> è null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> è un tipo per cui <see cref="P:System.Type.IsByRef" /> restituisce true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Crea un metodo dinamico globale per un modulo, specificando il nome del metodo, il tipo restituito, i tipi di parametri e il modulo e indicando se deve essere ignorato il controllo di visibilità JIT per i tipi e i membri del metodo dinamico a cui accede MSIL (Microsoft Intermediate Language).</summary>
|
||||
<param name="name">Nome del metodo dinamico.Può essere una stringa di lunghezza zero, ma non può essere null.</param>
|
||||
<param name="returnType">Classe <see cref="T:System.Type" /> che specifica il tipo restituito del metodo dinamico oppure null se il metodo non dispone di tipi restituiti. </param>
|
||||
<param name="parameterTypes">Matrice di oggetti <see cref="T:System.Type" /> che specificano i tipi dei parametri del metodo dinamico oppure null se il metodo non dispone di parametri. </param>
|
||||
<param name="m">Classe <see cref="T:System.Reflection.Module" /> che rappresenta il modulo a cui il metodo dinamico deve essere associato dal punto di vista logico. </param>
|
||||
<param name="skipVisibility">true per ignorare i controlli di visibilità JIT su tipi e membri a cui accede il linguaggio MSIL del metodo dinamico. </param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento di <paramref name="parameterTypes" /> è null o <see cref="T:System.Void" />. - oppure -<paramref name="m" /> è un modulo che fornisce hosting anonimo per i metodi dinamici.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> è null. - oppure -<paramref name="m" /> è null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> è un tipo per cui <see cref="P:System.Type.IsByRef" /> restituisce true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
||||
<summary>Crea un metodo dinamico, specificando il nome del metodo, il tipo restituito, i parametri di tipo e il tipo a cui il metodo dinamico è associato dal punto di vista logico.</summary>
|
||||
<param name="name">Nome del metodo dinamico.Può essere una stringa di lunghezza zero, ma non può essere null.</param>
|
||||
<param name="returnType">Classe <see cref="T:System.Type" /> che specifica il tipo restituito del metodo dinamico oppure null se il metodo non dispone di tipi restituiti. </param>
|
||||
<param name="parameterTypes">Matrice di oggetti <see cref="T:System.Type" /> che specificano i tipi dei parametri del metodo dinamico oppure null se il metodo non dispone di parametri. </param>
|
||||
<param name="owner">Classe <see cref="T:System.Type" /> a cui il metodo dinamico è associato dal punto di vista logico.Il metodo dinamico ha accesso a tutti i membri del tipo.</param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento di <paramref name="parameterTypes" /> è null o <see cref="T:System.Void" />.- oppure - <paramref name="owner" /> è un'interfaccia, una matrice, un tipo generico aperto o un parametro di tipo di un tipo o di un metodo generico. </exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> è null. - oppure -<paramref name="owner" /> è null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> è null o è un tipo per il quale la proprietà <see cref="P:System.Type.IsByRef" /> restituisce true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Crea un metodo dinamico, specificando il nome del metodo, il tipo restituito, i tipi di parametri, il tipo a cui il metodo dinamico è associato dal punto di vista logico e indicando se è necessario ignorare il controllo di visibilità JIT per i tipi e i membri a cui accede il linguaggio MSIL (Microsoft Intermediate Language) del metodo dinamico.</summary>
|
||||
<param name="name">Nome del metodo dinamico.Può essere una stringa di lunghezza zero, ma non può essere null.</param>
|
||||
<param name="returnType">Classe <see cref="T:System.Type" /> che specifica il tipo restituito del metodo dinamico oppure null se il metodo non dispone di tipi restituiti. </param>
|
||||
<param name="parameterTypes">Matrice di oggetti <see cref="T:System.Type" /> che specificano i tipi dei parametri del metodo dinamico oppure null se il metodo non dispone di parametri. </param>
|
||||
<param name="owner">Classe <see cref="T:System.Type" /> a cui il metodo dinamico è associato dal punto di vista logico.Il metodo dinamico ha accesso a tutti i membri del tipo.</param>
|
||||
<param name="skipVisibility">true per ignorare i controlli di visibilità JIT su tipi e membri a cui accede il linguaggio MSIL del metodo dinamico; in caso contrario, false. </param>
|
||||
<exception cref="T:System.ArgumentException">Un elemento di <paramref name="parameterTypes" /> è null o <see cref="T:System.Void" />.- oppure - <paramref name="owner" /> è un'interfaccia, una matrice, un tipo generico aperto o un parametro di tipo di un tipo o di un metodo generico.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> è null. - oppure -<paramref name="owner" /> è null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> è null o è un tipo per il quale la proprietà <see cref="P:System.Type.IsByRef" /> restituisce true. </exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
||||
<summary>Ottiene gli attributi specificati quando il metodo dinamico è stato creato.</summary>
|
||||
<returns>Combinazione bit per bit dei valori <see cref="T:System.Reflection.MethodAttributes" /> che rappresentano gli attributi relativi al metodo.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
||||
<summary>Ottiene la convenzione di chiamata specificata quando il metodo dinamico è stato creato.</summary>
|
||||
<returns>Uno dei valori <see cref="T:System.Reflection.CallingConventions" /> che indica la convenzione di chiamata del metodo.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
||||
<summary>Completa il metodo dinamico e crea un delegato che può essere utilizzato per eseguirlo.</summary>
|
||||
<returns>Delegato del tipo specificato, che è possibile utilizzare per eseguire il metodo dinamico.</returns>
|
||||
<param name="delegateType">Tipo delegato la cui firma corrisponde a quella del metodo dinamico. </param>
|
||||
<exception cref="T:System.InvalidOperationException">Il metodo dinamico non dispone di corpo.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="delegateType" /> ha un numero errato di parametri o tipi di parametro non validi.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
||||
<summary>Completa il metodo dinamico e crea un delegato che può essere utilizzato per eseguirlo, specificando il tipo di delegato e l'oggetto a cui il delegato è associato.</summary>
|
||||
<returns>Delegato del tipo specificato, che è possibile utilizzare per eseguire il metodo dinamico con l'oggetto di destinazione specificato.</returns>
|
||||
<param name="delegateType">Tipo delegato la cui firma corrisponde a quella del metodo dinamico, meno il primo parametro.</param>
|
||||
<param name="target">Oggetto a cui il delegato è associato.Deve essere dello stesso tipo del primo parametro del metodo dinamico.</param>
|
||||
<exception cref="T:System.InvalidOperationException">Il metodo dinamico non dispone di corpo.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="target" /> non è dello stesso tipo del primo parametro del metodo dinamico e non è assegnabile al tipo.- oppure -<paramref name="delegateType" /> ha un numero errato di parametri o tipi di parametro non validi.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
||||
<summary>Ottiene il tipo che dichiara il metodo, che è sempre null per i metodi dinamici.</summary>
|
||||
<returns>Sempre null.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
||||
<summary>Restituisce un generatore in linguaggio MSIL (Microsoft Intermediate Language) per il metodo con una dimensione di flusso MSIL predefinita di 64 byte.</summary>
|
||||
<returns>Classe <see cref="T:System.Reflection.Emit.ILGenerator" /> relativa al metodo.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
||||
<summary>Restituisce un generatore MSIL (Microsoft Intermediate Language) per il metodo con la dimensione di flusso MSIL specificata.</summary>
|
||||
<returns>Classe <see cref="T:System.Reflection.Emit.ILGenerator" /> per il metodo, con la dimensione di flusso MSIL specificata.</returns>
|
||||
<param name="streamSize">Dimensione del flusso MSIL in byte. </param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
||||
<summary>Restituisce i parametri del metodo dinamico.</summary>
|
||||
<returns>Matrice di oggetti <see cref="T:System.Reflection.ParameterInfo" /> che rappresentano i parametri del metodo dinamico.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
||||
<summary>Ottiene o imposta un valore che indica se le variabili locali all'interno del metodo sono inizializzate su zero. </summary>
|
||||
<returns>true se le variabili locali all'interno del metodo sono inizializzate su zero. In caso contrario, false.Il valore predefinito è true.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.MethodImplementationFlags"></member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
||||
<summary>Ottiene il nome del metodo dinamico.</summary>
|
||||
<returns>Il nome semplice del metodo.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
||||
<summary>Ottiene il parametro restituito del metodo dinamico.</summary>
|
||||
<returns>Sempre null. </returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
||||
<summary>Ottiene il tipo del valore restituito per il metodo dinamico.</summary>
|
||||
<returns>Classe <see cref="T:System.Type" /> che rappresenta il tipo del valore restituito del metodo corrente; <see cref="T:System.Void" /> se il metodo non dispone di tipi restituiti.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
||||
<summary>Restituisce la firma del metodo, rappresentata sotto forma di stringa.</summary>
|
||||
<returns>Una stringa che rappresenta la firma del metodo.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
+185
@@ -0,0 +1,185 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Reflection.Emit.Lightweight</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Reflection.Emit.DynamicMethod">
|
||||
<summary>コンパイル、実行、および破棄できる動的メソッドを定義し、表します。破棄されたメソッドは、ガベージ コレクションの対象となります。</summary>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>メソッド名、属性、呼び出し規約、戻り値の型、パラメーターの型、モジュールを指定し、さらに動的メソッドの MSIL (Microsoft Intermediate Language) によってアクセスされる型およびメンバーに対して JIT (Just-In-Time) の参照範囲チェックをスキップする必要があるかどうかを指定して、モジュールに対してグローバルな動的メソッドを作成します。</summary>
|
||||
<param name="name">動的メソッドの名前。これは、長さ 0 の文字列にすることはできますが、null にすることはできません。</param>
|
||||
<param name="attributes">動的メソッドの属性を指定する <see cref="T:System.Reflection.MethodAttributes" /> 値のビットごとの組み合わせ。許可される組み合わせは、<see cref="F:System.Reflection.MethodAttributes.Public" /> と <see cref="F:System.Reflection.MethodAttributes.Static" /> の組み合わせだけです。</param>
|
||||
<param name="callingConvention">動的メソッドの呼び出し規約。<see cref="F:System.Reflection.CallingConventions.Standard" /> にする必要があります。</param>
|
||||
<param name="returnType">動的メソッドの戻り値の型を指定する <see cref="T:System.Type" /> オブジェクト。メソッドに戻り値の型がない場合は null。</param>
|
||||
<param name="parameterTypes">動的メソッドのパラメーターの型を指定する <see cref="T:System.Type" /> オブジェクトの配列。メソッドにパラメーターがない場合は null。</param>
|
||||
<param name="m">動的メソッドを論理的に関連付けるモジュールを表す <see cref="T:System.Reflection.Module" />。</param>
|
||||
<param name="skipVisibility">動的メソッドの MSIL によってアクセスされる型およびメンバーに対して JIT の参照範囲チェックをスキップする場合は true。それ以外の場合は false。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> の要素が null または <see cref="T:System.Void" /> です。または<paramref name="m" /> が、動的メソッドを匿名でホストするモジュールです。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> は null なので、または<paramref name="m" /> は null なので、</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> が <see cref="F:System.Reflection.MethodAttributes.Public" /> と <see cref="F:System.Reflection.MethodAttributes.Static" /> 以外のフラグの組み合わせです。または<paramref name="callingConvention" /> が <see cref="F:System.Reflection.CallingConventions.Standard" /> ではありません。または<paramref name="returnType" /> は <see cref="P:System.Type.IsByRef" /> で true が返される型です。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>メソッド名、属性、呼び出し規約、戻り値の型、パラメーターの型、動的メソッドを論理的に関連付ける型を指定し、さらに動的メソッドの MSIL (Microsoft Intermediate Language) によってアクセスされる型およびメンバーに対して JIT (Just-In-Time) の参照範囲チェックをスキップする必要があるかどうかを指定して、動的メソッドを作成します。</summary>
|
||||
<param name="name">動的メソッドの名前。これは、長さ 0 の文字列にすることはできますが、null にすることはできません。</param>
|
||||
<param name="attributes">動的メソッドの属性を指定する <see cref="T:System.Reflection.MethodAttributes" /> 値のビットごとの組み合わせ。許可される組み合わせは、<see cref="F:System.Reflection.MethodAttributes.Public" /> と <see cref="F:System.Reflection.MethodAttributes.Static" /> の組み合わせだけです。</param>
|
||||
<param name="callingConvention">動的メソッドの呼び出し規約。<see cref="F:System.Reflection.CallingConventions.Standard" /> にする必要があります。</param>
|
||||
<param name="returnType">動的メソッドの戻り値の型を指定する <see cref="T:System.Type" /> オブジェクト。メソッドに戻り値の型がない場合は null。</param>
|
||||
<param name="parameterTypes">動的メソッドのパラメーターの型を指定する <see cref="T:System.Type" /> オブジェクトの配列。メソッドにパラメーターがない場合は null。</param>
|
||||
<param name="owner">動的メソッドを論理的に関連付ける <see cref="T:System.Type" />。動的メソッドはこの型のすべてのメンバーにアクセスできます。</param>
|
||||
<param name="skipVisibility">動的メソッドの MSIL によってアクセスされる型およびメンバーに対して JIT の参照範囲チェックをスキップする場合は true。それ以外の場合は false。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> の要素が null または <see cref="T:System.Void" /> です。または<paramref name="owner" /> がインターフェイス、配列、オープン ジェネリック型、ジェネリック型またはジェネリック メソッドの型パラメーターです。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> は null なので、または<paramref name="owner" /> は null なので、</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> が <see cref="F:System.Reflection.MethodAttributes.Public" /> と <see cref="F:System.Reflection.MethodAttributes.Static" /> 以外のフラグの組み合わせです。または<paramref name="callingConvention" /> が <see cref="F:System.Reflection.CallingConventions.Standard" /> ではありません。または<paramref name="returnType" /> は <see cref="P:System.Type.IsByRef" /> で true が返される型です。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
||||
<summary>メソッド名、戻り値の型、およびパラメーターの型を指定して、匿名でホストされる動的メソッドを初期化します。</summary>
|
||||
<param name="name">動的メソッドの名前。これは、長さ 0 の文字列にすることはできますが、null にすることはできません。</param>
|
||||
<param name="returnType">動的メソッドの戻り値の型を指定する <see cref="T:System.Type" /> オブジェクト。メソッドに戻り値の型がない場合は null。</param>
|
||||
<param name="parameterTypes">動的メソッドのパラメーターの型を指定する <see cref="T:System.Type" /> オブジェクトの配列。メソッドにパラメーターがない場合は null。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> の要素が null または <see cref="T:System.Void" /> です。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> は null なので、</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> は <see cref="P:System.Type.IsByRef" /> で true が返される型です。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
||||
<summary>メソッド名、戻り値の型、パラメーターの型、モジュールを指定し、さらに動的メソッドの MSIL (Microsoft Intermediate Language) によってアクセスされる型およびメンバーに対して JIT (Just-In-Time) の参照範囲チェックをスキップする必要があるかどうかを指定して、匿名でホストされる動的メソッドを初期化します。</summary>
|
||||
<param name="name">動的メソッドの名前。これは、長さ 0 の文字列にすることはできますが、null にすることはできません。</param>
|
||||
<param name="returnType">動的メソッドの戻り値の型を指定する <see cref="T:System.Type" /> オブジェクト。メソッドに戻り値の型がない場合は null。</param>
|
||||
<param name="parameterTypes">動的メソッドのパラメーターの型を指定する <see cref="T:System.Type" /> オブジェクトの配列。メソッドにパラメーターがない場合は null。</param>
|
||||
<param name="restrictedSkipVisibility">動的メソッドの MSIL によってアクセスされる型およびメンバーに対して、このような型およびメンバーを含むアセンブリの信頼レベルが、動的メソッドを出力するコール スタックの信頼レベル以下である必要があるという制限付きで、JIT の参照範囲チェックをスキップする場合は true。それ以外の場合は false。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> の要素が null または <see cref="T:System.Void" /> です。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> は null なので、</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> は <see cref="P:System.Type.IsByRef" /> で true が返される型です。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
||||
<summary>メソッド名、戻り値の型、パラメーターの型、およびモジュールを指定して、モジュールに対してグローバルな動的メソッドを作成します。</summary>
|
||||
<param name="name">動的メソッドの名前。これは、長さ 0 の文字列にすることはできますが、null にすることはできません。</param>
|
||||
<param name="returnType">動的メソッドの戻り値の型を指定する <see cref="T:System.Type" /> オブジェクト。メソッドに戻り値の型がない場合は null。</param>
|
||||
<param name="parameterTypes">動的メソッドのパラメーターの型を指定する <see cref="T:System.Type" /> オブジェクトの配列。メソッドにパラメーターがない場合は null。</param>
|
||||
<param name="m">動的メソッドを論理的に関連付けるモジュールを表す <see cref="T:System.Reflection.Module" />。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> の要素が null または <see cref="T:System.Void" /> です。または<paramref name="m" /> が、動的メソッドを匿名でホストするモジュールです。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> は null なので、または<paramref name="m" /> は null なので、</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> は <see cref="P:System.Type.IsByRef" /> で true が返される型です。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>メソッド名、戻り値の型、パラメーターの型、モジュールを指定し、さらに動的メソッドの MSIL (Microsoft Intermediate Language) によってアクセスされる型およびメンバーに対して JIT (Just-In-Time) の参照範囲チェックをスキップする必要があるかどうかを指定して、モジュールに対してグローバルな動的メソッドを作成します。</summary>
|
||||
<param name="name">動的メソッドの名前。これは、長さ 0 の文字列にすることはできますが、null にすることはできません。</param>
|
||||
<param name="returnType">動的メソッドの戻り値の型を指定する <see cref="T:System.Type" /> オブジェクト。メソッドに戻り値の型がない場合は null。</param>
|
||||
<param name="parameterTypes">動的メソッドのパラメーターの型を指定する <see cref="T:System.Type" /> オブジェクトの配列。メソッドにパラメーターがない場合は null。</param>
|
||||
<param name="m">動的メソッドを論理的に関連付けるモジュールを表す <see cref="T:System.Reflection.Module" />。</param>
|
||||
<param name="skipVisibility">動的メソッドの MSIL によってアクセスされる型およびメンバーに対して JIT の参照範囲チェックをスキップする場合は true。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> の要素が null または <see cref="T:System.Void" /> です。または<paramref name="m" /> が、動的メソッドを匿名でホストするモジュールです。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> は null なので、または<paramref name="m" /> は null なので、</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> は <see cref="P:System.Type.IsByRef" /> で true が返される型です。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
||||
<summary>メソッド名、戻り値の型、パラメーターの型、および動的メソッドを論理的に関連付ける型を指定して、動的メソッドを作成します。</summary>
|
||||
<param name="name">動的メソッドの名前。これは、長さ 0 の文字列にすることはできますが、null にすることはできません。</param>
|
||||
<param name="returnType">動的メソッドの戻り値の型を指定する <see cref="T:System.Type" /> オブジェクト。メソッドに戻り値の型がない場合は null。</param>
|
||||
<param name="parameterTypes">動的メソッドのパラメーターの型を指定する <see cref="T:System.Type" /> オブジェクトの配列。メソッドにパラメーターがない場合は null。</param>
|
||||
<param name="owner">動的メソッドを論理的に関連付ける <see cref="T:System.Type" />。動的メソッドはこの型のすべてのメンバーにアクセスできます。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> の要素が null または <see cref="T:System.Void" /> です。または<paramref name="owner" /> がインターフェイス、配列、オープン ジェネリック型、ジェネリック型またはジェネリック メソッドの型パラメーターです。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> は null なので、または<paramref name="owner" /> は null なので、</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> が null であるか、<see cref="P:System.Type.IsByRef" /> で true が返される型です。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>メソッド名、戻り値の型、パラメーターの型、動的メソッドを論理的に関連付ける型を指定し、さらに動的メソッドの MSIL (Microsoft Intermediate Language) によってアクセスされる型およびメンバーに対して JIT (Just-In-Time) の参照範囲チェックをスキップする必要があるかどうかを指定して、動的メソッドを作成します。</summary>
|
||||
<param name="name">動的メソッドの名前。これは、長さ 0 の文字列にすることはできますが、null にすることはできません。</param>
|
||||
<param name="returnType">動的メソッドの戻り値の型を指定する <see cref="T:System.Type" /> オブジェクト。メソッドに戻り値の型がない場合は null。</param>
|
||||
<param name="parameterTypes">動的メソッドのパラメーターの型を指定する <see cref="T:System.Type" /> オブジェクトの配列。メソッドにパラメーターがない場合は null。</param>
|
||||
<param name="owner">動的メソッドを論理的に関連付ける <see cref="T:System.Type" />。動的メソッドはこの型のすべてのメンバーにアクセスできます。</param>
|
||||
<param name="skipVisibility">動的メソッドの MSIL によってアクセスされる型およびメンバーに対して JIT の参照範囲チェックをスキップする場合は true。それ以外の場合は false。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> の要素が null または <see cref="T:System.Void" /> です。または<paramref name="owner" /> がインターフェイス、配列、オープン ジェネリック型、ジェネリック型またはジェネリック メソッドの型パラメーターです。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> は null なので、または<paramref name="owner" /> は null なので、</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> が null であるか、<see cref="P:System.Type.IsByRef" /> で true が返される型です。</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
||||
<summary>動的メソッドの作成時に指定した属性を取得します。</summary>
|
||||
<returns>メソッドの属性を表す <see cref="T:System.Reflection.MethodAttributes" /> 値のビットごとの組み合わせ。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
||||
<summary>動的メソッドの作成時に指定した呼び出し規約を取得します。</summary>
|
||||
<returns>メソッドの呼び出し規約を示す <see cref="T:System.Reflection.CallingConventions" /> 値のいずれか。</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
||||
<summary>動的メソッドを完了し、メソッドの実行に使用できるデリゲートを作成します。</summary>
|
||||
<returns>動的メソッドの実行に使用できる指定した型のデリゲート。</returns>
|
||||
<param name="delegateType">シグネチャが動的メソッドのシグネチャと一致するデリゲート型。</param>
|
||||
<exception cref="T:System.InvalidOperationException">動的メソッドにメソッド本体がありません。</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="delegateType" /> のパラメーターの数に誤りがあるか、パラメーターの型に誤りがあります。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
||||
<summary>デリゲート型とデリゲートのバインド先となるオブジェクトを指定して、動的メソッドを完了し、メソッドの実行に使用できるデリゲートを作成します。</summary>
|
||||
<returns>指定した対象オブジェクトで動的メソッドの実行に使用できる、指定した型のデリゲート。</returns>
|
||||
<param name="delegateType">1 つ目のパラメーターがない、シグネチャが動的メソッドのシグネチャと一致するデリゲート型。</param>
|
||||
<param name="target">デリゲートのバインド先となるオブジェクト。動的メソッドの 1 つ目のパラメーターと同じ型であることが必要です。</param>
|
||||
<exception cref="T:System.InvalidOperationException">動的メソッドにメソッド本体がありません。</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="target" /> が動的メソッドの 1 つ目のパラメーターと同じ型でないため、この型に割り当てることはできません。または<paramref name="delegateType" /> のパラメーターの数に誤りがあるか、パラメーターの型に誤りがあります。</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
||||
<summary>動的メソッドに対して常に null である、メソッドを宣言する型を取得します。</summary>
|
||||
<returns>常に null。</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
||||
<summary>既定の MSIL (Microsoft Intermediate Language) ストリーム サイズである 64 バイトを使用して、このメソッドに対応する MSIL ジェネレーターを返します。</summary>
|
||||
<returns>メソッドの <see cref="T:System.Reflection.Emit.ILGenerator" /> オブジェクト。</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
||||
<summary>指定された MSIL (Microsoft Intermediate Language) ストリーム サイズのメソッドに MSIL ジェネレーターを返します。</summary>
|
||||
<returns>MSIL ストリームの指定したサイズを使用するメソッドの <see cref="T:System.Reflection.Emit.ILGenerator" /> オブジェクト。</returns>
|
||||
<param name="streamSize">MSIL ストリームのサイズ (バイト単位)。</param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
||||
<summary>動的メソッドのパラメーターを返します。</summary>
|
||||
<returns>動的メソッドのパラメーターを表す <see cref="T:System.Reflection.ParameterInfo" /> オブジェクトの配列。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
||||
<summary>メソッドのローカル変数を 0 で初期化するかどうかを示す値を取得または設定します。</summary>
|
||||
<returns>メソッドのローカル変数を 0 で初期化する場合は true。それ以外の場合は false。既定値は、true です。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.MethodImplementationFlags"></member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
||||
<summary>動的メソッドの名前を取得します。</summary>
|
||||
<returns>メソッドの簡易名。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
||||
<summary>動的メソッドの返されるパラメーターを取得します。</summary>
|
||||
<returns>常に null。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
||||
<summary>動的メソッドの戻り値の型を取得します。</summary>
|
||||
<returns>現在のメソッドの戻り値の型を表す <see cref="T:System.Type" />。メソッドに戻り値の型がない場合は <see cref="T:System.Void" />。</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
||||
<summary>文字列として表されたメソッドのシグネチャを返します。</summary>
|
||||
<returns>メソッドのシグネチャを表す文字列。</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
+185
@@ -0,0 +1,185 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Reflection.Emit.Lightweight</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Reflection.Emit.DynamicMethod">
|
||||
<summary>컴파일, 실행, 삭제 가능한 동적 메서드를 정의하고 나타냅니다.삭제한 메서드는 가비지 수집 대상이 될 수 있습니다.</summary>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>메서드 이름, 특성, 호출 규칙, 반환 형식, 매개 변수 형식 및 모듈을 지정하고 동적 메서드의 MSIL(Microsoft Intermediate Language)을 통해 액세스하는 형식과 멤버에 대해 JIT(Just-In-Time) 가시성 검사를 생략할지 여부를 지정하여 모듈에 대해 전역인 동적 메서드를 만듭니다.</summary>
|
||||
<param name="name">동적 메서드의 이름입니다.이 이름은 길이가 0인 문자열이 될 수 있지만 null은 될 수 없습니다.</param>
|
||||
<param name="attributes">동적 메서드의 특성을 지정하는 <see cref="T:System.Reflection.MethodAttributes" /> 값의 비트 조합입니다.<see cref="F:System.Reflection.MethodAttributes.Public" /> 및 <see cref="F:System.Reflection.MethodAttributes.Static" /> 조합만 허용됩니다.</param>
|
||||
<param name="callingConvention">동적 메서드의 호출 규칙입니다.<see cref="F:System.Reflection.CallingConventions.Standard" />여야 합니다.</param>
|
||||
<param name="returnType">동적 메서드의 반환 형식을 지정하는 <see cref="T:System.Type" /> 개체이거나, 메서드에 반환 형식이 없는 경우에는 null입니다. </param>
|
||||
<param name="parameterTypes">동적 메서드의 매개 변수 형식을 지정하는 <see cref="T:System.Type" /> 개체로 이루어진 배열이거나, 메서드에 매개 변수가 없는 경우에는 null입니다. </param>
|
||||
<param name="m">동적 메서드가 논리적으로 연결될 모듈을 나타내는 <see cref="T:System.Reflection.Module" />입니다. </param>
|
||||
<param name="skipVisibility">동적 메서드의 MSIL에서 액세스하는 형식과 멤버에 대해 JIT 가시성 검사를 생략하려면 true이고, 그렇지 않으면 false입니다. </param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" />의 요소가 null이거나 <see cref="T:System.Void" />인 경우또는<paramref name="m" />이 동적 메서드에 대한 익명 호스팅을 제공하는 모듈인 경우</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" />가 null입니다. 또는<paramref name="m" />가 null입니다.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" />가 <see cref="F:System.Reflection.MethodAttributes.Public" /> 및 <see cref="F:System.Reflection.MethodAttributes.Static" /> 이외의 플래그 조합인 경우또는<paramref name="callingConvention" />가 <see cref="F:System.Reflection.CallingConventions.Standard" />가 아닌 경우또는<paramref name="returnType" />이 <see cref="P:System.Type.IsByRef" />가 true를 반환하는 형식인 경우 </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>메서드 이름, 특성, 호출 규칙, 반환 형식, 매개 변수 형식, 동적 메서드를 논리적으로 연결할 형식을 지정하고 동적 메서드의 MSIL(Microsoft Intermediate Language)을 통해 액세스하는 형식과 멤버에 대해 JIT(Just-In-Time) 가시성 검사를 생략할지 여부를 지정하여 동적 메서드를 만듭니다.</summary>
|
||||
<param name="name">동적 메서드의 이름입니다.이 이름은 길이가 0인 문자열이 될 수 있지만 null은 될 수 없습니다.</param>
|
||||
<param name="attributes">동적 메서드의 특성을 지정하는 <see cref="T:System.Reflection.MethodAttributes" /> 값의 비트 조합입니다.<see cref="F:System.Reflection.MethodAttributes.Public" /> 및 <see cref="F:System.Reflection.MethodAttributes.Static" /> 조합만 허용됩니다.</param>
|
||||
<param name="callingConvention">동적 메서드의 호출 규칙입니다.<see cref="F:System.Reflection.CallingConventions.Standard" />여야 합니다.</param>
|
||||
<param name="returnType">동적 메서드의 반환 형식을 지정하는 <see cref="T:System.Type" /> 개체이거나, 메서드에 반환 형식이 없는 경우에는 null입니다. </param>
|
||||
<param name="parameterTypes">동적 메서드의 매개 변수 형식을 지정하는 <see cref="T:System.Type" /> 개체로 이루어진 배열이거나, 메서드에 매개 변수가 없는 경우에는 null입니다. </param>
|
||||
<param name="owner">동적 메서드가 논리적으로 연결될 <see cref="T:System.Type" />입니다.동적 메서드는 해당 형식의 모든 멤버에 액세스할 수 있습니다.</param>
|
||||
<param name="skipVisibility">동적 메서드의 MSIL에서 액세스하는 형식과 멤버에 대해 JIT 가시성 검사를 생략하려면 true이고, 그렇지 않으면 false입니다.</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" />의 요소가 null이거나 <see cref="T:System.Void" />인 경우 또는<paramref name="owner" />가 인터페이스, 배열, 개방형 제네릭 형식, 또는 제네릭 형식이나 메서드의 형식 매개 변수인 경우</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" />가 null입니다. 또는<paramref name="owner" />가 null입니다.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" />가 <see cref="F:System.Reflection.MethodAttributes.Public" /> 및 <see cref="F:System.Reflection.MethodAttributes.Static" /> 이외의 플래그 조합인 경우또는<paramref name="callingConvention" />가 <see cref="F:System.Reflection.CallingConventions.Standard" />가 아닌 경우또는<paramref name="returnType" />이 <see cref="P:System.Type.IsByRef" />가 true를 반환하는 형식인 경우 </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
||||
<summary>메서드 이름, 반환 형식 및 매개 변수 형식을 지정하여 익명으로 호스팅된 동적 메서드를 초기화합니다. </summary>
|
||||
<param name="name">동적 메서드의 이름입니다.이 이름은 길이가 0인 문자열이 될 수 있지만 null은 될 수 없습니다.</param>
|
||||
<param name="returnType">동적 메서드의 반환 형식을 지정하는 <see cref="T:System.Type" /> 개체이거나, 메서드에 반환 형식이 없는 경우에는 null입니다. </param>
|
||||
<param name="parameterTypes">동적 메서드의 매개 변수 형식을 지정하는 <see cref="T:System.Type" /> 개체로 이루어진 배열이거나, 메서드에 매개 변수가 없는 경우에는 null입니다. </param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" />의 요소가 null이거나 <see cref="T:System.Void" />인 경우 </exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" />가 null입니다. </exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" />이 <see cref="P:System.Type.IsByRef" />가 true를 반환하는 형식인 경우 </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
||||
<summary>메서드 이름, 반환 형식 및 매개 변수 형식을 지정하고 동적 메서드의 MSIL(Microsoft Intermediate Language)을 통해 액세스하는 형식과 멤버에 대해 JIT(Just-In-Time) 가시성 검사를 생략할지 여부를 지정하여 익명으로 호스팅된 동적 메서드를 초기화합니다. </summary>
|
||||
<param name="name">동적 메서드의 이름입니다.이 이름은 길이가 0인 문자열이 될 수 있지만 null은 될 수 없습니다.</param>
|
||||
<param name="returnType">동적 메서드의 반환 형식을 지정하는 <see cref="T:System.Type" /> 개체이거나, 메서드에 반환 형식이 없는 경우에는 null입니다. </param>
|
||||
<param name="parameterTypes">동적 메서드의 매개 변수 형식을 지정하는 <see cref="T:System.Type" /> 개체로 이루어진 배열이거나, 메서드에 매개 변수가 없는 경우에는 null입니다. </param>
|
||||
<param name="restrictedSkipVisibility">동적 메서드의 MSIL에서 액세스하는 형식과 멤버를 포함하는 어셈블리의 신뢰 수준이 동적 메서드를 내보내는 호출 스택의 신뢰 수준과 같거나 그보다 낮은 경우에 한해 해당 형식과 멤버에 대한 JIT 가시성 검사를 생략하려면 true이고, 그렇지 않으면 false입니다. </param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" />의 요소가 null이거나 <see cref="T:System.Void" />인 경우</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" />가 null입니다. </exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" />이 <see cref="P:System.Type.IsByRef" />가 true를 반환하는 형식인 경우 </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
||||
<summary>메서드 이름, 반환 값, 매개 변수 형식 및 모듈을 지정하여 모듈에 대해 전역 메서드인 동적 메서드를 만듭니다.</summary>
|
||||
<param name="name">동적 메서드의 이름입니다.이 이름은 길이가 0인 문자열이 될 수 있지만 null은 될 수 없습니다.</param>
|
||||
<param name="returnType">동적 메서드의 반환 형식을 지정하는 <see cref="T:System.Type" /> 개체이거나, 메서드에 반환 형식이 없는 경우에는 null입니다. </param>
|
||||
<param name="parameterTypes">동적 메서드의 매개 변수 형식을 지정하는 <see cref="T:System.Type" /> 개체로 이루어진 배열이거나, 메서드에 매개 변수가 없는 경우에는 null입니다. </param>
|
||||
<param name="m">동적 메서드가 논리적으로 연결될 모듈을 나타내는 <see cref="T:System.Reflection.Module" />입니다. </param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" />의 요소가 null이거나 <see cref="T:System.Void" />인 경우 또는<paramref name="m" />이 동적 메서드에 대한 익명 호스팅을 제공하는 모듈인 경우</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" />가 null입니다. 또는<paramref name="m" />가 null입니다.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" />이 <see cref="P:System.Type.IsByRef" />가 true를 반환하는 형식인 경우 </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>메서드 이름, 반환 형식, 매개 변수 형식 및 모듈을 지정하고 동적 메서드의 MSIL(Microsoft Intermediate Language)을 통해 액세스하는 형식과 멤버에 대해 JIT(Just-In-Time) 가시성 검사를 생략할지 여부를 지정하여 모듈에 대해 전역인 동적 메서드를 만듭니다.</summary>
|
||||
<param name="name">동적 메서드의 이름입니다.이 이름은 길이가 0인 문자열이 될 수 있지만 null은 될 수 없습니다.</param>
|
||||
<param name="returnType">동적 메서드의 반환 형식을 지정하는 <see cref="T:System.Type" /> 개체이거나, 메서드에 반환 형식이 없는 경우에는 null입니다. </param>
|
||||
<param name="parameterTypes">동적 메서드의 매개 변수 형식을 지정하는 <see cref="T:System.Type" /> 개체로 이루어진 배열이거나, 메서드에 매개 변수가 없는 경우에는 null입니다. </param>
|
||||
<param name="m">동적 메서드가 논리적으로 연결될 모듈을 나타내는 <see cref="T:System.Reflection.Module" />입니다. </param>
|
||||
<param name="skipVisibility">동적 메서드의 MSIL에서 액세스하는 형식과 멤버에 대해 JIT 가시성 검사를 생략하려면 true입니다. </param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" />의 요소가 null이거나 <see cref="T:System.Void" />인 경우 또는<paramref name="m" />이 동적 메서드에 대한 익명 호스팅을 제공하는 모듈인 경우</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" />가 null입니다. 또는<paramref name="m" />가 null입니다.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" />이 <see cref="P:System.Type.IsByRef" />가 true를 반환하는 형식인 경우 </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
||||
<summary>메서드 이름, 반환 형식, 매개 변수 형식 및 동적 메서드가 논리적으로 연결될 형식을 지정하여 동적 메서드를 만듭니다.</summary>
|
||||
<param name="name">동적 메서드의 이름입니다.이 이름은 길이가 0인 문자열이 될 수 있지만 null은 될 수 없습니다.</param>
|
||||
<param name="returnType">동적 메서드의 반환 형식을 지정하는 <see cref="T:System.Type" /> 개체이거나, 메서드에 반환 형식이 없는 경우에는 null입니다. </param>
|
||||
<param name="parameterTypes">동적 메서드의 매개 변수 형식을 지정하는 <see cref="T:System.Type" /> 개체로 이루어진 배열이거나, 메서드에 매개 변수가 없는 경우에는 null입니다. </param>
|
||||
<param name="owner">동적 메서드가 논리적으로 연결될 <see cref="T:System.Type" />입니다.동적 메서드는 해당 형식의 모든 멤버에 액세스할 수 있습니다.</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" />의 요소가 null이거나 <see cref="T:System.Void" />인 경우또는 <paramref name="owner" />가 인터페이스, 배열, 개방형 제네릭 형식, 또는 제네릭 형식이나 메서드의 형식 매개 변수인 경우 </exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" />가 null입니다. 또는<paramref name="owner" />가 null입니다.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" />이 null이거나, <see cref="P:System.Type.IsByRef" />가 true를 반환하는 형식인 경우 </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>메서드 이름, 반환 형식, 매개 변수 형식, 동적 메서드를 논리적으로 연결할 형식을 지정하고 동적 메서드의 MSIL(Microsoft Intermediate Language)을 통해 액세스하는 형식과 멤버에 대해 JIT(Just-In-Time) 가시성 검사를 생략할지 여부를 지정하여 동적 메서드를 만듭니다.</summary>
|
||||
<param name="name">동적 메서드의 이름입니다.이 이름은 길이가 0인 문자열이 될 수 있지만 null은 될 수 없습니다.</param>
|
||||
<param name="returnType">동적 메서드의 반환 형식을 지정하는 <see cref="T:System.Type" /> 개체이거나, 메서드에 반환 형식이 없는 경우에는 null입니다. </param>
|
||||
<param name="parameterTypes">동적 메서드의 매개 변수 형식을 지정하는 <see cref="T:System.Type" /> 개체로 이루어진 배열이거나, 메서드에 매개 변수가 없는 경우에는 null입니다. </param>
|
||||
<param name="owner">동적 메서드가 논리적으로 연결될 <see cref="T:System.Type" />입니다.동적 메서드는 해당 형식의 모든 멤버에 액세스할 수 있습니다.</param>
|
||||
<param name="skipVisibility">동적 메서드의 MSIL에서 액세스하는 형식과 멤버에 대해 JIT 가시성 검사를 생략하려면 true이고, 그렇지 않으면 false입니다. </param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" />의 요소가 null이거나 <see cref="T:System.Void" />인 경우또는 <paramref name="owner" />가 인터페이스, 배열, 개방형 제네릭 형식, 또는 제네릭 형식이나 메서드의 형식 매개 변수인 경우</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" />가 null입니다. 또는<paramref name="owner" />가 null입니다.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" />이 null이거나, <see cref="P:System.Type.IsByRef" />가 true를 반환하는 형식인 경우 </exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
||||
<summary>동적 메서드를 만들 때 지정된 특성을 가져옵니다.</summary>
|
||||
<returns>메서드의 특성을 나타내는 <see cref="T:System.Reflection.MethodAttributes" /> 값의 비트 조합입니다.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
||||
<summary>동적 메서드를 만들 때 지정된 호출 규칙을 가져옵니다.</summary>
|
||||
<returns>메서드의 호출 규칙을 나타내는 <see cref="T:System.Reflection.CallingConventions" /> 값 중 하나입니다.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
||||
<summary>동적 메서드를 완성하고 이 메서드를 실행하는 데 사용할 수 있는 대리자를 만듭니다.</summary>
|
||||
<returns>동적 메서드를 실행하는 데 사용할 수 있는 지정된 형식의 대리자입니다.</returns>
|
||||
<param name="delegateType">동적 메서드의 시그니처와 일치하는 시그니처를 갖는 대리자 형식입니다. </param>
|
||||
<exception cref="T:System.InvalidOperationException">동적 메서드에 메서드 본문이 없는 경우</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="delegateType" />에 잘못된 수의 매개 변수나 잘못된 매개 변수 형식이 있는 경우</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
||||
<summary>동적 메서드를 완성하고, 대리자 형식과 대리자가 바인딩될 개체를 지정하여 이 메서드를 실행하는 데 사용할 수 있는 대리자를 만듭니다.</summary>
|
||||
<returns>지정된 대상 개체와 함께 동적 메서드를 실행하는 데 사용할 수 있는 지정된 형식의 대리자입니다.</returns>
|
||||
<param name="delegateType">동적 메서드의 시그니처와 일치하는 시그니처를 갖고 첫 번째 매개 변수는 없는 대리자 형식입니다.</param>
|
||||
<param name="target">대리자가 바인딩될 개체입니다.동적 메서드의 첫 번째 매개 변수와 동일한 형식이어야 합니다.</param>
|
||||
<exception cref="T:System.InvalidOperationException">동적 메서드에 메서드 본문이 없는 경우</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="target" />이 동적 메서드의 첫 번째 매개 변수 형식과 동일하지 않고 이 형식에 할당할 수 없는 경우또는<paramref name="delegateType" />에 잘못된 수의 매개 변수나 잘못된 매개 변수 형식이 있는 경우</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
||||
<summary>메서드를 선언하는 형식을 가져옵니다. 동적 메서드의 경우에는 항상 null입니다.</summary>
|
||||
<returns>항상 null입니다.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
||||
<summary>기본 MSIL(Microsoft Intermediate Language) 스트림 크기인 64바이트로 메서드에 대한 MSIL 생성기를 반환합니다.</summary>
|
||||
<returns>메서드에 대한 <see cref="T:System.Reflection.Emit.ILGenerator" /> 개체입니다.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
||||
<summary>지정된 MSIL(Microsoft Intermediate Language) 스트림 크기로 메서드에 대한 MSIL 생성기를 반환합니다.</summary>
|
||||
<returns>메서드에 대해 MSIL 스트림이 지정된 크기인 <see cref="T:System.Reflection.Emit.ILGenerator" /> 개체입니다.</returns>
|
||||
<param name="streamSize">MSIL 스트림의 크기(바이트)입니다. </param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
||||
<summary>동적 메서드의 매개 변수를 반환합니다.</summary>
|
||||
<returns>동적 메서드의 매개 변수를 나타내는 <see cref="T:System.Reflection.ParameterInfo" /> 개체의 배열입니다.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
||||
<summary>메서드의 지역 변수가 0으로 초기화되는지 여부를 나타내는 값을 가져오거나 설정합니다. </summary>
|
||||
<returns>메서드의 지역 변수가 0으로 초기화되면 true이고, 그렇지 않으면 false입니다.기본값은 true입니다.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.MethodImplementationFlags"></member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
||||
<summary>동적 메서드의 이름을 가져옵니다.</summary>
|
||||
<returns>메서드의 단순한 이름입니다.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
||||
<summary>동적 메서드의 반환 매개 변수를 가져옵니다.</summary>
|
||||
<returns>항상 null입니다. </returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
||||
<summary>동적 메서드의 반환 값 형식을 가져옵니다.</summary>
|
||||
<returns>현재 메서드의 반환 값 형식을 나타내는 <see cref="T:System.Type" />이거나, 메서드에 반환 형식이 없는 경우 <see cref="T:System.Void" />입니다.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
||||
<summary>문자열로 표현된 메서드 시그니처를 반환합니다.</summary>
|
||||
<returns>메서드 시그니처를 나타내는 문자열입니다.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
+171
@@ -0,0 +1,171 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Reflection.Emit.Lightweight</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Reflection.Emit.DynamicMethod">
|
||||
<summary>Определяет и представляет динамический метод, который может быть скомпилирован, выполнен и удален.Удаленные методы доступны для сборки мусора.</summary>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Создает динамический метод, который является глобальным по отношению к модулю, указывая при этом имя метода, атрибуты, соглашение о вызове, возвращаемый тип, типы параметров, модуль, а также необходимость пропуска проверок видимости с помощью JIT-компилятора для типов и элементов, к которым получает доступ язык MSIL динамического метода.</summary>
|
||||
<param name="name">Имя динамического метода.Это может быть строка нулевой длины, но не значение null.</param>
|
||||
<param name="attributes">Битовая комбинация значений <see cref="T:System.Reflection.MethodAttributes" />, которые указывают атрибуты динамического метода.Единственной разрешенной комбинацией является <see cref="F:System.Reflection.MethodAttributes.Public" /> и <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">Соглашение о вызовах этого динамического метода.Значением должно быть <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">Объект <see cref="T:System.Type" />, определяющий тип возвращаемого значения данного динамического метода, или значение null, если метод не возвращает значение. </param>
|
||||
<param name="parameterTypes">Массив объектов типа <see cref="T:System.Type" />, определяющих типы параметров динамического метода, или null, если метод не имеет параметров. </param>
|
||||
<param name="m">
|
||||
<see cref="T:System.Reflection.Module" />, представляющий модуль, с которым следует логически связать динамический метод. </param>
|
||||
<param name="skipVisibility">Значение true, чтобы пропустить проверки видимости, выполняемые JIT-компилятором, для типов и членов, доступ к которым имеет язык MSIL динамического метода; в противном случае — значение false. </param>
|
||||
<exception cref="T:System.ArgumentException">Элемент <paramref name="parameterTypes" /> равен null или <see cref="T:System.Void" />.– или –<paramref name="m" /> — модуль, предоставляющий анонимное размещение для динамических методов.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">Параметр <paramref name="name" /> имеет значение null. – или –Параметр <paramref name="m" /> имеет значение null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> является комбинацией флагов, отличных от <see cref="F:System.Reflection.MethodAttributes.Public" /> и <see cref="F:System.Reflection.MethodAttributes.Static" />.– или –Значение <paramref name="callingConvention" /> не <see cref="F:System.Reflection.CallingConventions.Standard" />.– или –<paramref name="returnType" /> является типом, для которого <see cref="P:System.Type.IsByRef" /> возвращает значение true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Создает динамический метод, указывая при этом имя метода, атрибуты, соглашение о вызове, возвращаемый тип, типы параметров, тип, с которым логически связан этот динамический метод, а также необходимость пропуска проверок видимости с помощью JIT-компилятора для типов и элементов, к которым получает доступ язык MSIL динамического метода.</summary>
|
||||
<param name="name">Имя динамического метода.Это может быть строка нулевой длины, но не значение null.</param>
|
||||
<param name="attributes">Битовая комбинация значений <see cref="T:System.Reflection.MethodAttributes" />, которые указывают атрибуты динамического метода.Единственной разрешенной комбинацией является <see cref="F:System.Reflection.MethodAttributes.Public" /> и <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">Соглашение о вызовах этого динамического метода.Значением должно быть <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">Объект <see cref="T:System.Type" />, определяющий тип возвращаемого значения данного динамического метода, или значение null, если метод не возвращает значение. </param>
|
||||
<param name="parameterTypes">Массив объектов типа <see cref="T:System.Type" />, определяющих типы параметров динамического метода, или null, если метод не имеет параметров. </param>
|
||||
<param name="owner">Тип <see cref="T:System.Type" />, с которым логически связан динамический метод.Динамический метод имеет доступ ко всем элементам этого типа.</param>
|
||||
<param name="skipVisibility">Значение true, чтобы пропустить проверки видимости, выполняемые JIT-компилятором, для типов и членов, доступ к которым имеет язык MSIL динамического метода; в противном случае — значение false.</param>
|
||||
<exception cref="T:System.ArgumentException">Элемент <paramref name="parameterTypes" /> равен null или <see cref="T:System.Void" />. – или –<paramref name="owner" /> является интерфейсом, массивом, открытым универсальным типом или параметром типа универсального типа или метода.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">Параметр <paramref name="name" /> имеет значение null. – или –Параметр <paramref name="owner" /> имеет значение null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> является комбинацией флагов, отличных от <see cref="F:System.Reflection.MethodAttributes.Public" /> и <see cref="F:System.Reflection.MethodAttributes.Static" />.– или –Значение <paramref name="callingConvention" /> не <see cref="F:System.Reflection.CallingConventions.Standard" />.– или –<paramref name="returnType" /> является типом, для которого <see cref="P:System.Type.IsByRef" /> возвращает значение true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
||||
<summary>Инициализирует анонимно размещенный динамический метод, указывая имя метода, возвращаемый тип и типы параметров. </summary>
|
||||
<param name="name">Имя динамического метода.Это может быть строка нулевой длины, но не значение null.</param>
|
||||
<param name="returnType">Объект <see cref="T:System.Type" />, определяющий тип возвращаемого значения данного динамического метода, или значение null, если метод не возвращает значение. </param>
|
||||
<param name="parameterTypes">Массив объектов типа <see cref="T:System.Type" />, определяющих типы параметров динамического метода, или null, если метод не имеет параметров. </param>
|
||||
<exception cref="T:System.ArgumentException">Элемент <paramref name="parameterTypes" /> равен null или <see cref="T:System.Void" />. </exception>
|
||||
<exception cref="T:System.ArgumentNullException">Параметр <paramref name="name" /> имеет значение null. </exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> является типом, для которого <see cref="P:System.Type.IsByRef" /> возвращает значение true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
||||
<summary>Инициализирует анонимно размещенный динамический метод, указывая при этом имя метода, возвращаемый тип, типы параметров, модуль, а также необходимость пропуска проверок видимости с помощью JIT-компилятора для типов и элементов, к которым получает доступ язык MSIL динамического метода. </summary>
|
||||
<param name="name">Имя динамического метода.Это может быть строка нулевой длины, но не значение null.</param>
|
||||
<param name="returnType">Объект <see cref="T:System.Type" />, определяющий тип возвращаемого значения данного динамического метода, или значение null, если метод не возвращает значение. </param>
|
||||
<param name="parameterTypes">Массив объектов типа <see cref="T:System.Type" />, определяющих типы параметров динамического метода, или null, если метод не имеет параметров. </param>
|
||||
<param name="restrictedSkipVisibility">true для пропуска проверок видимости с помощью JIT-компилятора для всех типов и элементом, к которым есть доступ у языка MSIL динамического метода. При таком ограничении уровень доверия сборок, содержащих эти типы и элементы, должен не превышать уровень доверия стека вызовов, который выпустил динамический метод; в противном случае — значение false. </param>
|
||||
<exception cref="T:System.ArgumentException">Элемент <paramref name="parameterTypes" /> равен null или <see cref="T:System.Void" />.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">Параметр <paramref name="name" /> имеет значение null. </exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> является типом, для которого <see cref="P:System.Type.IsByRef" /> возвращает значение true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
||||
<summary>Создает динамический метод, который является глобальным по отношению к модулю, указывая имя метода, возвращаемый тип, типы параметров и модуль.</summary>
|
||||
<param name="name">Имя динамического метода.Это может быть строка нулевой длины, но не значение null.</param>
|
||||
<param name="returnType">Объект <see cref="T:System.Type" />, определяющий тип возвращаемого значения данного динамического метода, или значение null, если метод не возвращает значение. </param>
|
||||
<param name="parameterTypes">Массив объектов типа <see cref="T:System.Type" />, определяющих типы параметров динамического метода, или null, если метод не имеет параметров. </param>
|
||||
<param name="m">
|
||||
<see cref="T:System.Reflection.Module" />, представляющий модуль, с которым следует логически связать динамический метод. </param>
|
||||
<exception cref="T:System.ArgumentException">Элемент <paramref name="parameterTypes" /> равен null или <see cref="T:System.Void" />. – или –<paramref name="m" /> — модуль, предоставляющий анонимное размещение для динамических методов.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">Параметр <paramref name="name" /> имеет значение null. – или –Параметр <paramref name="m" /> имеет значение null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> является типом, для которого <see cref="P:System.Type.IsByRef" /> возвращает значение true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Создает динамический метод, который является глобальным по отношению к модулю, указывая при этом имя метода, возвращаемый тип, типы параметров, модуль, а также необходимость пропуска проверок видимости с помощью JIT-компилятора для типов и элементов, к которым получает доступ язык MSIL динамического метода.</summary>
|
||||
<param name="name">Имя динамического метода.Это может быть строка нулевой длины, но не значение null.</param>
|
||||
<param name="returnType">Объект <see cref="T:System.Type" />, определяющий тип возвращаемого значения данного динамического метода, или значение null, если метод не возвращает значение. </param>
|
||||
<param name="parameterTypes">Массив объектов типа <see cref="T:System.Type" />, определяющих типы параметров динамического метода, или null, если метод не имеет параметров. </param>
|
||||
<param name="m">
|
||||
<see cref="T:System.Reflection.Module" />, представляющий модуль, с которым следует логически связать динамический метод. </param>
|
||||
<param name="skipVisibility">Значение true, чтобы пропустить проверки видимости, выполняемые JIT-компилятором, для типов и членов, доступ к которым имеет язык MSIL динамического метода. </param>
|
||||
<exception cref="T:System.ArgumentException">Элемент <paramref name="parameterTypes" /> равен null или <see cref="T:System.Void" />. – или –<paramref name="m" /> — модуль, предоставляющий анонимное размещение для динамических методов.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">Параметр <paramref name="name" /> имеет значение null. – или –Параметр <paramref name="m" /> имеет значение null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> является типом, для которого <see cref="P:System.Type.IsByRef" /> возвращает значение true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
||||
<summary>Создает динамический метод, указывая имя метода, возвращаемый тип, типы параметров и тип, с которым логически связан этот динамический метод.</summary>
|
||||
<param name="name">Имя динамического метода.Это может быть строка нулевой длины, но не значение null.</param>
|
||||
<param name="returnType">Объект <see cref="T:System.Type" />, определяющий тип возвращаемого значения данного динамического метода, или значение null, если метод не возвращает значение. </param>
|
||||
<param name="parameterTypes">Массив объектов типа <see cref="T:System.Type" />, определяющих типы параметров динамического метода, или null, если метод не имеет параметров. </param>
|
||||
<param name="owner">Тип <see cref="T:System.Type" />, с которым логически связан динамический метод.Динамический метод имеет доступ ко всем элементам этого типа.</param>
|
||||
<exception cref="T:System.ArgumentException">Элемент <paramref name="parameterTypes" /> равен null или <see cref="T:System.Void" />.– или – <paramref name="owner" /> является интерфейсом, массивом, открытым универсальным типом или параметром типа универсального типа или метода. </exception>
|
||||
<exception cref="T:System.ArgumentNullException">Параметр <paramref name="name" /> имеет значение null. – или –Параметр <paramref name="owner" /> имеет значение null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> равен null или является типом, для которого <see cref="P:System.Type.IsByRef" /> возвращает значение true. </exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Создает динамический метод, указывая при этом имя метода, возвращаемый тип, типы параметров, тип, с которым логически связан этот динамический метод, а также необходимость пропуска проверок видимости с помощью JIT-компилятора для типов и элементов, к которым получает доступ язык MSIL динамического метода.</summary>
|
||||
<param name="name">Имя динамического метода.Это может быть строка нулевой длины, но не значение null.</param>
|
||||
<param name="returnType">Объект <see cref="T:System.Type" />, определяющий тип возвращаемого значения данного динамического метода, или значение null, если метод не возвращает значение. </param>
|
||||
<param name="parameterTypes">Массив объектов типа <see cref="T:System.Type" />, определяющих типы параметров динамического метода, или null, если метод не имеет параметров. </param>
|
||||
<param name="owner">Тип <see cref="T:System.Type" />, с которым логически связан динамический метод.Динамический метод имеет доступ ко всем элементам этого типа.</param>
|
||||
<param name="skipVisibility">Значение true, чтобы пропустить проверки видимости, выполняемые JIT-компилятором, для типов и членов, доступ к которым имеет язык MSIL динамического метода; в противном случае — значение false. </param>
|
||||
<exception cref="T:System.ArgumentException">Элемент <paramref name="parameterTypes" /> равен null или <see cref="T:System.Void" />.– или – <paramref name="owner" /> является интерфейсом, массивом, открытым универсальным типом или параметром типа универсального типа или метода.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">Параметр <paramref name="name" /> имеет значение null. – или –Параметр <paramref name="owner" /> имеет значение null.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> равен null или является типом, для которого <see cref="P:System.Type.IsByRef" /> возвращает значение true. </exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
||||
<summary>Возвращает атрибуты, указанные при создании динамического метода.</summary>
|
||||
<returns>Битовая комбинация значений <see cref="T:System.Reflection.MethodAttributes" />, представляющих атрибуты этого метода.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
||||
<summary>Возвращает соглашение о вызове, указанное при создании динамического метода.</summary>
|
||||
<returns>Одно из значений <see cref="T:System.Reflection.CallingConventions" />, указывающее соглашение о вызове для этого метода.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
||||
<summary>Завершает динамический метод и создает делегата, который может быть использован для запуска метода.</summary>
|
||||
<returns>Делегат указанного типа, который может использоваться для запуска динамического метода.</returns>
|
||||
<param name="delegateType">Тип делегата, сигнатура которого совпадает с сигнатурой динамического метода. </param>
|
||||
<exception cref="T:System.InvalidOperationException">Динамический метод не содержит основного текста метода.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="delegateType" /> содержит неверное количество параметров или недопустимые типы параметров.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
||||
<summary>Завершает динамический метод и создает делегата, который может быть использован для его вызова, указывая при этом тип делегата и объект, к которому привязан этот делегат.</summary>
|
||||
<returns>Делегат указанного типа, который может использоваться для запуска динамического метода с указанным объектом назначения.</returns>
|
||||
<param name="delegateType">Тип делегата, подпись которого совпадает с сигнатурой динамического метода, за исключением первого параметра.</param>
|
||||
<param name="target">Объект, к которому привязан делегат.Должен быть того же типа, что и первый параметр динамического метода.</param>
|
||||
<exception cref="T:System.InvalidOperationException">Динамический метод не содержит основного текста метода.</exception>
|
||||
<exception cref="T:System.ArgumentException">Параметр <paramref name="target" /> не является тем же типом, что и первый параметр динамического метода, и не может быть назначен для этого типа.– или –<paramref name="delegateType" /> содержит неверное количество параметров или недопустимые типы параметров.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
||||
<summary>Получает тип, объявляющий метод, который всегда равен null для динамических методов.</summary>
|
||||
<returns>Всегда null.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
||||
<summary>Возвращает генератор MSIL для этого метода с используемым по умолчанию 64-байтным потоком MSIL.</summary>
|
||||
<returns>Объект <see cref="T:System.Reflection.Emit.ILGenerator" /> для этого метода.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
||||
<summary>Возвращает генератор MSIL для метода с указанным размером потока MSIL.</summary>
|
||||
<returns>Объект <see cref="T:System.Reflection.Emit.ILGenerator" /> для метода с указанным размером потока MSIL.</returns>
|
||||
<param name="streamSize">Размер потока языка MSIL в байтах. </param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
||||
<summary>Возвращает параметры динамического метода.</summary>
|
||||
<returns>Массив объектов <see cref="T:System.Reflection.ParameterInfo" />, предоставляющих параметры данного динамического метода.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
||||
<summary>Возвращает или задает значение, указывающее, инициализируются ли локальные переменные в этом методе с нуля. </summary>
|
||||
<returns>Значение true, если локальные переменные в методе инициализируются с нуля, в противном случае — false.Значение по умолчанию — true.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.MethodImplementationFlags"></member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
||||
<summary>Возвращает имя динамического метода.</summary>
|
||||
<returns>Простое имя метода.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
||||
<summary>Получает возвращаемый параметр динамического метода.</summary>
|
||||
<returns>Всегда null. </returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
||||
<summary>Возвращает тип возвращаемого значения для динамического метода.</summary>
|
||||
<returns>Тип <see cref="T:System.Type" />, представляющий тип возвращаемого значения текущего метода; <see cref="T:System.Void" />, если метод не содержит возвращаемого типа.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
||||
<summary>Возвращает сигнатуру метода, представленную строкой.</summary>
|
||||
<returns>Строка, представляющая подпись метода.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
+188
@@ -0,0 +1,188 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Reflection.Emit.Lightweight</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Reflection.Emit.DynamicMethod">
|
||||
<summary>定义并表示一种可编译、执行和丢弃的动态方法。丢弃的方法可用于垃圾回收。</summary>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>创建一个对模块全局有效的动态方法,指定方法名称、属性、调用约定、返回类型、参数类型和模块,并指定动态方法的 Microsoft 中间语言 (MSIL) 访问的类型和成员是否应跳过实时 (JIT) 可见性检查。</summary>
|
||||
<param name="name">动态方法的名称。可以是长度为零的字符串,但不能为 null。</param>
|
||||
<param name="attributes">
|
||||
<see cref="T:System.Reflection.MethodAttributes" /> 值的按位组合,指定动态方法的属性。允许的唯一组合为 <see cref="F:System.Reflection.MethodAttributes.Public" /> 和 <see cref="F:System.Reflection.MethodAttributes.Static" />。</param>
|
||||
<param name="callingConvention">动态方法的调用约定。必须为 <see cref="F:System.Reflection.CallingConventions.Standard" />。</param>
|
||||
<param name="returnType">一个 <see cref="T:System.Type" /> 对象,它指定动态方法的返回类型;如果方法没有返回类型,则为 null。</param>
|
||||
<param name="parameterTypes">一个 <see cref="T:System.Type" /> 对象数组,它指定动态方法的参数的类型;如果方法没有参数,则为 null。</param>
|
||||
<param name="m">一个 <see cref="T:System.Reflection.Module" />,表示动态方法将与之逻辑关联的模块。</param>
|
||||
<param name="skipVisibility">要跳过动态方法的 MSIL 访问的类型和成员的 JIT 可见性检查,则为 true;否则为 false。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一个元素为 null 或 <see cref="T:System.Void" />。- 或 -<paramref name="m" /> 是为动态方法提供匿名承载的模块。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 为 null。- 或 -<paramref name="m" /> 为 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> 是标志的组合,而不是 <see cref="F:System.Reflection.MethodAttributes.Public" /> 和 <see cref="F:System.Reflection.MethodAttributes.Static" /> 的组合。- 或 -<paramref name="callingConvention" /> 不是 <see cref="F:System.Reflection.CallingConventions.Standard" />。- 或 -<paramref name="returnType" /> 为 <see cref="P:System.Type.IsByRef" /> 返回 true 的类型。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>创建一个动态方法,指定方法名称、特性、调用约定、返回类型、参数类型、动态方法逻辑关联的类型,并指定动态方法的 Microsoft 中间语言 (MSIL) 访问的类型和成员是否应跳过实时 (JIT) 可见性检查。</summary>
|
||||
<param name="name">动态方法的名称。可以是长度为零的字符串,但不能为 null。</param>
|
||||
<param name="attributes">
|
||||
<see cref="T:System.Reflection.MethodAttributes" /> 值的按位组合,指定动态方法的属性。允许的唯一组合为 <see cref="F:System.Reflection.MethodAttributes.Public" /> 和 <see cref="F:System.Reflection.MethodAttributes.Static" />。</param>
|
||||
<param name="callingConvention">动态方法的调用约定。必须为 <see cref="F:System.Reflection.CallingConventions.Standard" />。</param>
|
||||
<param name="returnType">一个 <see cref="T:System.Type" /> 对象,它指定动态方法的返回类型;如果方法没有返回类型,则为 null。</param>
|
||||
<param name="parameterTypes">一个 <see cref="T:System.Type" /> 对象数组,它指定动态方法的参数的类型;如果方法没有参数,则为 null。</param>
|
||||
<param name="owner">一个 <see cref="T:System.Type" />,动态方法与其逻辑关联。动态方法可以访问类型的所有成员。</param>
|
||||
<param name="skipVisibility">要跳过动态方法的 MSIL 访问的类型和成员的 JIT 可见性检查,则为 true;否则为 false。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一个元素为 null 或 <see cref="T:System.Void" />。- 或 -<paramref name="owner" /> 是一个接口、一个数组、一个开放式泛型类型或一个泛型类型或方法的类型参数。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 为 null。- 或 -<paramref name="owner" /> 为 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> 是标志的组合,而不是 <see cref="F:System.Reflection.MethodAttributes.Public" /> 和 <see cref="F:System.Reflection.MethodAttributes.Static" /> 的组合。- 或 -<paramref name="callingConvention" /> 不是 <see cref="F:System.Reflection.CallingConventions.Standard" />。- 或 -<paramref name="returnType" /> 为 <see cref="P:System.Type.IsByRef" /> 返回 true 的类型。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
||||
<summary>初始化匿名承载的动态方法,指定方法名称、返回类型和参数类型。</summary>
|
||||
<param name="name">动态方法的名称。可以是长度为零的字符串,但不能为 null。</param>
|
||||
<param name="returnType">一个 <see cref="T:System.Type" /> 对象,它指定动态方法的返回类型;如果方法没有返回类型,则为 null。</param>
|
||||
<param name="parameterTypes">一个 <see cref="T:System.Type" /> 对象数组,它指定动态方法的参数的类型;如果方法没有参数,则为 null。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一个元素为 null 或 <see cref="T:System.Void" />。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 为 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> 为 <see cref="P:System.Type.IsByRef" /> 返回 true 的类型。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
||||
<summary>初始化匿名承载的动态方法,指定方法名称、返回类型、参数类型,并指定动态方法的 Microsoft 中间语言 (MSIL) 访问的类型和成员是否应跳过实时 (JIT) 可见性检查。</summary>
|
||||
<param name="name">动态方法的名称。可以是长度为零的字符串,但不能为 null。</param>
|
||||
<param name="returnType">一个 <see cref="T:System.Type" /> 对象,它指定动态方法的返回类型;如果方法没有返回类型,则为 null。</param>
|
||||
<param name="parameterTypes">一个 <see cref="T:System.Type" /> 对象数组,它指定动态方法的参数的类型;如果方法没有参数,则为 null。</param>
|
||||
<param name="restrictedSkipVisibility">若要跳过对动态方法的 MSIL 访问的类型和方法的 JIT 可见性检查,则为 true,前提是:包含这些类型和成员的程序集的信任级别必须等于或低于发出动态方法的调用堆栈的信任级别;否则为 false。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一个元素为 null 或 <see cref="T:System.Void" />。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 为 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> 为 <see cref="P:System.Type.IsByRef" /> 返回 true 的类型。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
||||
<summary>创建一个对模块全局有效的动态方法,指定方法名称、返回类型、参数类型和模块。</summary>
|
||||
<param name="name">动态方法的名称。可以是长度为零的字符串,但不能为 null。</param>
|
||||
<param name="returnType">一个 <see cref="T:System.Type" /> 对象,它指定动态方法的返回类型;如果方法没有返回类型,则为 null。</param>
|
||||
<param name="parameterTypes">一个 <see cref="T:System.Type" /> 对象数组,它指定动态方法的参数的类型;如果方法没有参数,则为 null。</param>
|
||||
<param name="m">一个 <see cref="T:System.Reflection.Module" />,表示动态方法将与之逻辑关联的模块。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一个元素为 null 或 <see cref="T:System.Void" />。- 或 -<paramref name="m" /> 是为动态方法提供匿名承载的模块。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 为 null。- 或 -<paramref name="m" /> 为 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> 为 <see cref="P:System.Type.IsByRef" /> 返回 true 的类型。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>创建一个对模块全局有效的动态方法,指定方法名称、返回类型、参数类型和模块,并指定动态方法的 Microsoft 中间语言 (MSIL) 访问的类型和成员是否应跳过实时 (JIT) 可见性检查。</summary>
|
||||
<param name="name">动态方法的名称。可以是长度为零的字符串,但不能为 null。</param>
|
||||
<param name="returnType">一个 <see cref="T:System.Type" /> 对象,它指定动态方法的返回类型;如果方法没有返回类型,则为 null。</param>
|
||||
<param name="parameterTypes">一个 <see cref="T:System.Type" /> 对象数组,它指定动态方法的参数的类型;如果方法没有参数,则为 null。</param>
|
||||
<param name="m">一个 <see cref="T:System.Reflection.Module" />,表示动态方法将与之逻辑关联的模块。</param>
|
||||
<param name="skipVisibility">要跳过对动态方法的 MSIL 访问的类型和成员的 JIT 可见性检查,则为 true。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一个元素为 null 或 <see cref="T:System.Void" />。- 或 -<paramref name="m" /> 是为动态方法提供匿名承载的模块。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 为 null。- 或 -<paramref name="m" /> 为 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> 为 <see cref="P:System.Type.IsByRef" /> 返回 true 的类型。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
||||
<summary>创建一个动态方法,指定方法名称、返回类型、参数类型和动态方法逻辑关联的类型。</summary>
|
||||
<param name="name">动态方法的名称。可以是长度为零的字符串,但不能为 null。</param>
|
||||
<param name="returnType">一个 <see cref="T:System.Type" /> 对象,它指定动态方法的返回类型;如果方法没有返回类型,则为 null。</param>
|
||||
<param name="parameterTypes">一个 <see cref="T:System.Type" /> 对象数组,它指定动态方法的参数的类型;如果方法没有参数,则为 null。</param>
|
||||
<param name="owner">一个 <see cref="T:System.Type" />,动态方法与其逻辑关联。动态方法可以访问类型的所有成员。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一个元素为 null 或 <see cref="T:System.Void" />。- 或 -<paramref name="owner" /> 是一个接口、一个数组、一个开放式泛型类型或一个泛型类型或方法的类型参数。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 为 null。- 或 -<paramref name="owner" /> 为 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> 为 null,或者为 <see cref="P:System.Type.IsByRef" /> 返回 true 的类型。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>创建一个动态方法,指定方法名称、返回类型、参数类型、动态方法逻辑关联的类型,并指定动态方法的 Microsoft 中间语言 (MSIL) 访问的类型和成员是否应跳过实时 (JIT) 可见性检查。</summary>
|
||||
<param name="name">动态方法的名称。可以是长度为零的字符串,但不能为 null。</param>
|
||||
<param name="returnType">一个 <see cref="T:System.Type" /> 对象,它指定动态方法的返回类型;如果方法没有返回类型,则为 null。</param>
|
||||
<param name="parameterTypes">一个 <see cref="T:System.Type" /> 对象数组,它指定动态方法的参数的类型;如果方法没有参数,则为 null。</param>
|
||||
<param name="owner">一个 <see cref="T:System.Type" />,动态方法与其逻辑关联。动态方法可以访问类型的所有成员。</param>
|
||||
<param name="skipVisibility">要跳过动态方法的 MSIL 访问的类型和成员的 JIT 可见性检查,则为 true;否则为 false。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一个元素为 null 或 <see cref="T:System.Void" />。- 或 -<paramref name="owner" /> 是一个接口、一个数组、一个开放式泛型类型或一个泛型类型或方法的类型参数。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 为 null。- 或 -<paramref name="owner" /> 为 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> 为 null,或者为 <see cref="P:System.Type.IsByRef" /> 返回 true 的类型。</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
||||
<summary>获取创建动态方法时指定的属性。</summary>
|
||||
<returns>
|
||||
<see cref="T:System.Reflection.MethodAttributes" /> 值的按位组合,表示方法的属性。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
||||
<summary>获取创建动态方法时指定的调用约定。</summary>
|
||||
<returns>一个 <see cref="T:System.Reflection.CallingConventions" /> 值,它指示方法的调用约定。</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
||||
<summary>完成动态方法并创建一个可用于执行该方法的委托。</summary>
|
||||
<returns>一个指定类型的委托,可用于执行动态方法。</returns>
|
||||
<param name="delegateType">一个签名与动态方法的签名匹配的委托类型。</param>
|
||||
<exception cref="T:System.InvalidOperationException">动态方法没有方法体。</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="delegateType" /> 的参数数量不正确,或者参数类型不正确。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
||||
<summary>完成动态方法并创建一个可用于执行该方法的委托,指定委托类型和委托绑定到的对象。</summary>
|
||||
<returns>一个指定类型的委托,可用于对指定的目标对象执行动态方法。</returns>
|
||||
<param name="delegateType">一个签名与动态方法的签名匹配的委托类型,不包括第一个参数。</param>
|
||||
<param name="target">委托绑定到的对象。其类型必须与动态方法的第一个参数的类型相同。</param>
|
||||
<exception cref="T:System.InvalidOperationException">动态方法没有方法体。</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="target" /> 的类型与动态方法的第一个参数的类型不同,不能赋值给该类型。- 或 -<paramref name="delegateType" /> 的参数数量不正确,或者参数类型不正确。</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
||||
<summary>获取声明方法的类型,对于动态方法,类型始终为 null。</summary>
|
||||
<returns>始终为 null。</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
||||
<summary>为该方法返回一个具有默认 MSIL 流大小(64 字节)的 Microsoft 中间语言 (MSIL) 生成器。</summary>
|
||||
<returns>该方法的 <see cref="T:System.Reflection.Emit.ILGenerator" /> 对象。</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
||||
<summary>为方法返回一个具有指定 MSIL 流大小的 Microsoft 中间语言 (MSIL) 生成器。</summary>
|
||||
<returns>方法的 <see cref="T:System.Reflection.Emit.ILGenerator" /> 对象,具有指定的 MSIL 流大小。</returns>
|
||||
<param name="streamSize">MSIL 流的大小,以字节为单位。</param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
||||
<summary>返回动态方法的参数。</summary>
|
||||
<returns>一个 <see cref="T:System.Reflection.ParameterInfo" /> 对象数组,表示动态方法的参数。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
||||
<summary>获取或设置一个值,该值指示方法中的局部变量是否初始化为零。</summary>
|
||||
<returns>如果方法中的局部变量初始化为零,则为 true;否则为 false。默认值为 true。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.MethodImplementationFlags"></member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
||||
<summary>获取动态方法的名称。</summary>
|
||||
<returns>方法的简称。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
||||
<summary>获取动态方法的返回参数。</summary>
|
||||
<returns>始终为 null。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
||||
<summary>获取动态方法的返回值的类型。</summary>
|
||||
<returns>一个 <see cref="T:System.Type" />,表示当前方法的返回值的类型;如果该方法没有返回类型,则为 <see cref="T:System.Void" />。</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
||||
<summary>返回方法的签名,以字符串表示。</summary>
|
||||
<returns>表示方法签名的字符串。</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
+192
@@ -0,0 +1,192 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Reflection.Emit.Lightweight</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Reflection.Emit.DynamicMethod">
|
||||
<summary>定義及表示可以編譯、執行和捨棄的動態方法。捨棄的方法可被記憶體回收。</summary>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>為模組建立全域的動態方法,指定方法名稱、屬性、呼叫慣例、傳回型別、參數型別、模組,以及是否應當略過動態方法的 Microsoft intermediate language (MSIL) 所存取型別與成員的 Just-In-Time (JIT) 可視性檢查。</summary>
|
||||
<param name="name">動態方法的名稱。這個名稱可以是零長度的字串,但不能是 null。</param>
|
||||
<param name="attributes">
|
||||
<see cref="T:System.Reflection.MethodAttributes" /> 值的位元組合,指定動態方法的屬性。允許的唯一組合是 <see cref="F:System.Reflection.MethodAttributes.Public" /> 和 <see cref="F:System.Reflection.MethodAttributes.Static" />。</param>
|
||||
<param name="callingConvention">動態方法的呼叫慣例。必須是 <see cref="F:System.Reflection.CallingConventions.Standard" />。</param>
|
||||
<param name="returnType">指定動態方法之傳回型別的 <see cref="T:System.Type" /> 物件,如果方法沒有任何傳回型別則為 null。</param>
|
||||
<param name="parameterTypes">指定動態方法之參數型別的 <see cref="T:System.Type" /> 物件陣列,如果方法沒有任何參數則為 null。</param>
|
||||
<param name="m">
|
||||
<see cref="T:System.Reflection.Module" />,表示動態方法在邏輯上與其相關聯的模組。</param>
|
||||
<param name="skipVisibility">若為 true,則略過動態方法的 MSIL 所存取型別和成員的 JIT 可視性檢查,否則為 false。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一個項目是 null 或 <see cref="T:System.Void" />。-或-<paramref name="m" /> 為模組,會提供動態方法的匿名裝載。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 為 null。-或-<paramref name="m" /> 為 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> 為 <see cref="F:System.Reflection.MethodAttributes.Public" /> 和 <see cref="F:System.Reflection.MethodAttributes.Static" /> 之外的旗標組合。-或-<paramref name="callingConvention" /> 不是 <see cref="F:System.Reflection.CallingConventions.Standard" />。-或-<paramref name="returnType" /> 是 <see cref="P:System.Type.IsByRef" /> 傳回 true 的型別。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>建立動態方法,指定方法名稱、屬性、呼叫慣例、傳回型別、參數型別、與動態方法在邏輯上相關聯的型別,以及是否應略過動態方法的 Microsoft intermediate language (MSIL) 所存取型別和成員的 Just-In-Time (JIT) 可視性檢查。</summary>
|
||||
<param name="name">動態方法的名稱。這個名稱可以是零長度的字串,但不能是 null。</param>
|
||||
<param name="attributes">
|
||||
<see cref="T:System.Reflection.MethodAttributes" /> 值的位元組合,指定動態方法的屬性。允許的唯一組合是 <see cref="F:System.Reflection.MethodAttributes.Public" /> 和 <see cref="F:System.Reflection.MethodAttributes.Static" />。</param>
|
||||
<param name="callingConvention">動態方法的呼叫慣例。必須是 <see cref="F:System.Reflection.CallingConventions.Standard" />。</param>
|
||||
<param name="returnType">指定動態方法之傳回型別的 <see cref="T:System.Type" /> 物件,如果方法沒有任何傳回型別則為 null。</param>
|
||||
<param name="parameterTypes">指定動態方法之參數型別的 <see cref="T:System.Type" /> 物件陣列,如果方法沒有任何參數則為 null。</param>
|
||||
<param name="owner">動態方法在邏輯上與其相關聯的 <see cref="T:System.Type" />。動態方法可以存取型別的所有成員。</param>
|
||||
<param name="skipVisibility">若為 true,則略過動態方法的 MSIL 所存取型別和成員的 JIT 可視性檢查,否則為 false。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一個項目是 null 或 <see cref="T:System.Void" />。-或-<paramref name="owner" /> 為介面、陣列、開放泛型型別,或泛型型別或方法的型別參數。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 為 null。-或-<paramref name="owner" /> 為 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> 為 <see cref="F:System.Reflection.MethodAttributes.Public" /> 和 <see cref="F:System.Reflection.MethodAttributes.Static" /> 之外的旗標組合。-或-<paramref name="callingConvention" /> 不是 <see cref="F:System.Reflection.CallingConventions.Standard" />。-或-<paramref name="returnType" /> 是 <see cref="P:System.Type.IsByRef" /> 傳回 true 的型別。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
||||
<summary>初始化匿名裝載動態方法,指定方法名稱、傳回型別及參數型別。</summary>
|
||||
<param name="name">動態方法的名稱。這個名稱可以是零長度的字串,但不能是 null。</param>
|
||||
<param name="returnType">指定動態方法之傳回型別的 <see cref="T:System.Type" /> 物件,如果方法沒有任何傳回型別則為 null。</param>
|
||||
<param name="parameterTypes">指定動態方法之參數型別的 <see cref="T:System.Type" /> 物件陣列,如果方法沒有任何參數則為 null。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一個項目是 null 或 <see cref="T:System.Void" />。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 為 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> 是 <see cref="P:System.Type.IsByRef" /> 傳回 true 的型別。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
||||
<summary>初始化匿名裝載動態方法,指定方法名稱、傳回型別、參數型別,以及是否應當略過動態方法的 Microsoft intermediate language (MSIL) 所存取型別與成員的 Just-In-Time (JIT) 可視性檢查。</summary>
|
||||
<param name="name">動態方法的名稱。這個名稱可以是零長度的字串,但不能是 null。</param>
|
||||
<param name="returnType">指定動態方法之傳回型別的 <see cref="T:System.Type" /> 物件,如果方法沒有任何傳回型別則為 null。</param>
|
||||
<param name="parameterTypes">指定動態方法之參數型別的 <see cref="T:System.Type" /> 物件陣列,如果方法沒有任何參數則為 null。</param>
|
||||
<param name="restrictedSkipVisibility">若為 true,則略過動態方法的 MSIL 所存取型別和成員的 JIT 可視性檢查,但有這項限制:包含這些型別和成員的組件信任層級,必須等於或低於發出動態方法之呼叫堆疊的信任層級,否則為 false。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一個項目是 null 或 <see cref="T:System.Void" />。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 為 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> 是 <see cref="P:System.Type.IsByRef" /> 傳回 true 的型別。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
||||
<summary>為模組建立全域的動態方法,指定方法名稱、傳回型別、參數型別和模組。</summary>
|
||||
<param name="name">動態方法的名稱。這個名稱可以是零長度的字串,但不能是 null。</param>
|
||||
<param name="returnType">指定動態方法之傳回型別的 <see cref="T:System.Type" /> 物件,如果方法沒有任何傳回型別則為 null。</param>
|
||||
<param name="parameterTypes">指定動態方法之參數型別的 <see cref="T:System.Type" /> 物件陣列,如果方法沒有任何參數則為 null。</param>
|
||||
<param name="m">
|
||||
<see cref="T:System.Reflection.Module" />,表示動態方法在邏輯上與其相關聯的模組。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一個項目是 null 或 <see cref="T:System.Void" />。-或-<paramref name="m" /> 為模組,會提供動態方法的匿名裝載。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 為 null。-或-<paramref name="m" /> 為 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> 是 <see cref="P:System.Type.IsByRef" /> 傳回 true 的型別。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>為模組建立全域的動態方法,指定方法名稱、傳回型別、參數型別、模組,以及是否應當略過動態方法的 Microsoft intermediate language (MSIL) 所存取型別與成員的 Just-In-Time (JIT) 可視性檢查。</summary>
|
||||
<param name="name">動態方法的名稱。這個名稱可以是零長度的字串,但不能是 null。</param>
|
||||
<param name="returnType">指定動態方法之傳回型別的 <see cref="T:System.Type" /> 物件,如果方法沒有任何傳回型別則為 null。</param>
|
||||
<param name="parameterTypes">指定動態方法之參數型別的 <see cref="T:System.Type" /> 物件陣列,如果方法沒有任何參數則為 null。</param>
|
||||
<param name="m">
|
||||
<see cref="T:System.Reflection.Module" />,表示動態方法在邏輯上與其相關聯的模組。</param>
|
||||
<param name="skipVisibility">若為 true,則略過動態方法的 MSIL 所存取型別和成員的 JIT 可視性檢查。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一個項目是 null 或 <see cref="T:System.Void" />。-或-<paramref name="m" /> 為模組,會提供動態方法的匿名裝載。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 為 null。-或-<paramref name="m" /> 為 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> 是 <see cref="P:System.Type.IsByRef" /> 傳回 true 的型別。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
||||
<summary>建立動態方法,指定方法名稱、傳回型別、參數型別和動態方法在邏輯上與其相關聯的型別。</summary>
|
||||
<param name="name">動態方法的名稱。這個名稱可以是零長度的字串,但不能是 null。</param>
|
||||
<param name="returnType">指定動態方法之傳回型別的 <see cref="T:System.Type" /> 物件,如果方法沒有任何傳回型別則為 null。</param>
|
||||
<param name="parameterTypes">指定動態方法之參數型別的 <see cref="T:System.Type" /> 物件陣列,如果方法沒有任何參數則為 null。</param>
|
||||
<param name="owner">動態方法在邏輯上與其相關聯的 <see cref="T:System.Type" />。動態方法可以存取型別的所有成員。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一個項目是 null 或 <see cref="T:System.Void" />。-或-<paramref name="owner" /> 為介面、陣列、開放泛型型別,或泛型型別或方法的型別參數。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 為 null。-或-<paramref name="owner" /> 為 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> 是 null,或是 <see cref="P:System.Type.IsByRef" /> 傳回 true 的型別。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>建立動態方法,指定方法名稱、傳回型別、參數型別、與動態方法以邏輯方式相關聯的型別,以及是否應略過動態方法的 Microsoft intermediate language (MSIL) 所存取型別和成員的 Just-In-Time (JIT) 可視性檢查。</summary>
|
||||
<param name="name">動態方法的名稱。這個名稱可以是零長度的字串,但不能是 null。</param>
|
||||
<param name="returnType">指定動態方法之傳回型別的 <see cref="T:System.Type" /> 物件,如果方法沒有任何傳回型別則為 null。</param>
|
||||
<param name="parameterTypes">指定動態方法之參數型別的 <see cref="T:System.Type" /> 物件陣列,如果方法沒有任何參數則為 null。</param>
|
||||
<param name="owner">動態方法在邏輯上與其相關聯的 <see cref="T:System.Type" />。動態方法可以存取型別的所有成員。</param>
|
||||
<param name="skipVisibility">若為 true,則略過動態方法的 MSIL 所存取型別和成員的 JIT 可視性檢查,否則為 false。</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="parameterTypes" /> 的一個項目是 null 或 <see cref="T:System.Void" />。-或-<paramref name="owner" /> 為介面、陣列、開放泛型型別,或泛型型別或方法的型別參數。</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> 為 null。-或-<paramref name="owner" /> 為 null。</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> 是 null,或是 <see cref="P:System.Type.IsByRef" /> 傳回 true 的型別。</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
||||
<summary>取得建立動態方法時指定的屬性。</summary>
|
||||
<returns>
|
||||
<see cref="T:System.Reflection.MethodAttributes" /> 值的位元組合,表示方法的屬性。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
||||
<summary>取得建立動態方法時指定的呼叫慣例。</summary>
|
||||
<returns>其中一個 <see cref="T:System.Reflection.CallingConventions" /> 值,表示方法的呼叫慣例。</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
||||
<summary>完成動態方法,並建立可用於執行該動態方法的委派。</summary>
|
||||
<returns>指定型別的委派,可用於執行動態方法。</returns>
|
||||
<param name="delegateType">簽章與動態方法相符的委派型別。</param>
|
||||
<exception cref="T:System.InvalidOperationException">動態方法沒有方法主體。</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="delegateType" /> 的參數數目錯誤或參數型別錯誤。</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
||||
<summary>完成動態方法,並建立可用於執行該動態方法的委派,同時指定委派型別和委派繫結至的物件。</summary>
|
||||
<returns>指定型別的委派,可用於執行具有指定目標物件的動態方法。</returns>
|
||||
<param name="delegateType">簽章與動態方法相符的委派型別,不包含第一個參數。</param>
|
||||
<param name="target">委派繫結至的物件。必須與動態方法的第一個參數型別相同。</param>
|
||||
<exception cref="T:System.InvalidOperationException">動態方法沒有方法主體。</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="target" /> 與動態方法的第一個參數型別不同,無法指派給該型別。-或-<paramref name="delegateType" /> 的參數數目錯誤或參數型別錯誤。</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
||||
<summary>取得宣告方法的型別,對於動態方法而言一定是 null。</summary>
|
||||
<returns>一定是 null。</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
||||
<summary>傳回這個方法的 Microsoft intermediate language (MSIL) 產生器,且預設 MSIL 資料流大小為 64 個位元組。</summary>
|
||||
<returns>方法的 <see cref="T:System.Reflection.Emit.ILGenerator" /> 物件。</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
||||
<summary>傳回這個方法的 Microsoft intermediate language (MSIL) 產生器,且使用指定的 MSIL 資料流大小。</summary>
|
||||
<returns>方法的 <see cref="T:System.Reflection.Emit.ILGenerator" /> 物件,具有指定的 MSIL 資料流大小。</returns>
|
||||
<param name="streamSize">MSIL 緩衝區的大小,以位元組為單位。</param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
||||
<summary>傳回動態方法的參數。</summary>
|
||||
<returns>
|
||||
<see cref="T:System.Reflection.ParameterInfo" /> 物件的陣列,表示動態方法的參數。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
||||
<summary>取得或設定值,指出方法中的區域變數是否以零起始。</summary>
|
||||
<returns>如果方法中的區域變數以零起始則為 true,否則為 false。預設為 true。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.MethodImplementationFlags"></member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
||||
<summary>取得動態方法的名稱。</summary>
|
||||
<returns>方法的簡單名稱。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
||||
<summary>取得動態方法的傳回參數。</summary>
|
||||
<returns>一定是 null。</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
||||
<summary>取得動態方法之傳回值的型別。</summary>
|
||||
<returns>表示目前方法之傳回值型別的 <see cref="T:System.Type" />,如果方法沒有任何傳回型別則為 <see cref="T:System.Void" />。</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
||||
<summary>傳回方法的簽章,以字串表示。</summary>
|
||||
<returns>表示方法簽章的字串。</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
Binary file not shown.
+405
@@ -0,0 +1,405 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Reflection.Emit.Lightweight</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Reflection.Emit.DynamicILInfo">
|
||||
<summary>Provides support for alternative ways to generate the Microsoft intermediate language (MSIL) and metadata for a dynamic method, including methods for creating tokens and for inserting the code, exception handling, and local variable signature blobs.</summary>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicILInfo.DynamicMethod">
|
||||
<summary>Gets the dynamic method whose body is generated by the current instance.</summary>
|
||||
<returns>A <see cref="T:System.Reflection.Emit.DynamicMethod" /> object representing the dynamic method for which the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object is generating code.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.Byte[])">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing the signature for the associated dynamic method.</summary>
|
||||
<param name="signature">An array that contains the signature.</param>
|
||||
<returns>A token that can be embedded in the metadata and the MSIL stream for the associated dynamic method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.Reflection.Emit.DynamicMethod)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a dynamic method to be called from the associated method.</summary>
|
||||
<param name="method">The dynamic method to call.</param>
|
||||
<returns>A token that can be embedded in the MSIL stream for the associated dynamic method, as the target of an MSIL instruction.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeFieldHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a field to be accessed from the associated dynamic method.</summary>
|
||||
<param name="field">The field to be accessed.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses fields, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeFieldHandle,System.RuntimeTypeHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a field to be accessed from the associated dynamic method; the field is on the specified generic type.</summary>
|
||||
<param name="field">The field to be accessed.</param>
|
||||
<param name="contextType">The generic type the field belongs to.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses fields in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeMethodHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a method to be accessed from the associated dynamic method.</summary>
|
||||
<param name="method">The method to be accessed.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses methods, such as <see cref="F:System.Reflection.Emit.OpCodes.Call" /> or <see cref="F:System.Reflection.Emit.OpCodes.Ldtoken" />, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeMethodHandle,System.RuntimeTypeHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a method on a generic type.</summary>
|
||||
<param name="method">The method.</param>
|
||||
<param name="contextType">The generic type the method belongs to.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses methods, such as <see cref="F:System.Reflection.Emit.OpCodes.Call" /> or <see cref="F:System.Reflection.Emit.OpCodes.Ldtoken" />, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeTypeHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a type to be used in the associated dynamic method.</summary>
|
||||
<param name="type">The type to be used.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that requires a type, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.String)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a string literal to be used in the associated dynamic method.</summary>
|
||||
<param name="literal">The string to be used.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that requires a string, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetCode(System.Byte*,System.Int32,System.Int32)">
|
||||
<summary>Sets the code body of the associated dynamic method.</summary>
|
||||
<param name="code">A pointer to a byte array containing the MSIL stream.</param>
|
||||
<param name="codeSize">The number of bytes in the MSIL stream.</param>
|
||||
<param name="maxStackSize">The maximum number of items on the operand stack when the method is executing.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="code" /> is <see langword="null" /> and <paramref name="codeSize" /> is greater than 0.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="codeSize" /> is less than 0.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetCode(System.Byte[],System.Int32)">
|
||||
<summary>Sets the code body of the associated dynamic method.</summary>
|
||||
<param name="code">An array that contains the MSIL stream.</param>
|
||||
<param name="maxStackSize">The maximum number of items on the operand stack when the method is executing.</param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetExceptions(System.Byte*,System.Int32)">
|
||||
<summary>Sets the exception metadata for the associated dynamic method.</summary>
|
||||
<param name="exceptions">A pointer to a byte array containing the exception metadata.</param>
|
||||
<param name="exceptionsSize">The number of bytes of exception metadata.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="exceptions" /> is <see langword="null" /> and <paramref name="exceptionSize" /> is greater than 0.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="exceptionSize" /> is less than 0.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetExceptions(System.Byte[])">
|
||||
<summary>Sets the exception metadata for the associated dynamic method.</summary>
|
||||
<param name="exceptions">An array that contains the exception metadata.</param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetLocalSignature(System.Byte*,System.Int32)">
|
||||
<summary>Sets the local variable signature that describes the layout of local variables for the associated dynamic method.</summary>
|
||||
<param name="localSignature">An array that contains the layout of local variables for the associated <see cref="T:System.Reflection.Emit.DynamicMethod" />.</param>
|
||||
<param name="signatureSize">The number of bytes in the signature.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="localSignature" /> is <see langword="null" /> and <paramref name="signatureSize" /> is greater than 0.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="signatureSize" /> is less than 0.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetLocalSignature(System.Byte[])">
|
||||
<summary>Sets the local variable signature that describes the layout of local variables for the associated dynamic method.</summary>
|
||||
<param name="localSignature">An array that contains the layout of local variables for the associated <see cref="T:System.Reflection.Emit.DynamicMethod" />.</param>
|
||||
</member>
|
||||
<member name="T:System.Reflection.Emit.DynamicMethod">
|
||||
<summary>Defines and represents a dynamic method that can be compiled, executed, and discarded. Discarded methods are available for garbage collection.</summary>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, attributes, calling convention, return type, parameter types, module, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.MethodAttributes" /> values that specifies the attributes of the dynamic method. The only combination allowed is <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">The calling convention for the dynamic method. Must be <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="m" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> is a combination of flags other than <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.
|
||||
-or-
|
||||
<paramref name="callingConvention" /> is not <see cref="F:System.Reflection.CallingConventions.Standard" />.
|
||||
-or-
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Creates a dynamic method, specifying the method name, attributes, calling convention, return type, parameter types, the type with which the dynamic method is logically associated, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.MethodAttributes" /> values that specifies the attributes of the dynamic method. The only combination allowed is <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">The calling convention for the dynamic method. Must be <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> is a combination of flags other than <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.
|
||||
-or-
|
||||
<paramref name="callingConvention" /> is not <see cref="F:System.Reflection.CallingConventions.Standard" />.
|
||||
-or-
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
||||
<summary>Initializes an anonymously hosted dynamic method, specifying the method name, return type, and parameter types.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
||||
<summary>Initializes an anonymously hosted dynamic method, specifying the method name, return type, parameter types, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="restrictedSkipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method, with this restriction: the trust level of the assemblies that contain those types and members must be equal to or less than the trust level of the call stack that emits the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, return type, parameter types, and module.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="m" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, return type, parameter types, module, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="m" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
||||
<summary>Creates a dynamic method, specifying the method name, return type, parameter types, and the type with which the dynamic method is logically associated.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is <see langword="null" />, or is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Creates a dynamic method, specifying the method name, return type, parameter types, the type with which the dynamic method is logically associated, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is <see langword="null" />, or is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
||||
<summary>Gets the attributes specified when the dynamic method was created.</summary>
|
||||
<returns>A bitwise combination of the <see cref="T:System.Reflection.MethodAttributes" /> values representing the attributes for the method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
||||
<summary>Gets the calling convention specified when the dynamic method was created.</summary>
|
||||
<returns>One of the <see cref="T:System.Reflection.CallingConventions" /> values that indicates the calling convention of the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
||||
<summary>Completes the dynamic method and creates a delegate that can be used to execute it.</summary>
|
||||
<param name="delegateType">A delegate type whose signature matches that of the dynamic method.</param>
|
||||
<returns>A delegate of the specified type, which can be used to execute the dynamic method.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method has no method body.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="delegateType" /> has the wrong number of parameters or the wrong parameter types.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
||||
<summary>Completes the dynamic method and creates a delegate that can be used to execute it, specifying the delegate type and an object the delegate is bound to.</summary>
|
||||
<param name="delegateType">A delegate type whose signature matches that of the dynamic method, minus the first parameter.</param>
|
||||
<param name="target">An object the delegate is bound to. Must be of the same type as the first parameter of the dynamic method.</param>
|
||||
<returns>A delegate of the specified type, which can be used to execute the dynamic method with the specified target object.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method has no method body.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="target" /> is not the same type as the first parameter of the dynamic method, and is not assignable to that type.
|
||||
-or-
|
||||
<paramref name="delegateType" /> has the wrong number of parameters or the wrong parameter types.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
||||
<summary>Gets the type that declares the method, which is always <see langword="null" /> for dynamic methods.</summary>
|
||||
<returns>Always <see langword="null" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.DefineParameter(System.Int32,System.Reflection.ParameterAttributes,System.String)">
|
||||
<summary>Defines a parameter of the dynamic method.</summary>
|
||||
<param name="position">The position of the parameter in the parameter list. Parameters are indexed beginning with the number 1 for the first parameter.</param>
|
||||
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.ParameterAttributes" /> values that specifies the attributes of the parameter.</param>
|
||||
<param name="parameterName">The name of the parameter. The name can be a zero-length string.</param>
|
||||
<returns>Always returns <see langword="null" />.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The method has no parameters.
|
||||
-or-
|
||||
<paramref name="position" /> is less than 0.
|
||||
-or-
|
||||
<paramref name="position" /> is greater than the number of the method's parameters.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetBaseDefinition">
|
||||
<summary>Returns the base implementation for the method.</summary>
|
||||
<returns>The base implementation of the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetCustomAttributes(System.Boolean)">
|
||||
<summary>Returns all the custom attributes defined for the method.</summary>
|
||||
<param name="inherit">
|
||||
<see langword="true" /> to search the method's inheritance chain to find the custom attributes; <see langword="false" /> to check only the current method.</param>
|
||||
<returns>An array of objects representing all the custom attributes of the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetCustomAttributes(System.Type,System.Boolean)">
|
||||
<summary>Returns the custom attributes of the specified type that have been applied to the method.</summary>
|
||||
<param name="attributeType">A <see cref="T:System.Type" /> representing the type of custom attribute to return.</param>
|
||||
<param name="inherit">
|
||||
<see langword="true" /> to search the method's inheritance chain to find the custom attributes; <see langword="false" /> to check only the current method.</param>
|
||||
<returns>An array of objects representing the attributes of the method that are of type <paramref name="attributeType" /> or derive from type <paramref name="attributeType" />.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="attributeType" /> is <see langword="null" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetDynamicILInfo">
|
||||
<summary>Returns a <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object that can be used to generate a method body from metadata tokens, scopes, and Microsoft intermediate language (MSIL) streams.</summary>
|
||||
<returns>A <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object that can be used to generate a method body from metadata tokens, scopes, and MSIL streams.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
||||
<summary>Returns a Microsoft intermediate language (MSIL) generator for the method with a default MSIL stream size of 64 bytes.</summary>
|
||||
<returns>An <see cref="T:System.Reflection.Emit.ILGenerator" /> object for the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
||||
<summary>Returns a Microsoft intermediate language (MSIL) generator for the method with the specified MSIL stream size.</summary>
|
||||
<param name="streamSize">The size of the MSIL stream, in bytes.</param>
|
||||
<returns>An <see cref="T:System.Reflection.Emit.ILGenerator" /> object for the method, with the specified MSIL stream size.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetMethodImplementationFlags">
|
||||
<summary>Returns the implementation flags for the method.</summary>
|
||||
<returns>A bitwise combination of <see cref="T:System.Reflection.MethodImplAttributes" /> values representing the implementation flags for the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
||||
<summary>Returns the parameters of the dynamic method.</summary>
|
||||
<returns>An array of <see cref="T:System.Reflection.ParameterInfo" /> objects that represent the parameters of the dynamic method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
||||
<summary>Gets or sets a value indicating whether the local variables in the method are zero-initialized.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the local variables in the method are zero-initialized; otherwise, <see langword="false" />. The default is <see langword="true" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.Invoke(System.Object,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo)">
|
||||
<summary>Invokes the dynamic method using the specified parameters, under the constraints of the specified binder, with the specified culture information.</summary>
|
||||
<param name="obj">This parameter is ignored for dynamic methods, because they are static. Specify <see langword="null" />.</param>
|
||||
<param name="invokeAttr">A bitwise combination of <see cref="T:System.Reflection.BindingFlags" /> values.</param>
|
||||
<param name="binder">A <see cref="T:System.Reflection.Binder" /> object that enables the binding, coercion of argument types, invocation of members, and retrieval of <see cref="T:System.Reflection.MemberInfo" /> objects through reflection. If <paramref name="binder" /> is <see langword="null" />, the default binder is used. For more details, see <see cref="T:System.Reflection.Binder" />.</param>
|
||||
<param name="parameters">An argument list. This is an array of arguments with the same number, order, and type as the parameters of the method to be invoked. If there are no parameters this parameter should be <see langword="null" />.</param>
|
||||
<param name="culture">An instance of <see cref="T:System.Globalization.CultureInfo" /> used to govern the coercion of types. If this is <see langword="null" />, the <see cref="T:System.Globalization.CultureInfo" /> for the current thread is used. For example, this information is needed to correctly convert a <see cref="T:System.String" /> that represents 1000 to a <see cref="T:System.Double" /> value, because 1000 is represented differently by different cultures.</param>
|
||||
<returns>A <see cref="T:System.Object" /> containing the return value of the invoked method.</returns>
|
||||
<exception cref="T:System.NotSupportedException">The <see cref="F:System.Reflection.CallingConventions.VarArgs" /> calling convention is not supported.</exception>
|
||||
<exception cref="T:System.Reflection.TargetParameterCountException">The number of elements in <paramref name="parameters" /> does not match the number of parameters in the dynamic method.</exception>
|
||||
<exception cref="T:System.ArgumentException">The type of one or more elements of <paramref name="parameters" /> does not match the type of the corresponding parameter of the dynamic method.</exception>
|
||||
<exception cref="T:System.Reflection.TargetInvocationException">The dynamic method is associated with a module, is not anonymously hosted, and was constructed with <paramref name="skipVisibility" /> set to <see langword="false" />, but the dynamic method accesses members that are not <see langword="public" /> or <see langword="internal" /> (<see langword="Friend" /> in Visual Basic).
|
||||
-or-
|
||||
The dynamic method is anonymously hosted and was constructed with <paramref name="skipVisibility" /> set to <see langword="false" />, but it accesses members that are not <see langword="public" />.
|
||||
-or-
|
||||
The dynamic method contains unverifiable code. See the "Verification" section in Remarks for <see cref="T:System.Reflection.Emit.DynamicMethod" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.IsDefined(System.Type,System.Boolean)">
|
||||
<summary>Indicates whether the specified custom attribute type is defined.</summary>
|
||||
<param name="attributeType">A <see cref="T:System.Type" /> representing the type of custom attribute to search for.</param>
|
||||
<param name="inherit">
|
||||
<see langword="true" /> to search the method's inheritance chain to find the custom attributes; <see langword="false" /> to check only the current method.</param>
|
||||
<returns>
|
||||
<see langword="true" /> if the specified custom attribute type is defined; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.IsSecurityCritical">
|
||||
<summary>Gets a value that indicates whether the current dynamic method is security-critical or security-safe-critical, and therefore can perform critical operations.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the current dynamic method is security-critical or security-safe-critical; <see langword="false" /> if it is transparent.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method doesn't have a method body.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.IsSecuritySafeCritical">
|
||||
<summary>Gets a value that indicates whether the current dynamic method is security-safe-critical at the current trust level; that is, whether it can perform critical operations and can be accessed by transparent code.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the dynamic method is security-safe-critical at the current trust level; <see langword="false" /> if it is security-critical or transparent.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method doesn't have a method body.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.IsSecurityTransparent">
|
||||
<summary>Gets a value that indicates whether the current dynamic method is transparent at the current trust level, and therefore cannot perform critical operations.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the dynamic method is security-transparent at the current trust level; otherwise, <see langword="false" />.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method doesn't have a method body.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.MethodHandle">
|
||||
<summary>Not supported for dynamic methods.</summary>
|
||||
<returns>Not supported for dynamic methods.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">Not allowed for dynamic methods.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Module">
|
||||
<summary>Gets the module with which the dynamic method is logically associated.</summary>
|
||||
<returns>The <see cref="T:System.Reflection.Module" /> with which the current dynamic method is associated.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
||||
<summary>Gets the name of the dynamic method.</summary>
|
||||
<returns>The simple name of the method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReflectedType">
|
||||
<summary>Gets the class that was used in reflection to obtain the method.</summary>
|
||||
<returns>Always <see langword="null" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
||||
<summary>Gets the return parameter of the dynamic method.</summary>
|
||||
<returns>Always <see langword="null" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
||||
<summary>Gets the type of return value for the dynamic method.</summary>
|
||||
<returns>A <see cref="T:System.Type" /> representing the type of the return value of the current method; <see cref="T:System.Void" /> if the method has no return type.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnTypeCustomAttributes">
|
||||
<summary>Gets the custom attributes of the return type for the dynamic method.</summary>
|
||||
<returns>An <see cref="T:System.Reflection.ICustomAttributeProvider" /> representing the custom attributes of the return type for the dynamic method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
||||
<summary>Returns the signature of the method, represented as a string.</summary>
|
||||
<returns>A string representing the method signature.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
Binary file not shown.
+405
@@ -0,0 +1,405 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Reflection.Emit.Lightweight</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Reflection.Emit.DynamicILInfo">
|
||||
<summary>Provides support for alternative ways to generate the Microsoft intermediate language (MSIL) and metadata for a dynamic method, including methods for creating tokens and for inserting the code, exception handling, and local variable signature blobs.</summary>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicILInfo.DynamicMethod">
|
||||
<summary>Gets the dynamic method whose body is generated by the current instance.</summary>
|
||||
<returns>A <see cref="T:System.Reflection.Emit.DynamicMethod" /> object representing the dynamic method for which the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object is generating code.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.Byte[])">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing the signature for the associated dynamic method.</summary>
|
||||
<param name="signature">An array that contains the signature.</param>
|
||||
<returns>A token that can be embedded in the metadata and the MSIL stream for the associated dynamic method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.Reflection.Emit.DynamicMethod)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a dynamic method to be called from the associated method.</summary>
|
||||
<param name="method">The dynamic method to call.</param>
|
||||
<returns>A token that can be embedded in the MSIL stream for the associated dynamic method, as the target of an MSIL instruction.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeFieldHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a field to be accessed from the associated dynamic method.</summary>
|
||||
<param name="field">The field to be accessed.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses fields, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeFieldHandle,System.RuntimeTypeHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a field to be accessed from the associated dynamic method; the field is on the specified generic type.</summary>
|
||||
<param name="field">The field to be accessed.</param>
|
||||
<param name="contextType">The generic type the field belongs to.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses fields in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeMethodHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a method to be accessed from the associated dynamic method.</summary>
|
||||
<param name="method">The method to be accessed.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses methods, such as <see cref="F:System.Reflection.Emit.OpCodes.Call" /> or <see cref="F:System.Reflection.Emit.OpCodes.Ldtoken" />, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeMethodHandle,System.RuntimeTypeHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a method on a generic type.</summary>
|
||||
<param name="method">The method.</param>
|
||||
<param name="contextType">The generic type the method belongs to.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that accesses methods, such as <see cref="F:System.Reflection.Emit.OpCodes.Call" /> or <see cref="F:System.Reflection.Emit.OpCodes.Ldtoken" />, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.RuntimeTypeHandle)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a type to be used in the associated dynamic method.</summary>
|
||||
<param name="type">The type to be used.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that requires a type, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.GetTokenFor(System.String)">
|
||||
<summary>Gets a token, valid in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" />, representing a string literal to be used in the associated dynamic method.</summary>
|
||||
<param name="literal">The string to be used.</param>
|
||||
<returns>A token that can be used as the operand of an MSIL instruction that requires a string, in the scope of the current <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetCode(System.Byte*,System.Int32,System.Int32)">
|
||||
<summary>Sets the code body of the associated dynamic method.</summary>
|
||||
<param name="code">A pointer to a byte array containing the MSIL stream.</param>
|
||||
<param name="codeSize">The number of bytes in the MSIL stream.</param>
|
||||
<param name="maxStackSize">The maximum number of items on the operand stack when the method is executing.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="code" /> is <see langword="null" /> and <paramref name="codeSize" /> is greater than 0.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="codeSize" /> is less than 0.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetCode(System.Byte[],System.Int32)">
|
||||
<summary>Sets the code body of the associated dynamic method.</summary>
|
||||
<param name="code">An array that contains the MSIL stream.</param>
|
||||
<param name="maxStackSize">The maximum number of items on the operand stack when the method is executing.</param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetExceptions(System.Byte*,System.Int32)">
|
||||
<summary>Sets the exception metadata for the associated dynamic method.</summary>
|
||||
<param name="exceptions">A pointer to a byte array containing the exception metadata.</param>
|
||||
<param name="exceptionsSize">The number of bytes of exception metadata.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="exceptions" /> is <see langword="null" /> and <paramref name="exceptionSize" /> is greater than 0.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="exceptionSize" /> is less than 0.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetExceptions(System.Byte[])">
|
||||
<summary>Sets the exception metadata for the associated dynamic method.</summary>
|
||||
<param name="exceptions">An array that contains the exception metadata.</param>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetLocalSignature(System.Byte*,System.Int32)">
|
||||
<summary>Sets the local variable signature that describes the layout of local variables for the associated dynamic method.</summary>
|
||||
<param name="localSignature">An array that contains the layout of local variables for the associated <see cref="T:System.Reflection.Emit.DynamicMethod" />.</param>
|
||||
<param name="signatureSize">The number of bytes in the signature.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="localSignature" /> is <see langword="null" /> and <paramref name="signatureSize" /> is greater than 0.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="signatureSize" /> is less than 0.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicILInfo.SetLocalSignature(System.Byte[])">
|
||||
<summary>Sets the local variable signature that describes the layout of local variables for the associated dynamic method.</summary>
|
||||
<param name="localSignature">An array that contains the layout of local variables for the associated <see cref="T:System.Reflection.Emit.DynamicMethod" />.</param>
|
||||
</member>
|
||||
<member name="T:System.Reflection.Emit.DynamicMethod">
|
||||
<summary>Defines and represents a dynamic method that can be compiled, executed, and discarded. Discarded methods are available for garbage collection.</summary>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, attributes, calling convention, return type, parameter types, module, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.MethodAttributes" /> values that specifies the attributes of the dynamic method. The only combination allowed is <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">The calling convention for the dynamic method. Must be <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="m" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> is a combination of flags other than <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.
|
||||
-or-
|
||||
<paramref name="callingConvention" /> is not <see cref="F:System.Reflection.CallingConventions.Standard" />.
|
||||
-or-
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Creates a dynamic method, specifying the method name, attributes, calling convention, return type, parameter types, the type with which the dynamic method is logically associated, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.MethodAttributes" /> values that specifies the attributes of the dynamic method. The only combination allowed is <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
||||
<param name="callingConvention">The calling convention for the dynamic method. Must be <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="attributes" /> is a combination of flags other than <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.
|
||||
-or-
|
||||
<paramref name="callingConvention" /> is not <see cref="F:System.Reflection.CallingConventions.Standard" />.
|
||||
-or-
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
||||
<summary>Initializes an anonymously hosted dynamic method, specifying the method name, return type, and parameter types.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
||||
<summary>Initializes an anonymously hosted dynamic method, specifying the method name, return type, parameter types, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="restrictedSkipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method, with this restriction: the trust level of the assemblies that contain those types and members must be equal to or less than the trust level of the call stack that emits the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, return type, parameter types, and module.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="m" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
||||
<summary>Creates a dynamic method that is global to a module, specifying the method name, return type, parameter types, module, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="m" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
||||
<summary>Creates a dynamic method, specifying the method name, return type, parameter types, and the type with which the dynamic method is logically associated.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is <see langword="null" />, or is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
||||
<summary>Creates a dynamic method, specifying the method name, return type, parameter types, the type with which the dynamic method is logically associated, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
||||
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be <see langword="null" />.</param>
|
||||
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or <see langword="null" /> if the method has no return type.</param>
|
||||
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or <see langword="null" /> if the method has no parameters.</param>
|
||||
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
||||
<param name="skipVisibility">
|
||||
<see langword="true" /> to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, <see langword="false" />.</param>
|
||||
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is <see langword="null" /> or <see cref="T:System.Void" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="name" /> is <see langword="null" />.
|
||||
-or-
|
||||
<paramref name="owner" /> is <see langword="null" />.</exception>
|
||||
<exception cref="T:System.NotSupportedException">
|
||||
<paramref name="returnType" /> is <see langword="null" />, or is a type for which <see cref="P:System.Type.IsByRef" /> returns <see langword="true" />.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
||||
<summary>Gets the attributes specified when the dynamic method was created.</summary>
|
||||
<returns>A bitwise combination of the <see cref="T:System.Reflection.MethodAttributes" /> values representing the attributes for the method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
||||
<summary>Gets the calling convention specified when the dynamic method was created.</summary>
|
||||
<returns>One of the <see cref="T:System.Reflection.CallingConventions" /> values that indicates the calling convention of the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
||||
<summary>Completes the dynamic method and creates a delegate that can be used to execute it.</summary>
|
||||
<param name="delegateType">A delegate type whose signature matches that of the dynamic method.</param>
|
||||
<returns>A delegate of the specified type, which can be used to execute the dynamic method.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method has no method body.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="delegateType" /> has the wrong number of parameters or the wrong parameter types.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
||||
<summary>Completes the dynamic method and creates a delegate that can be used to execute it, specifying the delegate type and an object the delegate is bound to.</summary>
|
||||
<param name="delegateType">A delegate type whose signature matches that of the dynamic method, minus the first parameter.</param>
|
||||
<param name="target">An object the delegate is bound to. Must be of the same type as the first parameter of the dynamic method.</param>
|
||||
<returns>A delegate of the specified type, which can be used to execute the dynamic method with the specified target object.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method has no method body.</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="target" /> is not the same type as the first parameter of the dynamic method, and is not assignable to that type.
|
||||
-or-
|
||||
<paramref name="delegateType" /> has the wrong number of parameters or the wrong parameter types.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
||||
<summary>Gets the type that declares the method, which is always <see langword="null" /> for dynamic methods.</summary>
|
||||
<returns>Always <see langword="null" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.DefineParameter(System.Int32,System.Reflection.ParameterAttributes,System.String)">
|
||||
<summary>Defines a parameter of the dynamic method.</summary>
|
||||
<param name="position">The position of the parameter in the parameter list. Parameters are indexed beginning with the number 1 for the first parameter.</param>
|
||||
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.ParameterAttributes" /> values that specifies the attributes of the parameter.</param>
|
||||
<param name="parameterName">The name of the parameter. The name can be a zero-length string.</param>
|
||||
<returns>Always returns <see langword="null" />.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The method has no parameters.
|
||||
-or-
|
||||
<paramref name="position" /> is less than 0.
|
||||
-or-
|
||||
<paramref name="position" /> is greater than the number of the method's parameters.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetBaseDefinition">
|
||||
<summary>Returns the base implementation for the method.</summary>
|
||||
<returns>The base implementation of the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetCustomAttributes(System.Boolean)">
|
||||
<summary>Returns all the custom attributes defined for the method.</summary>
|
||||
<param name="inherit">
|
||||
<see langword="true" /> to search the method's inheritance chain to find the custom attributes; <see langword="false" /> to check only the current method.</param>
|
||||
<returns>An array of objects representing all the custom attributes of the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetCustomAttributes(System.Type,System.Boolean)">
|
||||
<summary>Returns the custom attributes of the specified type that have been applied to the method.</summary>
|
||||
<param name="attributeType">A <see cref="T:System.Type" /> representing the type of custom attribute to return.</param>
|
||||
<param name="inherit">
|
||||
<see langword="true" /> to search the method's inheritance chain to find the custom attributes; <see langword="false" /> to check only the current method.</param>
|
||||
<returns>An array of objects representing the attributes of the method that are of type <paramref name="attributeType" /> or derive from type <paramref name="attributeType" />.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="attributeType" /> is <see langword="null" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetDynamicILInfo">
|
||||
<summary>Returns a <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object that can be used to generate a method body from metadata tokens, scopes, and Microsoft intermediate language (MSIL) streams.</summary>
|
||||
<returns>A <see cref="T:System.Reflection.Emit.DynamicILInfo" /> object that can be used to generate a method body from metadata tokens, scopes, and MSIL streams.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
||||
<summary>Returns a Microsoft intermediate language (MSIL) generator for the method with a default MSIL stream size of 64 bytes.</summary>
|
||||
<returns>An <see cref="T:System.Reflection.Emit.ILGenerator" /> object for the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
||||
<summary>Returns a Microsoft intermediate language (MSIL) generator for the method with the specified MSIL stream size.</summary>
|
||||
<param name="streamSize">The size of the MSIL stream, in bytes.</param>
|
||||
<returns>An <see cref="T:System.Reflection.Emit.ILGenerator" /> object for the method, with the specified MSIL stream size.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetMethodImplementationFlags">
|
||||
<summary>Returns the implementation flags for the method.</summary>
|
||||
<returns>A bitwise combination of <see cref="T:System.Reflection.MethodImplAttributes" /> values representing the implementation flags for the method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
||||
<summary>Returns the parameters of the dynamic method.</summary>
|
||||
<returns>An array of <see cref="T:System.Reflection.ParameterInfo" /> objects that represent the parameters of the dynamic method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
||||
<summary>Gets or sets a value indicating whether the local variables in the method are zero-initialized.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the local variables in the method are zero-initialized; otherwise, <see langword="false" />. The default is <see langword="true" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.Invoke(System.Object,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo)">
|
||||
<summary>Invokes the dynamic method using the specified parameters, under the constraints of the specified binder, with the specified culture information.</summary>
|
||||
<param name="obj">This parameter is ignored for dynamic methods, because they are static. Specify <see langword="null" />.</param>
|
||||
<param name="invokeAttr">A bitwise combination of <see cref="T:System.Reflection.BindingFlags" /> values.</param>
|
||||
<param name="binder">A <see cref="T:System.Reflection.Binder" /> object that enables the binding, coercion of argument types, invocation of members, and retrieval of <see cref="T:System.Reflection.MemberInfo" /> objects through reflection. If <paramref name="binder" /> is <see langword="null" />, the default binder is used. For more details, see <see cref="T:System.Reflection.Binder" />.</param>
|
||||
<param name="parameters">An argument list. This is an array of arguments with the same number, order, and type as the parameters of the method to be invoked. If there are no parameters this parameter should be <see langword="null" />.</param>
|
||||
<param name="culture">An instance of <see cref="T:System.Globalization.CultureInfo" /> used to govern the coercion of types. If this is <see langword="null" />, the <see cref="T:System.Globalization.CultureInfo" /> for the current thread is used. For example, this information is needed to correctly convert a <see cref="T:System.String" /> that represents 1000 to a <see cref="T:System.Double" /> value, because 1000 is represented differently by different cultures.</param>
|
||||
<returns>A <see cref="T:System.Object" /> containing the return value of the invoked method.</returns>
|
||||
<exception cref="T:System.NotSupportedException">The <see cref="F:System.Reflection.CallingConventions.VarArgs" /> calling convention is not supported.</exception>
|
||||
<exception cref="T:System.Reflection.TargetParameterCountException">The number of elements in <paramref name="parameters" /> does not match the number of parameters in the dynamic method.</exception>
|
||||
<exception cref="T:System.ArgumentException">The type of one or more elements of <paramref name="parameters" /> does not match the type of the corresponding parameter of the dynamic method.</exception>
|
||||
<exception cref="T:System.Reflection.TargetInvocationException">The dynamic method is associated with a module, is not anonymously hosted, and was constructed with <paramref name="skipVisibility" /> set to <see langword="false" />, but the dynamic method accesses members that are not <see langword="public" /> or <see langword="internal" /> (<see langword="Friend" /> in Visual Basic).
|
||||
-or-
|
||||
The dynamic method is anonymously hosted and was constructed with <paramref name="skipVisibility" /> set to <see langword="false" />, but it accesses members that are not <see langword="public" />.
|
||||
-or-
|
||||
The dynamic method contains unverifiable code. See the "Verification" section in Remarks for <see cref="T:System.Reflection.Emit.DynamicMethod" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.IsDefined(System.Type,System.Boolean)">
|
||||
<summary>Indicates whether the specified custom attribute type is defined.</summary>
|
||||
<param name="attributeType">A <see cref="T:System.Type" /> representing the type of custom attribute to search for.</param>
|
||||
<param name="inherit">
|
||||
<see langword="true" /> to search the method's inheritance chain to find the custom attributes; <see langword="false" /> to check only the current method.</param>
|
||||
<returns>
|
||||
<see langword="true" /> if the specified custom attribute type is defined; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.IsSecurityCritical">
|
||||
<summary>Gets a value that indicates whether the current dynamic method is security-critical or security-safe-critical, and therefore can perform critical operations.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the current dynamic method is security-critical or security-safe-critical; <see langword="false" /> if it is transparent.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method doesn't have a method body.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.IsSecuritySafeCritical">
|
||||
<summary>Gets a value that indicates whether the current dynamic method is security-safe-critical at the current trust level; that is, whether it can perform critical operations and can be accessed by transparent code.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the dynamic method is security-safe-critical at the current trust level; <see langword="false" /> if it is security-critical or transparent.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method doesn't have a method body.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.IsSecurityTransparent">
|
||||
<summary>Gets a value that indicates whether the current dynamic method is transparent at the current trust level, and therefore cannot perform critical operations.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the dynamic method is security-transparent at the current trust level; otherwise, <see langword="false" />.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">The dynamic method doesn't have a method body.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.MethodHandle">
|
||||
<summary>Not supported for dynamic methods.</summary>
|
||||
<returns>Not supported for dynamic methods.</returns>
|
||||
<exception cref="T:System.InvalidOperationException">Not allowed for dynamic methods.</exception>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Module">
|
||||
<summary>Gets the module with which the dynamic method is logically associated.</summary>
|
||||
<returns>The <see cref="T:System.Reflection.Module" /> with which the current dynamic method is associated.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
||||
<summary>Gets the name of the dynamic method.</summary>
|
||||
<returns>The simple name of the method.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReflectedType">
|
||||
<summary>Gets the class that was used in reflection to obtain the method.</summary>
|
||||
<returns>Always <see langword="null" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
||||
<summary>Gets the return parameter of the dynamic method.</summary>
|
||||
<returns>Always <see langword="null" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
||||
<summary>Gets the type of return value for the dynamic method.</summary>
|
||||
<returns>A <see cref="T:System.Type" /> representing the type of the return value of the current method; <see cref="T:System.Void" /> if the method has no return type.</returns>
|
||||
</member>
|
||||
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnTypeCustomAttributes">
|
||||
<summary>Gets the custom attributes of the return type for the dynamic method.</summary>
|
||||
<returns>An <see cref="T:System.Reflection.ICustomAttributeProvider" /> representing the custom attributes of the return type for the dynamic method.</returns>
|
||||
</member>
|
||||
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
||||
<summary>Returns the signature of the method, represented as a string.</summary>
|
||||
<returns>A string representing the method signature.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
@@ -0,0 +1 @@
|
||||
0f7f38c4fd323b26da10cce95f857f77f0f09b48
|
||||
Reference in New Issue
Block a user