6 references to RequiresUnsafeModifier
Microsoft.CodeAnalysis.Workspaces (6)
Editing\DeclarationModifiers.cs (1)
87
isUnsafe: symbol.
RequiresUnsafeModifier
(),
Shared\Extensions\ISymbolExtensions.cs (1)
686
.WhereAsArray(s => !s.
RequiresUnsafeModifier
());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISymbolExtensions.cs (1)
20
isUnsafe: symbol.
RequiresUnsafeModifier
(),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (2)
276
modifiers: new DeclarationModifiers(isUnsafe: !isContainedInUnsafeType && parameter.
RequiresUnsafeModifier
()),
298
modifiers: new DeclarationModifiers(isUnsafe: !isContainedInUnsafeType && parameter.
RequiresUnsafeModifier
()),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
483
modifiers: new DeclarationModifiers(isUnsafe: !isContainedInUnsafeType && parameters.Any(static p => p.
RequiresUnsafeModifier
())),