You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.69
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
This commit is contained in:
parent
d8f8abd549
commit
e2950ec768
@@ -1 +1 @@
|
||||
507b479bf6a15cb7a5f6d50c79d47577cefd2e94
|
||||
93e9e802bb048df0a12bc7c17523cc0f099c10c9
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
namespace System.Reflection.Internal
|
||||
{
|
||||
internal struct StreamConstraints
|
||||
internal readonly struct StreamConstraints
|
||||
{
|
||||
public readonly object GuardOpt;
|
||||
public readonly long ImageStart;
|
||||
|
||||
@@ -11,7 +11,7 @@ using System.Text;
|
||||
namespace System.Reflection.Internal
|
||||
{
|
||||
[DebuggerDisplay("{GetDebuggerDisplay(),nq}")]
|
||||
internal unsafe struct MemoryBlock
|
||||
internal unsafe readonly struct MemoryBlock
|
||||
{
|
||||
internal readonly byte* Pointer;
|
||||
internal readonly int Length;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
namespace System.Reflection.Metadata
|
||||
{
|
||||
public struct Blob
|
||||
public readonly struct Blob
|
||||
{
|
||||
internal readonly byte[] Buffer;
|
||||
internal readonly int Start;
|
||||
|
||||
@@ -8,7 +8,7 @@ using System.Reflection.Internal;
|
||||
|
||||
namespace System.Reflection.Metadata
|
||||
{
|
||||
public struct BlobContentId : IEquatable<BlobContentId>
|
||||
public readonly struct BlobContentId : IEquatable<BlobContentId>
|
||||
{
|
||||
private const int Size = BlobUtilities.SizeOfGuid + sizeof(uint);
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
/// <summary>
|
||||
/// Decodes custom attribute blobs.
|
||||
/// </summary>
|
||||
internal struct CustomAttributeDecoder<TType>
|
||||
internal readonly struct CustomAttributeDecoder<TType>
|
||||
{
|
||||
private readonly ICustomAttributeTypeProvider<TType> _provider;
|
||||
private readonly MetadataReader _reader;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
namespace System.Reflection.Metadata.Ecma335
|
||||
{
|
||||
public struct EditAndContinueLogEntry : IEquatable<EditAndContinueLogEntry>
|
||||
public readonly struct EditAndContinueLogEntry : IEquatable<EditAndContinueLogEntry>
|
||||
{
|
||||
public EntityHandle Handle { get; }
|
||||
public EditAndContinueOperation Operation { get; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
// TODO: debug metadata blobs
|
||||
// TODO: revisit ctors (public vs internal vs static factories)?
|
||||
|
||||
public struct BlobEncoder
|
||||
public readonly struct BlobEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -191,7 +191,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct MethodSignatureEncoder
|
||||
public readonly struct MethodSignatureEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
public bool HasVarArgs { get; }
|
||||
@@ -242,7 +242,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct LocalVariablesEncoder
|
||||
public readonly struct LocalVariablesEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -257,7 +257,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct LocalVariableTypeEncoder
|
||||
public readonly struct LocalVariableTypeEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -292,7 +292,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct ParameterTypeEncoder
|
||||
public readonly struct ParameterTypeEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -322,7 +322,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct PermissionSetEncoder
|
||||
public readonly struct PermissionSetEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -378,7 +378,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct GenericTypeArgumentsEncoder
|
||||
public readonly struct GenericTypeArgumentsEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -393,7 +393,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct FixedArgumentsEncoder
|
||||
public readonly struct FixedArgumentsEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -408,7 +408,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct LiteralEncoder
|
||||
public readonly struct LiteralEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -492,7 +492,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct ScalarEncoder
|
||||
public readonly struct ScalarEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -564,7 +564,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct LiteralsEncoder
|
||||
public readonly struct LiteralsEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -579,7 +579,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct VectorEncoder
|
||||
public readonly struct VectorEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -600,7 +600,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct NameEncoder
|
||||
public readonly struct NameEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -618,7 +618,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct CustomAttributeNamedArgumentsEncoder
|
||||
public readonly struct CustomAttributeNamedArgumentsEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -639,7 +639,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct NamedArgumentsEncoder
|
||||
public readonly struct NamedArgumentsEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -688,7 +688,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct NamedArgumentTypeEncoder
|
||||
public readonly struct NamedArgumentTypeEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -713,7 +713,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct CustomAttributeArrayTypeEncoder
|
||||
public readonly struct CustomAttributeArrayTypeEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -735,7 +735,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct CustomAttributeElementTypeEncoder
|
||||
public readonly struct CustomAttributeElementTypeEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -804,7 +804,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct SignatureTypeEncoder
|
||||
public readonly struct SignatureTypeEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -1057,7 +1057,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct CustomModifiersEncoder
|
||||
public readonly struct CustomModifiersEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -1094,7 +1094,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct ArrayShapeEncoder
|
||||
public readonly struct ArrayShapeEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -1174,7 +1174,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct ReturnTypeEncoder
|
||||
public readonly struct ReturnTypeEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -1209,7 +1209,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
public struct ParametersEncoder
|
||||
public readonly struct ParametersEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
public bool HasVarArgs { get; }
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
public sealed class ControlFlowBuilder
|
||||
{
|
||||
// internal for testing:
|
||||
internal struct BranchInfo
|
||||
internal readonly struct BranchInfo
|
||||
{
|
||||
internal readonly int ILOffset;
|
||||
internal readonly LabelHandle Label;
|
||||
@@ -49,7 +49,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
}
|
||||
}
|
||||
|
||||
internal struct ExceptionHandlerInfo
|
||||
internal readonly struct ExceptionHandlerInfo
|
||||
{
|
||||
public readonly ExceptionRegionKind Kind;
|
||||
public readonly LabelHandle TryStart, TryEnd, HandlerStart, HandlerEnd, FilterStart;
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Diagnostics;
|
||||
|
||||
namespace System.Reflection.Metadata.Ecma335
|
||||
{
|
||||
public struct ExceptionRegionEncoder
|
||||
public readonly struct ExceptionRegionEncoder
|
||||
{
|
||||
private const int TableHeaderSize = 4;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
/// <summary>
|
||||
/// Encodes instructions.
|
||||
/// </summary>
|
||||
public struct InstructionEncoder
|
||||
public readonly struct InstructionEncoder
|
||||
{
|
||||
/// <summary>
|
||||
/// Underlying builder where encoded instructions are written to.
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Diagnostics;
|
||||
|
||||
namespace System.Reflection.Metadata.Ecma335
|
||||
{
|
||||
public struct LabelHandle : IEquatable<LabelHandle>
|
||||
public readonly struct LabelHandle : IEquatable<LabelHandle>
|
||||
{
|
||||
/// <summary>
|
||||
/// 1-based id identifying the label within the context of a <see cref="ControlFlowBuilder"/>.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
/// <summary>
|
||||
/// Encodes method body stream.
|
||||
/// </summary>
|
||||
public struct MethodBodyStreamEncoder
|
||||
public readonly struct MethodBodyStreamEncoder
|
||||
{
|
||||
public BlobBuilder Builder { get; }
|
||||
|
||||
@@ -75,7 +75,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
return new MethodBody(bodyOffset, instructions, regionEncoder);
|
||||
}
|
||||
|
||||
public struct MethodBody
|
||||
public readonly struct MethodBody
|
||||
{
|
||||
/// <summary>
|
||||
/// Offset of the encoded method body in method body stream.
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace System.Reflection.Metadata.Ecma335
|
||||
/// Decodes signature blobs.
|
||||
/// See Metadata Specification section II.23.2: Blobs and signatures.
|
||||
/// </summary>
|
||||
public struct SignatureDecoder<TType, TGenericContext>
|
||||
public readonly struct SignatureDecoder<TType, TGenericContext>
|
||||
{
|
||||
private readonly ISignatureTypeProvider<TType, TGenericContext> _provider;
|
||||
private readonly MetadataReader _metadataReaderOpt;
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace System.Reflection.Metadata
|
||||
/// Use <see cref="EntityHandle"/> to store multiple kinds of entity handles.
|
||||
/// It has smaller memory footprint than <see cref="Handle"/>.
|
||||
/// </remarks>
|
||||
public struct EntityHandle : IEquatable<EntityHandle>
|
||||
public readonly struct EntityHandle : IEquatable<EntityHandle>
|
||||
{
|
||||
// bits:
|
||||
// 31: IsVirtual
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace System.Reflection.Metadata
|
||||
/// <remarks>
|
||||
/// Use <see cref="Handle"/> to store multiple kinds of handles.
|
||||
/// </remarks>
|
||||
public struct Handle : IEquatable<Handle>
|
||||
public readonly struct Handle : IEquatable<Handle>
|
||||
{
|
||||
private readonly int _value;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
namespace System.Reflection.Metadata
|
||||
{
|
||||
public struct ExceptionRegion
|
||||
public readonly struct ExceptionRegion
|
||||
{
|
||||
private readonly ExceptionRegionKind _kind;
|
||||
private readonly int _tryOffset;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Reflection.Internal;
|
||||
|
||||
namespace System.Reflection.Metadata.Ecma335
|
||||
{
|
||||
internal struct GuidHeap
|
||||
internal readonly struct GuidHeap
|
||||
{
|
||||
internal readonly MemoryBlock Block;
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
4642c736544518860b428f551989e712f153f394
|
||||
6a72ec7047f62aa3ef9f833dacce97d476f5eacc
|
||||
@@ -6,7 +6,7 @@ using System.Reflection.Internal;
|
||||
|
||||
namespace System.Reflection.Metadata.Ecma335
|
||||
{
|
||||
internal struct UserStringHeap
|
||||
internal readonly struct UserStringHeap
|
||||
{
|
||||
internal readonly MemoryBlock Block;
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user