ModifierListInfo Struct
Namespace: Roslynator.CSharp.Syntax
Assembly: Roslynator.CSharp.dll
Provides information about modifier list.
public readonly struct ModifierListInfo
Inheritance
Object → ValueType → ModifierListInfo
Properties
| Property | Summary |
|---|---|
| ExplicitAccessibility | The explicit accessibility. |
| IsAbstract | True if the modifier list contains "abstract" modifier. |
| IsAsync | True if the modifier list contains "async" modifier. |
| IsConst | True if the modifier list contains "const" modifier. |
| IsExtern | True if the modifier list contains "extern" modifier. |
| IsIn | True if the modifier list contains "in" modifier. |
| IsNew | True if the modifier list contains "new" modifier. |
| IsOut | True if the modifier list contains "out" modifier. |
| IsOverride | True if the modifier list contains "override" modifier. |
| IsParams | True if the modifier list contains "params" modifier. |
| IsPartial | True if the modifier list contains "partial" modifier. |
| IsReadOnly | True if the modifier list contains "readonly" modifier. |
| IsRef | True if the modifier list contains "ref" modifier. |
| IsSealed | True if the modifier list contains "sealed" modifier. |
| IsStatic | True if the modifier list contains "static" modifier. |
| IsUnsafe | True if the modifier list contains "unsafe" modifier. |
| IsVirtual | True if the modifier list contains "virtual" modifier. |
| IsVolatile | True if the modifier list contains "volatile" modifier. |
| Modifiers | The modifier list. |
| Parent | The node that contains the modifiers. |
| Success | Determines whether this struct was initialized with an actual syntax. |
Methods
| Method | Summary |
|---|---|
| Equals(Object) | (Inherited from ValueType) |
| GetFilter() | Gets the modifier filter. |
| GetHashCode() | (Inherited from ValueType) |
| GetType() | (Inherited from Object) |
| MemberwiseClone() | (Inherited from Object) |
| ToString() | (Inherited from ValueType) |
| WithExplicitAccessibility(Accessibility, IComparer<SyntaxKind>) | Creates a new ModifierListInfo with accessibility modifiers updated. |
| WithModifiers(SyntaxTokenList) | Creates a new ModifierListInfo with the specified modifiers updated. |
| WithoutExplicitAccessibility() | Creates a new ModifierListInfo with accessibility modifiers removed. |