Skip to content

Commit b569746

Browse files
committed
Code check
1 parent 84631cd commit b569746

File tree

2 files changed

+24
-34
lines changed

2 files changed

+24
-34
lines changed

src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.netcoreapp3.0.cs

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1720,17 +1720,6 @@ public partial interface IAntiforgeryValidationFailedResult : Microsoft.AspNetCo
17201720
}
17211721
namespace Microsoft.AspNetCore.Mvc.Diagnostics
17221722
{
1723-
public abstract partial class EventData : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.IEnumerable
1724-
{
1725-
protected const string EventNamespace = "Microsoft.AspNetCore.Mvc.";
1726-
protected EventData() { }
1727-
protected abstract int Count { get; }
1728-
protected abstract System.Collections.Generic.KeyValuePair<string, object> this[int index] { get; }
1729-
int System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.String, System.Object>>.Count { get { throw null; } }
1730-
System.Collections.Generic.KeyValuePair<string, object> System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<System.String, System.Object>>.this[int index] { get { throw null; } }
1731-
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, object>> System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Object>>.GetEnumerator() { throw null; }
1732-
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
1733-
}
17341723
public sealed partial class AfterAction : Microsoft.AspNetCore.Mvc.Diagnostics.EventData
17351724
{
17361725
public const string EventName = "Microsoft.AspNetCore.Mvc.AfterAction";
@@ -2010,6 +1999,28 @@ public BeforeOnResultExecution(Microsoft.AspNetCore.Mvc.Abstractions.ActionDescr
20101999
protected override System.Collections.Generic.KeyValuePair<string, object> this[int index] { get { throw null; } }
20112000
public Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext ResultExecutingContext { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
20122001
}
2002+
public abstract partial class EventData : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.IEnumerable
2003+
{
2004+
protected const string EventNamespace = "Microsoft.AspNetCore.Mvc.";
2005+
protected EventData() { }
2006+
protected abstract int Count { get; }
2007+
protected abstract System.Collections.Generic.KeyValuePair<string, object> this[int index] { get; }
2008+
int System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Count { get { throw null; } }
2009+
System.Collections.Generic.KeyValuePair<string, object> System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.this[int index] { get { throw null; } }
2010+
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, object>> System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.GetEnumerator() { throw null; }
2011+
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
2012+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
2013+
public partial struct Enumerator : System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.IEnumerator, System.IDisposable
2014+
{
2015+
private object _dummy;
2016+
private int _dummyPrimitive;
2017+
public System.Collections.Generic.KeyValuePair<string, object> Current { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
2018+
object System.Collections.IEnumerator.Current { get { throw null; } }
2019+
public void Dispose() { }
2020+
public bool MoveNext() { throw null; }
2021+
void System.Collections.IEnumerator.Reset() { }
2022+
}
2023+
}
20132024
}
20142025
namespace Microsoft.AspNetCore.Mvc.Filters
20152026
{

src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.netcoreapp3.0.cs

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -45,27 +45,6 @@ public BeforeViewPage(Microsoft.AspNetCore.Mvc.Razor.IRazorPage page, Microsoft.
4545
public Microsoft.AspNetCore.Mvc.Razor.IRazorPage Page { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
4646
public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
4747
}
48-
public sealed partial class BeginInstrumentationContext : Microsoft.AspNetCore.Mvc.Diagnostics.EventData
49-
{
50-
public const string EventName = "Microsoft.AspNetCore.Mvc.Razor.BeginInstrumentationContext";
51-
public BeginInstrumentationContext(Microsoft.AspNetCore.Http.HttpContext httpContext, string path, int position, int length, bool isLiteral) { }
52-
protected override int Count { get { throw null; } }
53-
public Microsoft.AspNetCore.Http.HttpContext HttpContext { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
54-
public bool IsLiteral { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
55-
protected override System.Collections.Generic.KeyValuePair<string, object> this[int index] { get { throw null; } }
56-
public int Length { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
57-
public string Path { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
58-
public int Position { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
59-
}
60-
public sealed partial class EndInstrumentationContext : Microsoft.AspNetCore.Mvc.Diagnostics.EventData
61-
{
62-
public const string EventName = "Microsoft.AspNetCore.Mvc.Razor.EndInstrumentationContext";
63-
public EndInstrumentationContext(Microsoft.AspNetCore.Http.HttpContext httpContext, string path) { }
64-
protected override int Count { get { throw null; } }
65-
public Microsoft.AspNetCore.Http.HttpContext HttpContext { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
66-
protected override System.Collections.Generic.KeyValuePair<string, object> this[int index] { get { throw null; } }
67-
public string Path { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
68-
}
6948
}
7049
namespace Microsoft.AspNetCore.Mvc.Razor
7150
{
@@ -149,15 +128,15 @@ public void IgnoreSection(string sectionName) { }
149128
}
150129
public partial class RazorPageActivator : Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator
151130
{
152-
public RazorPageActivator(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory, Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper jsonHelper, System.Diagnostics.DiagnosticListener diagnosticListener, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider modelExpressionProvider) { }
131+
public RazorPageActivator(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory, Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper jsonHelper, System.Diagnostics.DiagnosticSource diagnosticSource, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider modelExpressionProvider) { }
153132
public void Activate(Microsoft.AspNetCore.Mvc.Razor.IRazorPage page, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) { }
154133
}
155134
public abstract partial class RazorPageBase : Microsoft.AspNetCore.Mvc.Razor.IRazorPage
156135
{
157136
protected RazorPageBase() { }
158137
public Microsoft.AspNetCore.Html.IHtmlContent BodyContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
159138
[Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
160-
public System.Diagnostics.DiagnosticListener DiagnosticListener { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
139+
public System.Diagnostics.DiagnosticSource DiagnosticSource { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
161140
[Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
162141
public System.Text.Encodings.Web.HtmlEncoder HtmlEncoder { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
163142
public bool IsLayoutBeingRendered { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }

0 commit comments

Comments
 (0)