670 references to AttributeClass
Aspire.Hosting.Analyzers (3)
Aspire.Hosting.Azure.Provisioning.Tests (4)
Aspire.Hosting.Integration.Analyzers (21)
AspireExportAnalyzer.cs (21)
235attribute.AttributeClass?.GetAttributes().Any(static providerAttribute =>
236providerAttribute.AttributeClass?.ToDisplayString() == AspireExportProviderAttributeMetadataName) == true);
259if (SymbolEqualityComparer.Default.Equals(attr.AttributeClass, aspireExportAttribute))
264SymbolEqualityComparer.Default.Equals(attr.AttributeClass, aspireExportIgnoreAttribute))
268else if (attr.AttributeClass?.Name == "ObsoleteAttribute")
279if (SymbolEqualityComparer.Default.Equals(attr.AttributeClass, aspireExportIgnoreAttribute))
503if (!SymbolEqualityComparer.Default.Equals(attribute.AttributeClass, aspireExportAttribute))
553if (SymbolEqualityComparer.Default.Equals(attribute.AttributeClass, aspireExportAttribute))
572if (!SymbolEqualityComparer.Default.Equals(attribute.AttributeClass, aspireExportAttribute) ||
938if (SymbolEqualityComparer.Default.Equals(attr.AttributeClass, aspireExportAttribute))
945if (attr.AttributeClass?.Name == "AspireDtoAttribute")
1634if (!SymbolEqualityComparer.Default.Equals(attr.AttributeClass, aspireUnionAttribute))
1905if (SymbolEqualityComparer.Default.Equals(attr.AttributeClass, aspireExportAttribute))
1923if (SymbolEqualityComparer.Default.Equals(attr.AttributeClass, aspireExportIgnoreAttribute))
2070if (SymbolEqualityComparer.Default.Equals(attr.AttributeClass, aspireExportAttribute))
2099if (SymbolEqualityComparer.Default.Equals(attr.AttributeClass, aspireExportAttribute))
2431if (SymbolEqualityComparer.Default.Equals(attr.AttributeClass, aspireExportAttribute))
2450if (!SymbolEqualityComparer.Default.Equals(attr.AttributeClass, aspireExportAttribute))
2471if (!SymbolEqualityComparer.Default.Equals(attr.AttributeClass, aspireExportAttribute))
2514if (attr.AttributeClass?.Name == "AspireDtoAttribute" &&
2515attr.AttributeClass.ContainingNamespace?.ToDisplayString() == "Aspire.Hosting")
ConfigurationSchemaGenerator (5)
EventSourceGenerator (2)
GenerateDocumentationAndConfigFiles (24)
ILLink.RoslynAnalyzer (7)
Microsoft.Analyzers.Extra (12)
Microsoft.Analyzers.Local (2)
Microsoft.AspNetCore.App.Analyzers (29)
Microsoft.AspNetCore.Components.AI.SourceGenerators (2)
Microsoft.AspNetCore.Components.Analyzers (8)
Microsoft.AspNetCore.Components.SdkAnalyzers (5)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (10)
Microsoft.AspNetCore.Mvc.Analyzers (9)
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (2)
Microsoft.Build.TaskAuthoring.Analyzer (5)
Microsoft.CodeAnalysis (25)
Symbols\Attributes\CommonAttributeData.cs (8)
62[MemberNotNullWhen(false, nameof(AttributeClass)/*, nameof(AttributeConstructor)*/)]
67Debug.Assert(AttributeClass is not null);
455Debug.Assert(attribute.AttributeClass is object);
456messageProvider.ReportInvalidNamedArgument(arguments.Diagnostics, arguments.AttributeSyntaxOpt, position, attribute.AttributeClass, "MethodCodeType");
482Debug.Assert(attribute.AttributeClass is object);
522messageProvider.ReportInvalidNamedArgument(arguments.Diagnostics, arguments.AttributeSyntaxOpt, position, attribute.AttributeClass, namedArg.Key);
535messageProvider.ReportInvalidNamedArgument(arguments.Diagnostics, arguments.AttributeSyntaxOpt, position, attribute.AttributeClass, namedArg.Key);
545messageProvider.ReportInvalidNamedArgument(arguments.Diagnostics, arguments.AttributeSyntaxOpt, position, attribute.AttributeClass, namedArg.Key);
Symbols\Attributes\MarshalAsAttributeDecoder.cs (8)
134messageProvider.ReportInvalidNamedArgument(arguments.Diagnostics, arguments.AttributeSyntaxOpt, position, arguments.Attribute.AttributeClass, namedArg.Key);
150messageProvider.ReportInvalidNamedArgument(arguments.Diagnostics, arguments.AttributeSyntaxOpt, position, arguments.Attribute.AttributeClass, namedArg.Key);
190messageProvider.ReportInvalidNamedArgument(arguments.Diagnostics, arguments.AttributeSyntaxOpt, position, arguments.Attribute.AttributeClass, namedArg.Key);
230messageProvider.ReportInvalidNamedArgument(arguments.Diagnostics, arguments.AttributeSyntaxOpt, position, arguments.Attribute.AttributeClass, namedArg.Key);
240messageProvider.ReportInvalidNamedArgument(arguments.Diagnostics, arguments.AttributeSyntaxOpt, position, arguments.Attribute.AttributeClass, namedArg.Key);
255messageProvider.ReportInvalidNamedArgument(arguments.Diagnostics, arguments.AttributeSyntaxOpt, position, arguments.Attribute.AttributeClass, namedArg.Key);
314messageProvider.ReportInvalidNamedArgument(arguments.Diagnostics, arguments.AttributeSyntaxOpt, position, arguments.Attribute.AttributeClass, namedArg.Key);
382messageProvider.ReportInvalidNamedArgument(arguments.Diagnostics, arguments.AttributeSyntaxOpt, position, arguments.Attribute.AttributeClass, namedArg.Key);
Microsoft.CodeAnalysis.Analyzers (36)
Microsoft.CodeAnalysis.AnalyzerUtilities (23)
Microsoft.CodeAnalysis.CodeStyle (14)
Microsoft.CodeAnalysis.CodeStyle.Fixes (8)
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
Microsoft.CodeAnalysis.CSharp.Features (4)
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Microsoft.CodeAnalysis.Extensions.Package (7)
Microsoft.CodeAnalysis.Features (25)
Microsoft.CodeAnalysis.NetAnalyzers (54)
Microsoft.CodeAnalysis.Razor.Compiler (15)
Microsoft.CodeAnalysis.ResxSourceGenerator (20)
Microsoft.CodeAnalysis.Workspaces (21)
Microsoft.Diagnostics.DataContractReader.DataGenerator (4)
Microsoft.DotNet.ApiCompatibility (10)
Microsoft.DotNet.ApiSymbolExtensions (6)
Microsoft.Extensions.Configuration.Binder.SourceGeneration (2)
Microsoft.Extensions.Logging.Generators (1)
Microsoft.Extensions.Options.SourceGeneration (7)
Microsoft.Extensions.Validation.ValidationsGenerator (23)
Microsoft.Gen.BuildMetadata (1)
Microsoft.Gen.ComplianceReports (3)
Microsoft.Gen.ContextualOptions (2)
Microsoft.Gen.Logging (2)
Microsoft.Gen.MetadataExtractor (5)
Microsoft.Gen.Metrics (2)
Microsoft.Gen.MetricsReports (2)
Microsoft.Interop.ComInterfaceGenerator (41)
Microsoft.Interop.JavaScript.JSImportGenerator (8)
Microsoft.Interop.LibraryImportGenerator (23)
Microsoft.Interop.LibraryImportGenerator.Downlevel (8)
Microsoft.Interop.SourceGeneration (21)
Microsoft.Maui.Controls.BindingSourceGen (1)
Microsoft.Maui.Controls.SourceGen (2)
Microsoft.ML.InternalCodeAnalyzer (6)
Roslyn.Diagnostics.Analyzers (50)
Roslyn.Diagnostics.CSharp.Analyzers (5)
System.Private.CoreLib.Generators (3)
System.Text.Json.SourceGeneration (14)
System.Windows.Forms.Analyzers.CSharp (1)
System.Windows.Forms.Analyzers.VisualBasic (2)
System.Windows.Forms.PrivateSourceGenerators (1)