зеркало из https://github.com/github/codeql.git
Add source generators to framework stubs
This commit is contained in:
Родитель
534ea3ecac
Коммит
2e8a91efda
|
@ -0,0 +1,38 @@
|
|||
// This file contains auto-generated code.
|
||||
// Generated from `Microsoft.AspNetCore.App.Analyzers, Version=7.0.10.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
|
||||
namespace Microsoft
|
||||
{
|
||||
namespace AspNetCore
|
||||
{
|
||||
namespace Analyzers
|
||||
{
|
||||
namespace RenderTreeBuilder
|
||||
{
|
||||
public class RenderTreeBuilderAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
|
||||
{
|
||||
public RenderTreeBuilderAnalyzer() => throw null;
|
||||
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
|
||||
}
|
||||
}
|
||||
namespace RouteHandlers
|
||||
{
|
||||
public class RouteHandlerAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
|
||||
{
|
||||
public RouteHandlerAnalyzer() => throw null;
|
||||
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
|
||||
}
|
||||
}
|
||||
namespace WebApplicationBuilder
|
||||
{
|
||||
public sealed class WebApplicationBuilderAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
|
||||
{
|
||||
public WebApplicationBuilderAnalyzer() => throw null;
|
||||
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
// This file contains auto-generated code.
|
||||
// Generated from `Microsoft.AspNetCore.App.CodeFixes, Version=7.0.10.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
|
||||
namespace Microsoft
|
||||
{
|
||||
namespace AspNetCore
|
||||
{
|
||||
namespace Analyzers
|
||||
{
|
||||
namespace RouteHandlers
|
||||
{
|
||||
namespace Fixers
|
||||
{
|
||||
public class DetectMismatchedParameterOptionalityFixer : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider
|
||||
{
|
||||
public DetectMismatchedParameterOptionalityFixer() => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<string> FixableDiagnosticIds { get => throw null; }
|
||||
public override sealed Microsoft.CodeAnalysis.CodeFixes.FixAllProvider GetFixAllProvider() => throw null;
|
||||
public override sealed System.Threading.Tasks.Task RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) => throw null;
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace WebApplicationBuilder
|
||||
{
|
||||
namespace Fixers
|
||||
{
|
||||
public sealed class WebApplicationBuilderFixer : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider
|
||||
{
|
||||
public WebApplicationBuilderFixer() => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<string> FixableDiagnosticIds { get => throw null; }
|
||||
public override sealed Microsoft.CodeAnalysis.CodeFixes.FixAllProvider GetFixAllProvider() => throw null;
|
||||
public override sealed System.Threading.Tasks.Task RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) => throw null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
// This file contains auto-generated code.
|
||||
// Generated from `Microsoft.AspNetCore.Components.Analyzers, Version=7.0.10.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
|
||||
namespace Microsoft
|
||||
{
|
||||
namespace AspNetCore
|
||||
{
|
||||
namespace Components
|
||||
{
|
||||
namespace Analyzers
|
||||
{
|
||||
public sealed class ComponentParameterAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
|
||||
{
|
||||
public ComponentParameterAnalyzer() => throw null;
|
||||
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
|
||||
}
|
||||
public class ComponentParametersShouldBePublicCodeFixProvider : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider
|
||||
{
|
||||
public ComponentParametersShouldBePublicCodeFixProvider() => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<string> FixableDiagnosticIds { get => throw null; }
|
||||
public override sealed Microsoft.CodeAnalysis.CodeFixes.FixAllProvider GetFixAllProvider() => throw null;
|
||||
public override sealed System.Threading.Tasks.Task RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) => throw null;
|
||||
}
|
||||
public class ComponentParameterUsageAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
|
||||
{
|
||||
public ComponentParameterUsageAnalyzer() => throw null;
|
||||
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace Extensions
|
||||
{
|
||||
namespace Internal
|
||||
{
|
||||
public class ComponentInternalUsageDiagnosticAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
|
||||
{
|
||||
public ComponentInternalUsageDiagnosticAnalyzer() => throw null;
|
||||
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
// This file contains auto-generated code.
|
||||
// Generated from `Microsoft.Extensions.Logging.Generators, Version=7.0.8.36312, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
|
||||
namespace Microsoft
|
||||
{
|
||||
namespace Extensions
|
||||
{
|
||||
namespace Logging
|
||||
{
|
||||
namespace Generators
|
||||
{
|
||||
public static class DiagnosticDescriptors
|
||||
{
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor ArgumentHasNoCorrespondingTemplate { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor GeneratingForMax6Arguments { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor InconsistentTemplateCasing { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidLoggingMethodName { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidLoggingMethodParameterName { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor LoggingMethodHasBody { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor LoggingMethodIsGeneric { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor LoggingMethodMustBePartial { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor LoggingMethodMustReturnVoid { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor LoggingMethodShouldBeStatic { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor MalformedFormatStrings { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor MissingLoggerArgument { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor MissingLoggerField { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor MissingLogLevel { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor MissingRequiredType { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor MultipleLoggerFields { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor RedundantQualifierInMessage { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor ShouldntMentionExceptionInMessage { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor ShouldntMentionLoggerInMessage { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor ShouldntMentionLogLevelInMessage { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor ShouldntReuseEventIds { get => throw null; }
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor TemplateHasNoCorrespondingArgument { get => throw null; }
|
||||
}
|
||||
public class LoggerMessageGenerator : Microsoft.CodeAnalysis.IIncrementalGenerator
|
||||
{
|
||||
public LoggerMessageGenerator() => throw null;
|
||||
public void Initialize(Microsoft.CodeAnalysis.IncrementalGeneratorInitializationContext context) => throw null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,91 @@
|
|||
// This file contains auto-generated code.
|
||||
// Generated from `Microsoft.Interop.JavaScript.JSImportGenerator, Version=7.0.8.36312, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.
|
||||
namespace Microsoft
|
||||
{
|
||||
namespace Interop
|
||||
{
|
||||
public class GeneratorDiagnostics : Microsoft.Interop.IGeneratorDiagnostics
|
||||
{
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ConfigurationNotSupported;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ConfigurationValueNotSupported;
|
||||
public GeneratorDiagnostics() => throw null;
|
||||
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostic> Diagnostics { get => throw null; }
|
||||
public class Ids
|
||||
{
|
||||
public const string ConfigurationNotSupported = default;
|
||||
public Ids() => throw null;
|
||||
public const string InvalidJSExportAttributeUsage = default;
|
||||
public const string InvalidJSImportAttributeUsage = default;
|
||||
public const string JSExportRequiresAllowUnsafeBlocks = default;
|
||||
public const string JSImportRequiresAllowUnsafeBlocks = default;
|
||||
public const string Prefix = default;
|
||||
public const string TypeNotSupported = default;
|
||||
}
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidExportAttributedMethodContainingTypeMissingModifiers;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidExportAttributedMethodSignature;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidImportAttributedMethodContainingTypeMissingModifiers;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidImportAttributedMethodSignature;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor JSExportRequiresAllowUnsafeBlocks;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor JSImportRequiresAllowUnsafeBlocks;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor MarshallingAttributeConfigurationNotSupported;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ParameterConfigurationNotSupported;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ParameterTypeNotSupported;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ParameterTypeNotSupportedWithDetails;
|
||||
public void ReportConfigurationNotSupported(Microsoft.CodeAnalysis.AttributeData attributeData, string configurationName, string unsupportedValue = default(string)) => throw null;
|
||||
public void ReportInvalidMarshallingAttributeInfo(Microsoft.CodeAnalysis.AttributeData attributeData, string reasonResourceName, params string[] reasonArgs) => throw null;
|
||||
public void ReportMarshallingNotSupported(Microsoft.Interop.MethodSignatureDiagnosticLocations diagnosticLocations, Microsoft.Interop.TypePositionInfo info, string notSupportedDetails, System.Collections.Immutable.ImmutableDictionary<string, string> diagnosticProperties) => throw null;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ReturnConfigurationNotSupported;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ReturnTypeNotSupported;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ReturnTypeNotSupportedWithDetails;
|
||||
}
|
||||
namespace JavaScript
|
||||
{
|
||||
public sealed class JSExportGenerator : Microsoft.CodeAnalysis.IIncrementalGenerator
|
||||
{
|
||||
public JSExportGenerator() => throw null;
|
||||
public void Initialize(Microsoft.CodeAnalysis.IncrementalGeneratorInitializationContext context) => throw null;
|
||||
public static class StepNames
|
||||
{
|
||||
public const string CalculateStubInformation = default;
|
||||
public const string GenerateSingleStub = default;
|
||||
}
|
||||
}
|
||||
public sealed class JSImportGenerator : Microsoft.CodeAnalysis.IIncrementalGenerator
|
||||
{
|
||||
public JSImportGenerator() => throw null;
|
||||
public void Initialize(Microsoft.CodeAnalysis.IncrementalGeneratorInitializationContext context) => throw null;
|
||||
public static class StepNames
|
||||
{
|
||||
public const string CalculateStubInformation = default;
|
||||
public const string GenerateSingleStub = default;
|
||||
}
|
||||
}
|
||||
public sealed class JSMarshallingAttributeInfoParser
|
||||
{
|
||||
public JSMarshallingAttributeInfoParser(Microsoft.CodeAnalysis.Compilation compilation, Microsoft.Interop.IGeneratorDiagnostics diagnostics, Microsoft.CodeAnalysis.ISymbol contextSymbol) => throw null;
|
||||
public Microsoft.Interop.MarshallingInfo ParseMarshallingInfo(Microsoft.CodeAnalysis.ITypeSymbol managedType, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.AttributeData> useSiteAttributes, Microsoft.Interop.MarshallingInfo inner) => throw null;
|
||||
}
|
||||
public static class OptionsHelper
|
||||
{
|
||||
public const string EnableJSExportOption = default;
|
||||
public const string EnableJSImportOption = default;
|
||||
}
|
||||
}
|
||||
public sealed class MethodSignatureDiagnosticLocations : System.IEquatable<Microsoft.Interop.MethodSignatureDiagnosticLocations>
|
||||
{
|
||||
public Microsoft.Interop.MethodSignatureDiagnosticLocations<Clone>$() => throw null;
|
||||
public MethodSignatureDiagnosticLocations(string MethodIdentifier, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> ManagedParameterLocations, Microsoft.CodeAnalysis.Location FallbackLocation) => throw null;
|
||||
public MethodSignatureDiagnosticLocations(Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax syntax) => throw null;
|
||||
public void Deconstruct(out string MethodIdentifier, out System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> ManagedParameterLocations, out Microsoft.CodeAnalysis.Location FallbackLocation) => throw null;
|
||||
public bool Equals(Microsoft.Interop.MethodSignatureDiagnosticLocations other) => throw null;
|
||||
public override bool Equals(object obj) => throw null;
|
||||
public Microsoft.CodeAnalysis.Location FallbackLocation { get => throw null; set { } }
|
||||
public override int GetHashCode() => throw null;
|
||||
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> ManagedParameterLocations { get => throw null; set { } }
|
||||
public string MethodIdentifier { get => throw null; set { } }
|
||||
public static bool operator ==(Microsoft.Interop.MethodSignatureDiagnosticLocations left, Microsoft.Interop.MethodSignatureDiagnosticLocations right) => throw null;
|
||||
public static bool operator !=(Microsoft.Interop.MethodSignatureDiagnosticLocations left, Microsoft.Interop.MethodSignatureDiagnosticLocations right) => throw null;
|
||||
public override string ToString() => throw null;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,180 @@
|
|||
// This file contains auto-generated code.
|
||||
// Generated from `Microsoft.Interop.LibraryImportGenerator, Version=7.0.8.36312, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.
|
||||
namespace Microsoft
|
||||
{
|
||||
namespace Interop
|
||||
{
|
||||
namespace Analyzers
|
||||
{
|
||||
public class AddDisableRuntimeMarshallingAttributeFixer : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider
|
||||
{
|
||||
public AddDisableRuntimeMarshallingAttributeFixer() => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<string> FixableDiagnosticIds { get => throw null; }
|
||||
public override Microsoft.CodeAnalysis.CodeFixes.FixAllProvider GetFixAllProvider() => throw null;
|
||||
public override System.Threading.Tasks.Task RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) => throw null;
|
||||
}
|
||||
public class ConvertToLibraryImportAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
|
||||
{
|
||||
public const string CharSet = default;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ConvertToLibraryImport;
|
||||
public ConvertToLibraryImportAnalyzer() => throw null;
|
||||
public const string ExactSpelling = default;
|
||||
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
|
||||
public const string MayRequireAdditionalWork = default;
|
||||
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
|
||||
}
|
||||
public sealed class ConvertToLibraryImportFixer : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider
|
||||
{
|
||||
public ConvertToLibraryImportFixer() => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<string> FixableDiagnosticIds { get => throw null; }
|
||||
public override Microsoft.CodeAnalysis.CodeFixes.FixAllProvider GetFixAllProvider() => throw null;
|
||||
public override System.Threading.Tasks.Task RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) => throw null;
|
||||
}
|
||||
public class CustomMarshallerAttributeAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
|
||||
{
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor CallerAllocFromManagedMustHaveBufferSizeRule;
|
||||
public CustomMarshallerAttributeAnalyzer() => throw null;
|
||||
public static class DefaultMarshalModeDiagnostics
|
||||
{
|
||||
public static Microsoft.CodeAnalysis.DiagnosticDescriptor GetDefaultMarshalModeDiagnostic(Microsoft.CodeAnalysis.DiagnosticDescriptor errorDescriptor) => throw null;
|
||||
}
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ElementMarshallerCannotBeStatefulRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ElementTypesOfReturnTypesMustMatchRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor FirstParameterMustMatchReturnTypeRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor FirstParametersMustMatchRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor FromUnmanagedOverloadsNotSupportedRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor GetPinnableReferenceReturnTypeBlittableRule;
|
||||
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor LinearCollectionInRequiresCollectionMethodsRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor LinearCollectionOutRequiresCollectionMethodsRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ManagedTypeMustBeClosedOrMatchArityRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ManagedTypeMustBeNonNullRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor MarshallerTypeMustBeClosedOrMatchArityRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor MarshallerTypeMustBeNonNullRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor MarshallerTypeMustBeStaticClassOrStructRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor MarshallerTypeMustSpecifyManagedTypeRule;
|
||||
public static class MissingMemberNames
|
||||
{
|
||||
public static System.Collections.Immutable.ImmutableDictionary<string, string> CreateDiagnosticPropertiesForMissingMembersDiagnostic(Microsoft.Interop.MarshalMode mode, params string[] missingMemberNames) => throw null;
|
||||
public static System.Collections.Immutable.ImmutableDictionary<string, string> CreateDiagnosticPropertiesForMissingMembersDiagnostic(Microsoft.Interop.MarshalMode mode, System.Collections.Generic.IEnumerable<string> missingMemberNames) => throw null;
|
||||
public const char Delimiter = default;
|
||||
public const string Key = default;
|
||||
public const string MarshalModeKey = default;
|
||||
}
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor OutRequiresToManagedRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ReturnTypeMustBeExpectedTypeRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ReturnTypesMustMatchRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor StatefulMarshallerRequiresFreeRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor StatefulMarshallerRequiresFromManagedRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor StatefulMarshallerRequiresFromUnmanagedRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor StatefulMarshallerRequiresToManagedRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor StatefulMarshallerRequiresToUnmanagedRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor StatelessLinearCollectionCallerAllocFromManagedMustHaveBufferSizeRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor StatelessLinearCollectionInRequiresCollectionMethodsRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor StatelessLinearCollectionOutRequiresCollectionMethodsRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor StatelessLinearCollectionRequiresTwoParameterAllocateContainerForManagedElementsRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor StatelessLinearCollectionRequiresTwoParameterAllocateContainerForUnmanagedElementsRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor StatelessRequiresConvertToManagedRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor StatelessValueInRequiresConvertToUnmanagedRule;
|
||||
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor TypeMustHaveExplicitCastFromVoidPointerRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor UnmanagedTypeMustBeUnmanagedRule;
|
||||
}
|
||||
public class CustomMarshallerAttributeFixer : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider
|
||||
{
|
||||
public CustomMarshallerAttributeFixer() => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<string> FixableDiagnosticIds { get => throw null; }
|
||||
public override Microsoft.CodeAnalysis.CodeFixes.FixAllProvider GetFixAllProvider() => throw null;
|
||||
public override System.Threading.Tasks.Task RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) => throw null;
|
||||
}
|
||||
public struct DiagnosticReporter
|
||||
{
|
||||
public void CreateAndReportDiagnostic(Microsoft.CodeAnalysis.DiagnosticDescriptor descriptor, params object[] messageArgs) => throw null;
|
||||
public void CreateAndReportDiagnostic(Microsoft.CodeAnalysis.DiagnosticDescriptor descriptor, System.Collections.Immutable.ImmutableDictionary<string, string> properties, params object[] messageArgs) => throw null;
|
||||
public static Microsoft.Interop.Analyzers.DiagnosticReporter CreateForLocation(Microsoft.CodeAnalysis.Location location, System.Action<Microsoft.CodeAnalysis.Diagnostic> reportDiagnostic) => throw null;
|
||||
public DiagnosticReporter(System.Action<Microsoft.CodeAnalysis.DiagnosticDescriptor, System.Collections.Immutable.ImmutableDictionary<string, string>, object[]> createAndReportDiagnostic) => throw null;
|
||||
}
|
||||
public class NativeMarshallingAttributeAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
|
||||
{
|
||||
public NativeMarshallingAttributeAnalyzer() => throw null;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor GenericEntryPointMarshallerTypeMustBeClosedOrMatchArityRule;
|
||||
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor MarshallerEntryPointTypeMustBeNonNullRule;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor MarshallerEntryPointTypeMustHaveCustomMarshallerAttributeWithMatchingManagedTypeRule;
|
||||
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
|
||||
}
|
||||
public class ShapeBreakingDiagnosticSuppressor : Microsoft.CodeAnalysis.Diagnostics.DiagnosticSuppressor
|
||||
{
|
||||
public ShapeBreakingDiagnosticSuppressor() => throw null;
|
||||
public static readonly Microsoft.CodeAnalysis.SuppressionDescriptor MarkMethodsAsStaticSuppression;
|
||||
public override void ReportSuppressions(Microsoft.CodeAnalysis.Diagnostics.SuppressionAnalysisContext context) => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.SuppressionDescriptor> SupportedSuppressions { get => throw null; }
|
||||
}
|
||||
}
|
||||
public class GeneratorDiagnostics : Microsoft.Interop.IGeneratorDiagnostics
|
||||
{
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor CannotForwardToDllImport;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ConfigurationNotSupported;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ConfigurationValueNotSupported;
|
||||
public GeneratorDiagnostics() => throw null;
|
||||
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostic> Diagnostics { get => throw null; }
|
||||
public class Ids
|
||||
{
|
||||
public const string CannotForwardToDllImport = default;
|
||||
public const string ConfigurationNotSupported = default;
|
||||
public Ids() => throw null;
|
||||
public const string InvalidLibraryImportAttributeUsage = default;
|
||||
public const string Prefix = default;
|
||||
public const string RequiresAllowUnsafeBlocks = default;
|
||||
public const string TypeNotSupported = default;
|
||||
}
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidAttributedMethodContainingTypeMissingModifiers;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidAttributedMethodSignature;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor InvalidStringMarshallingConfiguration;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor MarshallingAttributeConfigurationNotSupported;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ParameterConfigurationNotSupported;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ParameterTypeNotSupported;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ParameterTypeNotSupportedWithDetails;
|
||||
public void ReportCannotForwardToDllImport(Microsoft.Interop.MethodSignatureDiagnosticLocations method, string name, string value = default(string)) => throw null;
|
||||
public void ReportConfigurationNotSupported(Microsoft.CodeAnalysis.AttributeData attributeData, string configurationName, string unsupportedValue = default(string)) => throw null;
|
||||
public void ReportInvalidMarshallingAttributeInfo(Microsoft.CodeAnalysis.AttributeData attributeData, string reasonResourceName, params string[] reasonArgs) => throw null;
|
||||
public void ReportInvalidStringMarshallingConfiguration(Microsoft.CodeAnalysis.AttributeData attributeData, string methodName, string detailsMessage) => throw null;
|
||||
public void ReportMarshallingNotSupported(Microsoft.Interop.MethodSignatureDiagnosticLocations diagnosticLocations, Microsoft.Interop.TypePositionInfo info, string notSupportedDetails, System.Collections.Immutable.ImmutableDictionary<string, string> diagnosticProperties) => throw null;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor RequiresAllowUnsafeBlocks;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ReturnConfigurationNotSupported;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ReturnTypeNotSupported;
|
||||
public static readonly Microsoft.CodeAnalysis.DiagnosticDescriptor ReturnTypeNotSupportedWithDetails;
|
||||
}
|
||||
public sealed class LibraryImportGenerator : Microsoft.CodeAnalysis.IIncrementalGenerator
|
||||
{
|
||||
public LibraryImportGenerator() => throw null;
|
||||
public void Initialize(Microsoft.CodeAnalysis.IncrementalGeneratorInitializationContext context) => throw null;
|
||||
public static class StepNames
|
||||
{
|
||||
public const string CalculateStubInformation = default;
|
||||
public const string GenerateSingleStub = default;
|
||||
}
|
||||
}
|
||||
public sealed class MethodSignatureDiagnosticLocations : System.IEquatable<Microsoft.Interop.MethodSignatureDiagnosticLocations>
|
||||
{
|
||||
public Microsoft.Interop.MethodSignatureDiagnosticLocations<Clone>$() => throw null;
|
||||
public MethodSignatureDiagnosticLocations(string MethodIdentifier, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> ManagedParameterLocations, Microsoft.CodeAnalysis.Location FallbackLocation) => throw null;
|
||||
public MethodSignatureDiagnosticLocations(Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax syntax) => throw null;
|
||||
public void Deconstruct(out string MethodIdentifier, out System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> ManagedParameterLocations, out Microsoft.CodeAnalysis.Location FallbackLocation) => throw null;
|
||||
public bool Equals(Microsoft.Interop.MethodSignatureDiagnosticLocations other) => throw null;
|
||||
public override bool Equals(object obj) => throw null;
|
||||
public Microsoft.CodeAnalysis.Location FallbackLocation { get => throw null; set { } }
|
||||
public override int GetHashCode() => throw null;
|
||||
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> ManagedParameterLocations { get => throw null; set { } }
|
||||
public string MethodIdentifier { get => throw null; set { } }
|
||||
public static bool operator ==(Microsoft.Interop.MethodSignatureDiagnosticLocations left, Microsoft.Interop.MethodSignatureDiagnosticLocations right) => throw null;
|
||||
public static bool operator !=(Microsoft.Interop.MethodSignatureDiagnosticLocations left, Microsoft.Interop.MethodSignatureDiagnosticLocations right) => throw null;
|
||||
public override string ToString() => throw null;
|
||||
}
|
||||
public static class OptionsHelper
|
||||
{
|
||||
public const string GenerateForwardersOption = default;
|
||||
public const string UseMarshalTypeOption = default;
|
||||
}
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,20 @@
|
|||
// This file contains auto-generated code.
|
||||
// Generated from `System.Text.Json.SourceGeneration, Version=7.0.8.36312, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`.
|
||||
namespace System
|
||||
{
|
||||
namespace Text
|
||||
{
|
||||
namespace Json
|
||||
{
|
||||
namespace SourceGeneration
|
||||
{
|
||||
public sealed class JsonSourceGenerator : Microsoft.CodeAnalysis.IIncrementalGenerator
|
||||
{
|
||||
public JsonSourceGenerator() => throw null;
|
||||
public System.Collections.Generic.Dictionary<string, System.Type> GetSerializableTypes() => throw null;
|
||||
public void Initialize(Microsoft.CodeAnalysis.IncrementalGeneratorInitializationContext context) => throw null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
// This file contains auto-generated code.
|
||||
// Generated from `System.Text.RegularExpressions.Generator, Version=7.0.8.36312, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.
|
||||
namespace System
|
||||
{
|
||||
namespace Text
|
||||
{
|
||||
namespace RegularExpressions
|
||||
{
|
||||
namespace Generator
|
||||
{
|
||||
public class RegexGenerator : Microsoft.CodeAnalysis.IIncrementalGenerator
|
||||
{
|
||||
public RegexGenerator() => throw null;
|
||||
public void Initialize(Microsoft.CodeAnalysis.IncrementalGeneratorInitializationContext context) => throw null;
|
||||
}
|
||||
public sealed class UpgradeToGeneratedRegexAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
|
||||
{
|
||||
public UpgradeToGeneratedRegexAnalyzer() => throw null;
|
||||
public override void Initialize(Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context) => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DiagnosticDescriptor> SupportedDiagnostics { get => throw null; }
|
||||
}
|
||||
public sealed class UpgradeToGeneratedRegexCodeFixer : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider
|
||||
{
|
||||
public UpgradeToGeneratedRegexCodeFixer() => throw null;
|
||||
public override System.Collections.Immutable.ImmutableArray<string> FixableDiagnosticIds { get => throw null; }
|
||||
public override Microsoft.CodeAnalysis.CodeFixes.FixAllProvider GetFixAllProvider() => throw null;
|
||||
public override System.Threading.Tasks.Task RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) => throw null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче