From 6fa770697ad5cf823cf7890bbb95b146b1e5a0f0 Mon Sep 17 00:00:00 2001 From: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> Date: Wed, 18 Oct 2023 10:04:42 -0700 Subject: [PATCH] Apply EBN to back compat ACS models (#39360) --- .../api/Azure.Messaging.EventGrid.netstandard2.0.cs | 2 ++ .../src/Customization/AcsRouterJobStatus.cs | 1 + .../src/Customization/AcsRouterLabelOperator.cs | 1 + 3 files changed, 4 insertions(+) diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/api/Azure.Messaging.EventGrid.netstandard2.0.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/api/Azure.Messaging.EventGrid.netstandard2.0.cs index 15fb1ce13c874..bec34681c3359 100644 --- a/sdk/eventgrid/Azure.Messaging.EventGrid/api/Azure.Messaging.EventGrid.netstandard2.0.cs +++ b/sdk/eventgrid/Azure.Messaging.EventGrid/api/Azure.Messaging.EventGrid.netstandard2.0.cs @@ -575,6 +575,7 @@ public static partial class SystemEventNames } namespace Azure.Messaging.EventGrid.Models { + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct AcsRouterJobStatus : System.IEquatable { @@ -603,6 +604,7 @@ namespace Azure.Messaging.EventGrid.Models public static bool operator !=(Azure.Messaging.EventGrid.Models.AcsRouterJobStatus left, Azure.Messaging.EventGrid.Models.AcsRouterJobStatus right) { throw null; } public override string ToString() { throw null; } } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct AcsRouterLabelOperator : System.IEquatable { diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/AcsRouterJobStatus.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/AcsRouterJobStatus.cs index 11f8aec194342..787554be59412 100644 --- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/AcsRouterJobStatus.cs +++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/AcsRouterJobStatus.cs @@ -9,6 +9,7 @@ namespace Azure.Messaging.EventGrid.Models { /// Router Job Received Job Status. + [EditorBrowsable(EditorBrowsableState.Never)] public readonly partial struct AcsRouterJobStatus : IEquatable { private readonly string _value; diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/AcsRouterLabelOperator.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/AcsRouterLabelOperator.cs index d96162d8dd625..b11d6d84c7a1a 100644 --- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/AcsRouterLabelOperator.cs +++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/AcsRouterLabelOperator.cs @@ -11,6 +11,7 @@ namespace Azure.Messaging.EventGrid.Models { /// Router Job Worker Selector Label Operator. + [EditorBrowsable(EditorBrowsableState.Never)] public readonly partial struct AcsRouterLabelOperator : IEquatable { private readonly string _value;