23 references to OnesComplementOperatorName
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\IMethodSymbolExtensions.cs (1)
93WellKnownMemberNames.LogicalNotOperatorName or WellKnownMemberNames.OnesComplementOperatorName => PredefinedOperator.Complement,
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationOperatorSymbol.cs (1)
107CodeGenerationOperatorKind.OnesComplement => WellKnownMemberNames.OnesComplementOperatorName,
Microsoft.CodeAnalysis.CSharp (6)
Binder\Semantics\Operators\OperatorFacts.cs (2)
107case SyntaxKind.TildeToken: return WellKnownMemberNames.OnesComplementOperatorName; 175case UnaryOperatorKind.BitwiseComplement: return WellKnownMemberNames.OnesComplementOperatorName;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1236case WellKnownMemberNames.OnesComplementOperatorName:
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (2)
370case WellKnownMemberNames.OnesComplementOperatorName: 423case WellKnownMemberNames.OnesComplementOperatorName:
Syntax\SyntaxKindFacts.cs (1)
1069case WellKnownMemberNames.OnesComplementOperatorName: return SyntaxKind.TildeToken;
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Operators.cs (1)
65(WellKnownMemberNames.OnesComplementOperatorName, OperatorPosition.Prefix),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\CompilationAPITests.cs (1)
2929[InlineData(WellKnownMemberNames.OnesComplementOperatorName, "int.operator ~(int)")]
Compilation\SemanticModelGetSemanticInfoTests_LateBound.cs (1)
629var operatorNames = new[] { WellKnownMemberNames.OnesComplementOperatorName,
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
337OperatorKind.OnesComplement => WellKnownMemberNames.OnesComplementOperatorName,
Recommendations\CSharpRecommendationServiceRunner_Operators.cs (1)
72case WellKnownMemberNames.OnesComplementOperatorName:
Microsoft.CodeAnalysis.VisualBasic (7)
Binding\DocumentationCommentCrefBinder.vb (1)
917WellKnownMemberNames.OnesComplementOperatorName, opInfo,
Semantics\Operators.vb (3)
91operators.Add(WellKnownMemberNames.OnesComplementOperatorName, New OperatorInfo(UnaryOperatorKind.Not)) 278Return WellKnownMemberNames.OnesComplementOperatorName 2993WellKnownMemberNames.OnesComplementOperatorName, opInfo,
Symbols\Metadata\PE\PEMethodSymbol.vb (2)
464If IdentifierComparison.Equals(Me.Name, WellKnownMemberNames.OnesComplementOperatorName) Then 467Return ComputeMethodKindForPotentialOperatorOrConversion(opInfo, MethodKind.UserDefinedOperator, WellKnownMemberNames.OnesComplementOperatorName, False)
Symbols\Source\SourceMethodSymbol.vb (1)
925Return WellKnownMemberNames.OnesComplementOperatorName
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Compilation\CompilationAPITests.vb (1)
1848<InlineData(WellKnownMemberNames.OnesComplementOperatorName, "Public Shared Operator Not(value As Integer) As Integer")>
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\IMethodSymbolExtensions.cs (1)
93WellKnownMemberNames.LogicalNotOperatorName or WellKnownMemberNames.OnesComplementOperatorName => PredefinedOperator.Complement,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationOperatorSymbol.cs (1)
107CodeGenerationOperatorKind.OnesComplement => WellKnownMemberNames.OnesComplementOperatorName,