5 implementations of IsRequired
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
CodeGenerationPropertySymbol.cs (1)
84public bool IsRequired => Modifiers.IsRequired && !IsIndexer;
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\PropertySymbol.cs (1)
94bool IPropertySymbol.IsRequired => _underlying.IsRequired;
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedPropertySymbol.cs (1)
44public bool IsRequired => _symbol.IsRequired;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\PropertySymbol.vb (1)
574Private ReadOnly Property IPropertySymbol_IsRequired As Boolean Implements IPropertySymbol.IsRequired
Microsoft.CodeAnalysis.Workspaces (1)
CodeGenerationPropertySymbol.cs (1)
84public bool IsRequired => Modifiers.IsRequired && !IsIndexer;
8 references to IsRequired
Microsoft.CodeAnalysis.CodeStyle (1)
ISymbolExtensions.cs (1)
273=> symbol is IFieldSymbol { IsRequired: true } or IPropertySymbol { IsRequired: true };
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
935var isRequired = symbol is IFieldSymbol { IsRequired: true } or IPropertySymbol { IsRequired: true };
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
PropertyGenerator.cs (1)
393if (property.IsRequired)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\RequiredMembersTests.cs (1)
5515Assert.Equal(isRequired, property.IsRequired);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
PropertyGenerator.cs (1)
393if (property.IsRequired)
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedPropertySymbol.cs (1)
44public bool IsRequired => _symbol.IsRequired;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\PropertySymbol.vb (1)
574Private ReadOnly Property IPropertySymbol_IsRequired As Boolean Implements IPropertySymbol.IsRequired
Microsoft.CodeAnalysis.Workspaces (1)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs\ISymbolExtensions.cs (1)
273=> symbol is IFieldSymbol { IsRequired: true } or IPropertySymbol { IsRequired: true };