Fix typos in docs.
This commit is contained in:
Родитель
7b2d0fc2ce
Коммит
375da7451f
|
@ -85,7 +85,7 @@ The ``TypeDefOrRefSignature`` class is used to reference types in either the ``T
|
|||
TypeReference streamTypeRef = new TypeReference(corlibScope, "System.IO", "Stream");
|
||||
TypeSignature streamTypeSig = new TypeDefOrRefSignature(streamTypeRef);
|
||||
|
||||
g
|
||||
|
||||
.. warning::
|
||||
|
||||
While it is technically possible to reference a basic type such as ``System.Int32`` as a ``TypeDefOrRefSignature``, it renders the .NET module invalid by most implementations of the CLR. Always use the ``CorLibTypeSignature`` to reference basic types within your blob signatures.
|
||||
|
|
|
@ -50,7 +50,7 @@ Or grab the stream by its type:
|
|||
|
||||
.. code-block:: csharp
|
||||
|
||||
var stringsStream = metadata.GetStream<StringsStream>;
|
||||
var stringsStream = metadata.GetStream<StringsStream>();
|
||||
|
||||
AsmResolver supports parsing streams using the names in the table below. Any stream with a different name will be converted to a ``CustomMetadataStream``.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче