2 implementations of IsWithEvents
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\PropertySymbol.cs (1)
89bool IPropertySymbol.IsWithEvents
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\PropertySymbol.vb (1)
476Public Overridable ReadOnly Property IsWithEvents As Boolean Implements IPropertySymbol.IsWithEvents
16 references to IsWithEvents
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
364if (property.IsWithEvents)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
638IPropertySymbol { IsWithEvents: false } => true,
Microsoft.CodeAnalysis.Features (3)
ExtractInterface\AbstractExtractInterfaceService.cs (1)
452return !prop.IsWithEvents &&
Shared\Extensions\ISymbolExtensions_2.cs (1)
138if (propertySymbol.IsWithEvents)
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
364if (property.IsWithEvents)
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\PropertySymbol.vb (1)
476Public Overridable ReadOnly Property IsWithEvents As Boolean Implements IPropertySymbol.IsWithEvents
Microsoft.CodeAnalysis.VisualBasic.Features (5)
CodeFixes\GenerateEvent\GenerateEventCodeFixProvider.vb (1)
346If withEventsProperty Is Nothing OrElse Not withEventsProperty.IsWithEvents Then
Completion\CompletionProviders\HandlesClauseCompletionProvider.vb (1)
148Return [property].IsWithEvents
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1451If symbol.IsWithEvents Then
NavigationBar\VisualBasicNavigationBarItemService.vb (2)
136If propertySymbol IsNot Nothing AndAlso propertySymbol.IsWithEvents Then 284Return Not p.IsWithEvents
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
638IPropertySymbol { IsWithEvents: false } => true,
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
GlyphExtensionsTests.cs (1)
252propertyMock.SetupGet(s => s.IsWithEvents).Returns(isWithEvents);
Microsoft.VisualStudio.LanguageServices.VisualBasic (3)
CodeModel\MethodXML\MethodXmlBuilder.vb (1)
326If propertySymbol IsNot Nothing AndAlso propertySymbol.IsWithEvents Then
CodeModel\VisualBasicCodeModelService.vb (2)
1400If propertySymbol?.IsWithEvents Then 1452If TryCast(symbol, IPropertySymbol)?.IsWithEvents Then