Skip to content

Commit 2e8a91e

Browse files
committed
Add source generators to framework stubs
1 parent 534ea3e commit 2e8a91e

9 files changed

+1681
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// This file contains auto-generated code.
2+
// Generated from `Microsoft.AspNetCore.App.Analyzers, Version=7.0.10.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
3+
namespace Microsoft
4+
{
5+
namespace AspNetCore
6+
{
7+
namespace Analyzers
8+
{
9+
namespace RenderTreeBuilder
10+
{
11+
public class RenderTreeBuilderAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
12+
{
13+
public RenderTreeBuilderAnalyzer() => throw null;
14+
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
15+
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
16+
}
17+
}
18+
namespace RouteHandlers
19+
{
20+
public class RouteHandlerAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
21+
{
22+
public RouteHandlerAnalyzer() => throw null;
23+
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
24+
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
25+
}
26+
}
27+
namespace WebApplicationBuilder
28+
{
29+
public sealed class WebApplicationBuilderAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
30+
{
31+
public WebApplicationBuilderAnalyzer() => throw null;
32+
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
33+
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
34+
}
35+
}
36+
}
37+
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// This file contains auto-generated code.
2+
// Generated from `Microsoft.AspNetCore.App.CodeFixes, Version=7.0.10.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
3+
namespace Microsoft
4+
{
5+
namespace AspNetCore
6+
{
7+
namespace Analyzers
8+
{
9+
namespace RouteHandlers
10+
{
11+
namespace Fixers
12+
{
13+
public class DetectMismatchedParameterOptionalityFixer : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider
14+
{
15+
public DetectMismatchedParameterOptionalityFixer() => throw null;
16+
public override System.Collections.Immutable.ImmutableArray<string> FixableDiagnosticIds { get => throw null; }
17+
public override sealed Microsoft.CodeAnalysis.CodeFixes.FixAllProvider GetFixAllProvider() => throw null;
18+
public override sealed System.Threading.Tasks.Task RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) => throw null;
19+
}
20+
}
21+
}
22+
namespace WebApplicationBuilder
23+
{
24+
namespace Fixers
25+
{
26+
public sealed class WebApplicationBuilderFixer : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider
27+
{
28+
public WebApplicationBuilderFixer() => throw null;
29+
public override System.Collections.Immutable.ImmutableArray<string> FixableDiagnosticIds { get => throw null; }
30+
public override sealed Microsoft.CodeAnalysis.CodeFixes.FixAllProvider GetFixAllProvider() => throw null;
31+
public override sealed System.Threading.Tasks.Task RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) => throw null;
32+
}
33+
}
34+
}
35+
}
36+
}
37+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// This file contains auto-generated code.
2+
// Generated from `Microsoft.AspNetCore.Components.Analyzers, Version=7.0.10.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
3+
namespace Microsoft
4+
{
5+
namespace AspNetCore
6+
{
7+
namespace Components
8+
{
9+
namespace Analyzers
10+
{
11+
public sealed class ComponentParameterAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
12+
{
13+
public ComponentParameterAnalyzer() => throw null;
14+
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
15+
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
16+
}
17+
public class ComponentParametersShouldBePublicCodeFixProvider : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider
18+
{
19+
public ComponentParametersShouldBePublicCodeFixProvider() => throw null;
20+
public override System.Collections.Immutable.ImmutableArray<string> FixableDiagnosticIds { get => throw null; }
21+
public override sealed Microsoft.CodeAnalysis.CodeFixes.FixAllProvider GetFixAllProvider() => throw null;
22+
public override sealed System.Threading.Tasks.Task RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) => throw null;
23+
}
24+
public class ComponentParameterUsageAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
25+
{
26+
public ComponentParameterUsageAnalyzer() => throw null;
27+
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
28+
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
29+
}
30+
}
31+
}
32+
}
33+
namespace Extensions
34+
{
35+
namespace Internal
36+
{
37+
public class ComponentInternalUsageDiagnosticAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
38+
{
39+
public ComponentInternalUsageDiagnosticAnalyzer() => throw null;
40+
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
41+
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
42+
}
43+
}
44+
}
45+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// This file contains auto-generated code.
2+
// Generated from `Microsoft.Extensions.Logging.Generators, Version=7.0.8.36312, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
3+
namespace Microsoft
4+
{
5+
namespace Extensions
6+
{
7+
namespace Logging
8+
{
9+
namespace Generators
10+
{
11+
public static class DiagnosticDescriptors
12+
{
13+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor ArgumentHasNoCorrespondingTemplate { get => throw null; }
14+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor GeneratingForMax6Arguments { get => throw null; }
15+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor InconsistentTemplateCasing { get => throw null; }
16+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidLoggingMethodName { get => throw null; }
17+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidLoggingMethodParameterName { get => throw null; }
18+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor LoggingMethodHasBody { get => throw null; }
19+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor LoggingMethodIsGeneric { get => throw null; }
20+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor LoggingMethodMustBePartial { get => throw null; }
21+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor LoggingMethodMustReturnVoid { get => throw null; }
22+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor LoggingMethodShouldBeStatic { get => throw null; }
23+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor MalformedFormatStrings { get => throw null; }
24+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor MissingLoggerArgument { get => throw null; }
25+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor MissingLoggerField { get => throw null; }
26+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor MissingLogLevel { get => throw null; }
27+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor MissingRequiredType { get => throw null; }
28+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor MultipleLoggerFields { get => throw null; }
29+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor RedundantQualifierInMessage { get => throw null; }
30+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor ShouldntMentionExceptionInMessage { get => throw null; }
31+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor ShouldntMentionLoggerInMessage { get => throw null; }
32+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor ShouldntMentionLogLevelInMessage { get => throw null; }
33+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor ShouldntReuseEventIds { get => throw null; }
34+
public static Microsoft.CodeAnalysis.DiagnosticDescriptor TemplateHasNoCorrespondingArgument { get => throw null; }
35+
}
36+
public class LoggerMessageGenerator : Microsoft.CodeAnalysis.IIncrementalGenerator
37+
{
38+
public LoggerMessageGenerator() => throw null;
39+
public void Initialize(Microsoft.CodeAnalysis.IncrementalGeneratorInitializationContext context) => throw null;
40+
}
41+
}
42+
}
43+
}
44+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
// This file contains auto-generated code.
2+
// Generated from `Microsoft.Interop.JavaScript.JSImportGenerator, Version=7.0.8.36312, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.
3+
namespace Microsoft
4+
{
5+
namespace Interop
6+
{
7+
public class GeneratorDiagnostics : Microsoft.Interop.IGeneratorDiagnostics
8+
{
9+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ConfigurationNotSupported;
10+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ConfigurationValueNotSupported;
11+
public GeneratorDiagnostics() => throw null;
12+
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostic> Diagnostics { get => throw null; }
13+
public class Ids
14+
{
15+
public const string ConfigurationNotSupported = default;
16+
public Ids() => throw null;
17+
public const string InvalidJSExportAttributeUsage = default;
18+
public const string InvalidJSImportAttributeUsage = default;
19+
public const string JSExportRequiresAllowUnsafeBlocks = default;
20+
public const string JSImportRequiresAllowUnsafeBlocks = default;
21+
public const string Prefix = default;
22+
public const string TypeNotSupported = default;
23+
}
24+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidExportAttributedMethodContainingTypeMissingModifiers;
25+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidExportAttributedMethodSignature;
26+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidImportAttributedMethodContainingTypeMissingModifiers;
27+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidImportAttributedMethodSignature;
28+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor JSExportRequiresAllowUnsafeBlocks;
29+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor JSImportRequiresAllowUnsafeBlocks;
30+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor MarshallingAttributeConfigurationNotSupported;
31+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ParameterConfigurationNotSupported;
32+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ParameterTypeNotSupported;
33+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ParameterTypeNotSupportedWithDetails;
34+
public void ReportConfigurationNotSupported(Microsoft.CodeAnalysis.AttributeData attributeData, string configurationName, string unsupportedValue = default(string)) => throw null;
35+
public void ReportInvalidMarshallingAttributeInfo(Microsoft.CodeAnalysis.AttributeData attributeData, string reasonResourceName, params string[] reasonArgs) => throw null;
36+
public void ReportMarshallingNotSupported(Microsoft.Interop.MethodSignatureDiagnosticLocations diagnosticLocations, Microsoft.Interop.TypePositionInfo info, string notSupportedDetails, System.Collections.Immutable.ImmutableDictionary<string, string> diagnosticProperties) => throw null;
37+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ReturnConfigurationNotSupported;
38+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ReturnTypeNotSupported;
39+
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ReturnTypeNotSupportedWithDetails;
40+
}
41+
namespace JavaScript
42+
{
43+
public sealed class JSExportGenerator : Microsoft.CodeAnalysis.IIncrementalGenerator
44+
{
45+
public JSExportGenerator() => throw null;
46+
public void Initialize(Microsoft.CodeAnalysis.IncrementalGeneratorInitializationContext context) => throw null;
47+
public static class StepNames
48+
{
49+
public const string CalculateStubInformation = default;
50+
public const string GenerateSingleStub = default;
51+
}
52+
}
53+
public sealed class JSImportGenerator : Microsoft.CodeAnalysis.IIncrementalGenerator
54+
{
55+
public JSImportGenerator() => throw null;
56+
public void Initialize(Microsoft.CodeAnalysis.IncrementalGeneratorInitializationContext context) => throw null;
57+
public static class StepNames
58+
{
59+
public const string CalculateStubInformation = default;
60+
public const string GenerateSingleStub = default;
61+
}
62+
}
63+
public sealed class JSMarshallingAttributeInfoParser
64+
{
65+
public JSMarshallingAttributeInfoParser(Microsoft.CodeAnalysis.Compilation compilation, Microsoft.Interop.IGeneratorDiagnostics diagnostics, Microsoft.CodeAnalysis.ISymbol contextSymbol) => throw null;
66+
public Microsoft.Interop.MarshallingInfo ParseMarshallingInfo(Microsoft.CodeAnalysis.ITypeSymbol managedType, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.AttributeData> useSiteAttributes, Microsoft.Interop.MarshallingInfo inner) => throw null;
67+
}
68+
public static class OptionsHelper
69+
{
70+
public const string EnableJSExportOption = default;
71+
public const string EnableJSImportOption = default;
72+
}
73+
}
74+
public sealed class MethodSignatureDiagnosticLocations : System.IEquatable<Microsoft.Interop.MethodSignatureDiagnosticLocations>
75+
{
76+
public Microsoft.Interop.MethodSignatureDiagnosticLocations<Clone>$() => throw null;
77+
public MethodSignatureDiagnosticLocations(string MethodIdentifier, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> ManagedParameterLocations, Microsoft.CodeAnalysis.Location FallbackLocation) => throw null;
78+
public MethodSignatureDiagnosticLocations(Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax syntax) => throw null;
79+
public void Deconstruct(out string MethodIdentifier, out System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> ManagedParameterLocations, out Microsoft.CodeAnalysis.Location FallbackLocation) => throw null;
80+
public bool Equals(Microsoft.Interop.MethodSignatureDiagnosticLocations other) => throw null;
81+
public override bool Equals(object obj) => throw null;
82+
public Microsoft.CodeAnalysis.Location FallbackLocation { get => throw null; set { } }
83+
public override int GetHashCode() => throw null;
84+
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> ManagedParameterLocations { get => throw null; set { } }
85+
public string MethodIdentifier { get => throw null; set { } }
86+
public static bool operator ==(Microsoft.Interop.MethodSignatureDiagnosticLocations left, Microsoft.Interop.MethodSignatureDiagnosticLocations right) => throw null;
87+
public static bool operator !=(Microsoft.Interop.MethodSignatureDiagnosticLocations left, Microsoft.Interop.MethodSignatureDiagnosticLocations right) => throw null;
88+
public override string ToString() => throw null;
89+
}
90+
}
91+
}

0 commit comments

Comments
 (0)