A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/protocolbuffers/protobuf/commit/afea52fb44e826601f5936fda9110670cfc0f1aa below:

Remove "experimental API" warnings from members in the .NET protobuf … · protocolbuffers/protobuf@afea52f · GitHub

File tree Expand file treeCollapse file tree 4 files changed

+17

-11

lines changed

Filter options

Expand file treeCollapse file tree 4 files changed

+17

-11

lines changed Original file line number Diff line number Diff line change

@@ -1,4 +1,4 @@

1 -

#region Copyright notice and license

1 +

#region Copyright notice and license

2 2

// Protocol Buffers - Google's data interchange format

3 3

// Copyright 2008 Google Inc. All rights reserved.

4 4

//

@@ -12,8 +12,12 @@

12 12

namespace Google.Protobuf

13 13

{

14 14

/// <summary>

15 -

/// Represents a non-generic extension definition. This API is experimental and subject to change.

15 +

/// Represents a non-generic extension definition.

16 16

/// </summary>

17 +

/// <remarks>

18 +

/// Most users will not use this abstract class directly, instead using the generated instances

19 +

/// of the concrete subclasses.

20 +

/// </remarks>

17 21

public abstract class Extension

18 22

{

19 23

internal abstract Type TargetType { get; }

@@ -37,8 +41,7 @@ protected Extension(int fieldNumber)

37 41

}

38 42 39 43

/// <summary>

40 -

/// Represents a type-safe extension identifier used for getting and setting single extension values in <see cref="IExtendableMessage{T}"/> instances.

41 -

/// This API is experimental and subject to change.

44 +

/// Represents a type-safe extension identifier used for getting and setting single extension values in <see cref="IExtendableMessage{T}"/> instances.

42 45

/// </summary>

43 46

/// <typeparam name="TTarget">The message type this field applies to</typeparam>

44 47

/// <typeparam name="TValue">The field value type of this extension</typeparam>

@@ -68,7 +71,6 @@ internal override IExtensionValue CreateValue()

68 71 69 72

/// <summary>

70 73

/// Represents a type-safe extension identifier used for getting repeated extension values in <see cref="IExtendableMessage{T}"/> instances.

71 -

/// This API is experimental and subject to change.

72 74

/// </summary>

73 75

/// <typeparam name="TTarget">The message type this field applies to</typeparam>

74 76

/// <typeparam name="TValue">The repeated field value type of this extension</typeparam>

Original file line number Diff line number Diff line change

@@ -1,4 +1,4 @@

1 -

#region Copyright notice and license

1 +

#region Copyright notice and license

2 2

// Protocol Buffers - Google's data interchange format

3 3

// Copyright 2008 Google Inc. All rights reserved.

4 4

//

@@ -15,7 +15,7 @@

15 15

namespace Google.Protobuf

16 16

{

17 17

/// <summary>

18 -

/// Provides extensions to messages while parsing. This API is experimental and subject to change.

18 +

/// Provides extensions to messages while parsing.

19 19

/// </summary>

20 20

public sealed class ExtensionRegistry : ICollection<Extension>, IDeepCloneable<ExtensionRegistry>

21 21

{

Original file line number Diff line number Diff line change

@@ -18,9 +18,14 @@ namespace Google.Protobuf

18 18

{

19 19

/// <summary>

20 20

/// Methods for managing <see cref="ExtensionSet{TTarget}"/>s with null checking.

21 -

///

22 -

/// Most users will not use this class directly and its API is experimental and subject to change.

23 21

/// </summary>

22 +

/// <remarks>

23 +

/// Most users will not use this class directly. Accessing extensions for a given message

24 +

/// is usually performed by obtaining the generated instance of

25 +

/// <see cref="Extension{TTarget,TValue}"/> or <see cref="RepeatedExtension{TTarget,TValue}"/>

26 +

/// and then calling methods on <see cref="IExtendableMessage{T}"/> (which is implemented by

27 +

/// all generated messages).

28 +

/// </remarks>

24 29

public static class ExtensionSet

25 30

{

26 31

private static bool TryGetValue<TTarget>(ref ExtensionSet<TTarget> set, Extension extension, out IExtensionValue value) where TTarget : IExtendableMessage<TTarget>

Original file line number Diff line number Diff line change

@@ -1,4 +1,4 @@

1 -

#region Copyright notice and license

1 +

#region Copyright notice and license

2 2

// Protocol Buffers - Google's data interchange format

3 3

// Copyright 2008 Google Inc. All rights reserved.

4 4

//

@@ -48,7 +48,6 @@ public static class UnsafeByteOperations

48 48

/// <summary>

49 49

/// Constructs a new <see cref="ByteString" /> from the given bytes. The bytes are not copied,

50 50

/// and must not be modified while the <see cref="ByteString" /> is in use.

51 -

/// This API is experimental and subject to change.

52 51

/// </summary>

53 52

public static ByteString UnsafeWrap(ReadOnlyMemory<byte> bytes)

54 53

{

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4