30 references to Attribute
Microsoft.CodeAnalysis (3)
Generated\Operations.Generated.cs (2)
3885/// <item><description><see cref="OperationKind.Attribute"/></description></item> 10602public override OperationKind Kind => OperationKind.Attribute;
Operations\ControlFlowGraphBuilder.cs (1)
102body.Kind == OperationKind.Attribute,
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (1)
370case OperationKind.Attribute:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (19)
Semantics\PrimaryConstructorTests.cs (10)
4518Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 4529Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 4543Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 4652Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 4665Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 4681Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 4726Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 4737Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 4751Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 5793Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind);
Semantics\RecordTests.cs (9)
27026Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 27037Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 27051Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 27160Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 27173Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 27189Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 27234Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 27245Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind); 27259Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\RecordStructTests.cs (1)
6519Assert.Equal(OperationKind.Attribute, context.OperationBlocks[1].Kind);
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (1)
370case OperationKind.Attribute:
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\ControlFlowGraphVerifier.cs (1)
1978case OperationKind.Attribute:
Compilation\TestOperationVisitor.cs (1)
1826Assert.Equal(OperationKind.Attribute, operation.Kind);
Microsoft.Interop.ComInterfaceGenerator (1)
Analyzers\ComHostingDoesNotSupportGeneratedComInterfaceAnalyzer.cs (1)
67}, OperationKind.Attribute);
Microsoft.Interop.LibraryImportGenerator (2)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (1)
624context.RegisterOperationAction(perCompilationAnalyzer.AnalyzeAttribute, OperationKind.Attribute);
Analyzers\NativeMarshallingAttributeAnalyzer.cs (1)
72context.RegisterOperationAction(perCompilationAnalyzer.AnalyzeAttribute, OperationKind.Attribute);