269 references to ContentTypeNames
Microsoft.CodeAnalysis.CSharp.EditorFeatures (23)
AddImports\CSharpAddImportsPasteCommandHandler.cs (1)
19
[ContentType(
ContentTypeNames
.CSharpContentType)]
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (1)
38
[ContentType(
ContentTypeNames
.CSharpContentType)]
BlockCommentEditing\BlockCommentEditingCommandHandler.cs (1)
29
[ContentType(
ContentTypeNames
.CSharpContentType)]
BlockCommentEditing\CloseBlockCommentCommandHandler.cs (1)
18
[ContentType(
ContentTypeNames
.CSharpContentType)]
ChangeSignature\CSharpChangeSignatureCommandHandler.cs (1)
17
[ContentType(
ContentTypeNames
.CSharpContentType)]
CommentSelection\CSharpToggleBlockCommentCommandHandler.cs (1)
27
[ContentType(
ContentTypeNames
.CSharpContentType)]
CompleteStatement\CompleteStatementCommandHandler.cs (1)
36
[ContentType(
ContentTypeNames
.CSharpContentType)]
ContentType\ContentTypeDefinitions.cs (3)
16
[Name(
ContentTypeNames
.CSharpContentType)]
17
[BaseDefinition(
ContentTypeNames
.RoslynContentType)]
25
[Name(
ContentTypeNames
.CSharpSignatureHelpContentType)]
ConvertNamespace\ConvertNamespaceCommandHandler.cs (1)
34
[ContentType(
ContentTypeNames
.CSharpContentType)]
DocumentationComments\DocumentationCommentCommandHandler.cs (1)
21
[ContentType(
ContentTypeNames
.CSharpContentType)]
DocumentationComments\XmlTagCompletionCommandHandler.cs (1)
24
[ContentType(
ContentTypeNames
.CSharpContentType)]
EncapsulateField\EncapsulateFieldCommandHandler.cs (1)
19
[ContentType(
ContentTypeNames
.CSharpContentType)]
EventHookup\EventHookupCommandHandler.cs (1)
38
[ContentType(
ContentTypeNames
.CSharpContentType)]
ExtractInterface\ExtractInterfaceCommandHandler.cs (1)
18
[ContentType(
ContentTypeNames
.CSharpContentType)]
FixInterpolatedVerbatimString\FixInterpolatedVerbatimStringCommandHandler.cs (1)
25
[ContentType(
ContentTypeNames
.CSharpContentType)]
LanguageServices\CSharpContentTypeLanguageService.cs (2)
12
[ExportContentTypeLanguageService(
ContentTypeNames
.CSharpContentType, LanguageNames.CSharp), Shared]
23
=> _contentTypeRegistry.GetContentType(
ContentTypeNames
.CSharpContentType);
RawStringLiteral\RawStringLiteralCommandHandler.cs (1)
18
[ContentType(
ContentTypeNames
.CSharpContentType)]
SplitStringLiteral\SplitStringLiteralCommandHandler.cs (1)
26
[ContentType(
ContentTypeNames
.CSharpContentType)]
StringCopyPaste\StringCopyPasteCommandHandler.cs (1)
49
[ContentType(
ContentTypeNames
.CSharpContentType)]
TextStructureNavigation\CSharpTextStructureNavigatorProvider.cs (1)
19
[ContentType(
ContentTypeNames
.CSharpContentType)]
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (13)
AutomaticCompletion\AutomaticLineEnderTests.cs (1)
3249
ContentTypeNames
.CSharpContentType,
BlockCommentEditing\BlockCommentEditingTests.cs (1)
732
=> Assert.IsType<BlockCommentEditingCommandHandler>(workspace.GetService<ICommandHandler>(
ContentTypeNames
.CSharpContentType, nameof(BlockCommentEditingCommandHandler)));
BlockCommentEditing\CloseBlockCommentTests.cs (1)
376
=> Assert.IsType<CloseBlockCommentCommandHandler>(workspace.GetService<ICommandHandler>(
ContentTypeNames
.CSharpContentType, nameof(CloseBlockCommentCommandHandler)));
ChangeSignature\RemoveParametersTests.cs (1)
374
var handler = workspace.ExportProvider.GetCommandHandler<CSharpChangeSignatureCommandHandler>(PredefinedCommandHandlerNames.ChangeSignature,
ContentTypeNames
.CSharpContentType);
DocumentationComments\DocumentationCommentTests.cs (1)
2405
return workspace.ExportProvider.GetCommandHandler<DocumentationCommentCommandHandler>(PredefinedCommandHandlerNames.DocumentationComments,
ContentTypeNames
.CSharpContentType);
DocumentationComments\XmlTagCompletionTests.cs (1)
260
=> workspace.ExportProvider.GetCommandHandler<XmlTagCompletionCommandHandler>(nameof(XmlTagCompletionCommandHandler),
ContentTypeNames
.CSharpContentType);
EncapsulateField\EncapsulateFieldCommandHandlerTests.cs (1)
206
var handler = workspace.ExportProvider.GetCommandHandler<EncapsulateFieldCommandHandler>(PredefinedCommandHandlerNames.EncapsulateField,
ContentTypeNames
.CSharpContentType);
EncapsulateField\EncapsulateFieldTestState.cs (1)
55
var commandHandler = Workspace.ExportProvider.GetCommandHandler<EncapsulateFieldCommandHandler>(PredefinedCommandHandlerNames.EncapsulateField,
ContentTypeNames
.CSharpContentType);
ExtractInterface\ExtractInterfaceTests.cs (1)
1443
var handler = workspace.ExportProvider.GetCommandHandler<ExtractInterfaceCommandHandler>(PredefinedCommandHandlerNames.ExtractInterface,
ContentTypeNames
.CSharpContentType);
ExtractMethod\ExtractMethodTests.cs (1)
11279
var handler = workspace.ExportProvider.GetCommandHandler<ExtractMethodCommandHandler>(PredefinedCommandHandlerNames.ExtractMethod,
ContentTypeNames
.CSharpContentType);
ExtractMethod\MiscTests.cs (1)
139
var handler = workspace.ExportProvider.GetCommandHandler<ExtractMethodCommandHandler>(PredefinedCommandHandlerNames.ExtractMethod,
ContentTypeNames
.CSharpContentType);
TextStructureNavigation\TextStructureNavigatorTests.cs (2)
23
protected override string ContentType =>
ContentTypeNames
.CSharpContentType;
469
workspace.GetService<ITextStructureNavigatorProvider>(
ContentTypeNames
.CSharpContentType));
Microsoft.CodeAnalysis.EditorFeatures (77)
AutomaticCompletion\BraceCompletionSessionProvider.cs (1)
28
[ContentType(
ContentTypeNames
.RoslynContentType)]
BraceMatching\BraceHighlightingViewTaggerProvider.cs (1)
32
[ContentType(
ContentTypeNames
.RoslynContentType)]
BracePairs\BracePairsTaggerProvider.cs (1)
34
[VisualStudio.Utilities.ContentType(
ContentTypeNames
.RoslynContentType)]
Classification\CopyPasteAndPrintingClassificationBufferTaggerProvider.cs (2)
28
[ContentType(
ContentTypeNames
.CSharpContentType)]
29
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
Classification\Semantic\EmbeddedLanguageClassificationViewTaggerProvider.cs (1)
22
[ContentType(
ContentTypeNames
.RoslynContentType)]
Classification\Semantic\SemanticClassificationViewTaggerProvider.cs (1)
24
[ContentType(
ContentTypeNames
.RoslynContentType)]
Classification\Syntactic\SyntacticClassificationTaggerProvider.cs (1)
23
[ContentType(
ContentTypeNames
.RoslynContentType)]
CodeDefinitionWindow\DefinitionContextTracker.cs (3)
40
[ContentType(
ContentTypeNames
.RoslynContentType)]
88
!textView.BufferGraph.GetTextBuffers(b => b.ContentType.IsOfType(
ContentTypeNames
.RoslynContentType)).Any())
113
var pointInRoslynSnapshot = caretPosition.Point.GetPoint(tb => tb.ContentType.IsOfType(
ContentTypeNames
.RoslynContentType), caretPosition.Affinity);
CommentSelection\CommentUncommentSelectionCommandHandler.cs (1)
30
[VisualStudio.Utilities.ContentType(
ContentTypeNames
.RoslynContentType)]
CommentSelection\ToggleBlockCommentCommandHandler.cs (1)
26
[VisualStudio.Utilities.ContentType(
ContentTypeNames
.RoslynContentType)]
CommentSelection\ToggleLineCommentCommandHandler.cs (1)
33
[VisualStudio.Utilities.ContentType(
ContentTypeNames
.RoslynContentType)]
Diagnostics\DiagnosticsClassificationTaggerProvider.cs (2)
31
[ContentType(
ContentTypeNames
.RoslynContentType)]
32
[ContentType(
ContentTypeNames
.XamlContentType)]
Diagnostics\DiagnosticsSquiggleTaggerProvider.cs (2)
26
[ContentType(
ContentTypeNames
.RoslynContentType)]
27
[ContentType(
ContentTypeNames
.XamlContentType)]
Diagnostics\DiagnosticsSuggestionTaggerProvider.cs (2)
25
[ContentType(
ContentTypeNames
.RoslynContentType)]
26
[ContentType(
ContentTypeNames
.XamlContentType)]
EditAndContinue\ActiveStatementTaggerProvider.cs (2)
35
[ContentType(
ContentTypeNames
.CSharpContentType)]
36
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
Editor\ContentTypeDefinitions.cs (1)
18
[Name(
ContentTypeNames
.RoslynContentType)]
Editor\GoToAdjacentMemberCommandHandler.cs (1)
28
[ContentType(
ContentTypeNames
.RoslynContentType)]
Editor\TextBufferAssociatedViewService.cs (4)
22
[ContentType(
ContentTypeNames
.RoslynContentType)]
23
[ContentType(
ContentTypeNames
.XamlContentType)]
91
return contentType.IsOfType(
ContentTypeNames
.RoslynContentType) ||
92
contentType.IsOfType(
ContentTypeNames
.XamlContentType);
ExternalAccess\VSTypeScript\VSTypeScriptInProcLanguageClient.cs (2)
31
[ContentType(
ContentTypeNames
.TypeScriptContentTypeName)]
32
[ContentType(
ContentTypeNames
.JavaScriptContentTypeName)]
ExtractMethod\ExtractMethodCommandHandler.cs (2)
40
[ContentType(
ContentTypeNames
.CSharpContentType)]
41
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
FindReferences\FindReferencesCommandHandler.cs (1)
30
[ContentType(
ContentTypeNames
.RoslynContentType)]
Formatting\FormatCommandHandler.cs (1)
34
[ContentType(
ContentTypeNames
.RoslynContentType)]
GoToBase\GoToBaseCommandHandler.cs (1)
26
[ContentType(
ContentTypeNames
.RoslynContentType)]
GoToDefinition\GoToDefinitionCommandHandler.cs (1)
29
[ContentType(
ContentTypeNames
.RoslynContentType)]
GoToImplementation\GoToImplementationCommandHandler.cs (1)
26
[ContentType(
ContentTypeNames
.RoslynContentType)]
InlineHints\InlineHintsDataTaggerProvider.cs (1)
34
[VSUtilities.ContentType(
ContentTypeNames
.RoslynContentType)]
InlineRename\Taggers\RenameClassificationTaggerProvider.cs (1)
18
[ContentType(
ContentTypeNames
.RoslynContentType)]
InlineRename\Taggers\RenameTaggerProvider.cs (2)
17
[ContentType(
ContentTypeNames
.RoslynContentType)]
18
[ContentType(
ContentTypeNames
.XamlContentType)]
IntelliSense\AsyncCompletion\CommitManagerProvider.cs (1)
19
[ContentType(
ContentTypeNames
.RoslynContentType)]
IntelliSense\AsyncCompletion\CompletionSourceProvider.cs (1)
21
[ContentType(
ContentTypeNames
.RoslynContentType)]
IntelliSense\AsyncCompletion\ItemManagerProvider.cs (1)
18
[ContentType(
ContentTypeNames
.RoslynContentType)]
IntelliSense\QuickInfo\QuickInfoSourceProvider.cs (1)
22
[ContentType(
ContentTypeNames
.RoslynContentType)]
Interactive\CommandHandlers\ExecuteInInteractiveCommandHandler.cs (1)
28
[ContentType(
ContentTypeNames
.RoslynContentType)]
KeywordHighlighting\HighlighterViewTaggerProvider.cs (2)
34
[ContentType(
ContentTypeNames
.CSharpContentType)]
35
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
LanguageServer\AlwaysActivateInProcLanguageClient.cs (3)
31
[ContentType(
ContentTypeNames
.CSharpContentType)]
32
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
33
[ContentType(
ContentTypeNames
.FSharpContentType)]
LanguageServer\AlwaysActiveLanguageClientEventListener.cs (3)
69
ContentTypeNames
.CSharpContentType,
70
ContentTypeNames
.VisualBasicContentType,
71
ContentTypeNames
.FSharpContentType
LanguageServer\LiveShareInProcLanguageClient.cs (2)
25
[ContentType(
ContentTypeNames
.CSharpContentType)]
26
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
LanguageServer\RazorInProcLanguageClient.cs (1)
36
[ContentType(
ContentTypeNames
.CSharpContentType)]
Organizing\OrganizeDocumentCommandHandler.cs (3)
31
[ContentType(
ContentTypeNames
.CSharpContentType)]
32
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
33
[ContentType(
ContentTypeNames
.XamlContentType)]
PasteTracking\PasteTrackingPasteCommandHandler.cs (1)
20
[ContentType(
ContentTypeNames
.RoslynContentType)]
ReferenceHighlighting\NavigateToHighlightReferenceCommandHandler.cs (1)
28
[ContentType(
ContentTypeNames
.RoslynContentType)]
ReferenceHighlighting\ReferenceHighlightingViewTaggerProvider.cs (4)
37
[ContentType(
ContentTypeNames
.RoslynContentType)]
38
[ContentType(
ContentTypeNames
.XamlContentType)]
227
return contentType.IsOfType(
ContentTypeNames
.RoslynContentType) ||
228
contentType.IsOfType(
ContentTypeNames
.XamlContentType);
RenameTracking\RenameTrackingCancellationCommandHandler.cs (2)
19
[ContentType(
ContentTypeNames
.RoslynContentType)]
20
[ContentType(
ContentTypeNames
.XamlContentType)]
RenameTracking\RenameTrackingTaggerProvider.cs (2)
38
[ContentType(
ContentTypeNames
.RoslynContentType)]
39
[ContentType(
ContentTypeNames
.XamlContentType)]
Shared\Extensions\ITextViewExtensions.cs (1)
73
public static ITextBuffer? GetBufferContainingCaret(this ITextView textView, string contentType =
ContentTypeNames
.RoslynContentType)
SmartIndent\SmartIndentProvider.cs (2)
15
[ContentType(
ContentTypeNames
.CSharpContentType)]
16
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
SpellCheck\RoslynSpellCheckFixerProvider.cs (1)
25
[ContentType(
ContentTypeNames
.RoslynContentType)]
SplitComment\SplitCommentCommandHandler.cs (1)
30
[ContentType(
ContentTypeNames
.RoslynContentType)]
Structure\OutliningCommandHandler.cs (1)
16
[ContentType(
ContentTypeNames
.RoslynContentType)]
TypeForwarders.cs (1)
10
[assembly: TypeForwardedTo(typeof(Microsoft.CodeAnalysis.Editor.
ContentTypeNames
))]
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (19)
CommandHandlers\GoToMatchingBraceCommandHandler.cs (1)
23
[ContentType(
ContentTypeNames
.RoslynContentType)]
NavigableSymbolService.cs (1)
20
[ContentType(
ContentTypeNames
.RoslynContentType)]
NavigationCommandHandlers\FindBaseSymbolsCommandHandler.cs (1)
26
[ContentType(
ContentTypeNames
.RoslynContentType)]
NavigationCommandHandlers\FindDerivedSymbolsCommandHandler.cs (1)
27
[ContentType(
ContentTypeNames
.RoslynContentType)]
NavigationCommandHandlers\FindExtensionMethodsCommandHandler.cs (1)
30
[ContentType(
ContentTypeNames
.RoslynContentType)]
NavigationCommandHandlers\FindImplementingMembersCommandHandler.cs (1)
28
[ContentType(
ContentTypeNames
.RoslynContentType)]
NavigationCommandHandlers\FindMemberOverloadsCommandHandler.cs (1)
25
[ContentType(
ContentTypeNames
.RoslynContentType)]
NavigationCommandHandlers\FindReferencesOfOverloadsCommandHandler.cs (1)
31
[ContentType(
ContentTypeNames
.RoslynContentType)]
RenameCommandHandler.cs (2)
24
[ContentType(
ContentTypeNames
.RoslynContentType)]
25
[ContentType(
ContentTypeNames
.XamlContentType)]
SignatureHelpAfterCompletionCommandHandler.cs (1)
38
[ContentType(
ContentTypeNames
.RoslynContentType)]
SignatureHelpBeforeCompletionCommandHandler.cs (1)
38
[ContentType(
ContentTypeNames
.RoslynContentType)]
SignatureHelpClassifierProvider.cs (2)
18
[ContentType(
ContentTypeNames
.CSharpSignatureHelpContentType)]
19
[ContentType(
ContentTypeNames
.VisualBasicSignatureHelpContentType)]
SignatureHelpPresenter.cs (1)
22
[ContentType(
ContentTypeNames
.RoslynContentType)]
Snippets\CSharpSnippets\SnippetCommandHandler.cs (1)
30
[ContentType(CodeAnalysis.Editor.
ContentTypeNames
.CSharpContentType)]
Structure\StructureTaggerProvider.cs (1)
21
[ContentType(
ContentTypeNames
.RoslynContentType)]
SuggestedActionsSourceProvider.cs (2)
30
[ContentType(
ContentTypeNames
.RoslynContentType)]
31
[ContentType(
ContentTypeNames
.XamlContentType)]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
CommentSelection\AbstractToggleCommentTestBase.cs (1)
64
var originalSubjectBuffer = GetBufferForContentType(
ContentTypeNames
.CSharpContentType, textView);
Workspaces\NoCompilationContentTypeDefinitions.cs (1)
19
[BaseDefinition(
ContentTypeNames
.RoslynContentType)]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (2)
Intellisense\MockCompletionPresenterProvider.vb (1)
16
<ContentType(
ContentTypeNames
.RoslynContentType)>
Intellisense\TestSignatureHelpPresenter.vb (1)
17
<ContentType(
ContentTypeNames
.RoslynContentType)>
Microsoft.CodeAnalysis.EditorFeatures.Text (2)
Implementation\TextBufferFactoryService\ITextBufferCloneService.cs (1)
29
/// get new <see cref="ITextBuffer"/> from <see cref="SourceText"/> with <see cref="
ContentTypeNames
.RoslynContentType"/>
Implementation\TextBufferFactoryService\TextBufferCloneServiceFactory.cs (1)
29
_roslynContentType = contentTypeRegistryService.GetContentType(
ContentTypeNames
.RoslynContentType);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Preview\PreviewWorkspaceTests.cs (2)
187
var leftBuffer = diffView.Viewer.LeftView.BufferGraph.GetTextBuffers(t => t.ContentType.IsOfType(
ContentTypeNames
.CSharpContentType)).First();
188
var rightBuffer = diffView.Viewer.RightView.BufferGraph.GetTextBuffers(t => t.ContentType.IsOfType(
ContentTypeNames
.CSharpContentType)).First();
TextEditor\TextBufferAssociatedViewServiceTests.cs (1)
29
contentType.Setup(c => c.IsOfType(
ContentTypeNames
.RoslynContentType)).Returns(true);
Microsoft.CodeAnalysis.EditorFeatures.Wpf (42)
InlineDiagnostics\InlineDiagnosticsAdornmentManagerProvider.cs (2)
20
[ContentType(
ContentTypeNames
.RoslynContentType)]
30
[ContentType(
ContentTypeNames
.RoslynContentType)]
InlineDiagnostics\InlineDiagnosticsTaggerProvider.cs (1)
30
[ContentType(
ContentTypeNames
.RoslynContentType)]
InlineHints\InlineHintsKeyProcessorProvider.cs (1)
22
[ContentType(
ContentTypeNames
.RoslynContentType)]
InlineHints\InlineHintsTaggerProvider.cs (1)
27
[ContentType(
ContentTypeNames
.RoslynContentType)]
InlineRename\CommandHandlers\RenameCommandHandler.cs (2)
24
[ContentType(
ContentTypeNames
.RoslynContentType)]
25
[ContentType(
ContentTypeNames
.XamlContentType)]
InlineRename\UI\InlineRenameAdornmentProvider.cs (3)
22
[ContentType(
ContentTypeNames
.RoslynContentType)]
23
[ContentType(
ContentTypeNames
.XamlContentType)]
76
if (textView.BufferGraph.GetTextBuffers(b => b.ContentType.IsOfType(
ContentTypeNames
.RoslynContentType)).Any())
Interactive\InteractivePasteCommandHandler.cs (1)
31
[ContentType(
ContentTypeNames
.RoslynContentType)]
LineSeparators\LineSeparatorAdornmentManagerProvider.cs (2)
23
[ContentType(
ContentTypeNames
.RoslynContentType)]
32
[ContentType(
ContentTypeNames
.RoslynContentType)]
LineSeparators\LineSeparatorTaggerProvider.cs (2)
41
[ContentType(
ContentTypeNames
.CSharpContentType)]
42
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
NavigableSymbols\NavigableSymbolService.cs (1)
20
[ContentType(
ContentTypeNames
.RoslynContentType)]
Peek\PeekableItemSourceProvider.cs (1)
17
[ContentType(
ContentTypeNames
.RoslynContentType)]
Preview\PreviewConflictViewTaggerProvider.cs (2)
20
[ContentType(
ContentTypeNames
.RoslynContentType)]
21
[ContentType(
ContentTypeNames
.XamlContentType)]
Preview\PreviewReferenceHighlightingTaggerProvider.cs (6)
25
[ContentType(
ContentTypeNames
.RoslynContentType)]
26
[ContentType(
ContentTypeNames
.XamlContentType)]
41
[ContentType(
ContentTypeNames
.RoslynContentType)]
42
[ContentType(
ContentTypeNames
.XamlContentType)]
57
[ContentType(
ContentTypeNames
.RoslynContentType)]
58
[ContentType(
ContentTypeNames
.XamlContentType)]
Preview\PreviewStaticClassificationTaggerProvider.cs (2)
31
[ContentType(
ContentTypeNames
.RoslynContentType)]
32
[ContentType(
ContentTypeNames
.XamlContentType)]
Preview\PreviewWarningViewTaggerProvider.cs (2)
21
[ContentType(
ContentTypeNames
.RoslynContentType)]
22
[ContentType(
ContentTypeNames
.XamlContentType)]
QuickInfo\Extensions.cs (1)
19
/// with <see cref="
ContentTypeNames
.RoslynContentType"/>
SignatureHelp\Presentation\SignatureHelpClassifierProvider.cs (2)
18
[ContentType(
ContentTypeNames
.CSharpSignatureHelpContentType)]
19
[ContentType(
ContentTypeNames
.VisualBasicSignatureHelpContentType)]
SignatureHelp\Presentation\SignatureHelpPresenter.cs (1)
22
[ContentType(
ContentTypeNames
.RoslynContentType)]
SignatureHelp\SignatureHelpAfterCompletionCommandHandler.cs (1)
38
[ContentType(
ContentTypeNames
.RoslynContentType)]
SignatureHelp\SignatureHelpBeforeCompletionCommandHandler.cs (1)
38
[ContentType(
ContentTypeNames
.RoslynContentType)]
StringIndentation\StringIndentationAdornmentManagerProvider.cs (2)
23
[ContentType(
ContentTypeNames
.RoslynContentType)]
32
[ContentType(
ContentTypeNames
.RoslynContentType)]
StringIndentation\StringIndentationTaggerProvider.cs (2)
37
[VisualStudio.Utilities.ContentType(
ContentTypeNames
.CSharpContentType)]
38
[VisualStudio.Utilities.ContentType(
ContentTypeNames
.VisualBasicContentType)]
Structure\StructureTaggerProvider.cs (1)
27
[ContentType(
ContentTypeNames
.RoslynContentType)]
Suggestions\SuggestedActionsSourceProvider.cs (2)
30
[ContentType(
ContentTypeNames
.RoslynContentType)]
31
[ContentType(
ContentTypeNames
.XamlContentType)]
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (3)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (1)
4363
Dim contentType = contentTypeService.GetContentType(
ContentTypeNames
.CSharpContentType)
IntelliSense\CSharpCompletionCommandHandlerTests_DefaultsSource.vb (1)
290
<VisualStudio.Utilities.ContentType(
ContentTypeNames
.RoslynContentType)>
IntelliSense\CSharpCompletionCommandHandlerTests_HandleNonRoslynCompletionSources.vb (1)
72
<VisualStudio.Utilities.ContentType(
ContentTypeNames
.RoslynContentType)>
Microsoft.CodeAnalysis.ExternalAccess.FSharp (4)
Editor\FSharpContentTypeNames.cs (3)
11
public const string RoslynContentType = Microsoft.CodeAnalysis.Editor.
ContentTypeNames
.RoslynContentType;
12
public const string FSharpContentType = CodeAnalysis.Editor.
ContentTypeNames
.FSharpContentType;
13
public const string FSharpSignatureHelpContentType = CodeAnalysis.Editor.
ContentTypeNames
.FSharpSignatureHelpContentType;
Internal\Editor\FSharpSmartIndentProvider.cs (1)
28
[ContentType(
ContentTypeNames
.FSharpContentType)]
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (24)
AddImports\VisualBasicAddImportsOnPasteCommandHandler.vb (1)
16
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
AutomaticCompletion\AutomaticLineEnderCommandHandler.vb (1)
24
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
AutomaticEndConstructCorrection\ViewCreationListener.vb (3)
18
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
43
Dim vbBuffers = subjectBuffers.Where(Function(b) b.ContentType.IsOfType(
ContentTypeNames
.VisualBasicContentType))
48
Dim vbBuffers = subjectBuffers.Where(Function(b) b.ContentType.IsOfType(
ContentTypeNames
.VisualBasicContentType))
ChangeSignature\VisualBasicChangeSignatureCommandHandler.vb (1)
15
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
ContentType\ContentTypeDefinitions.vb (3)
19
<Name(
ContentTypeNames
.VisualBasicContentType)>
20
<BaseDefinition(
ContentTypeNames
.RoslynContentType)>
25
<Name(
ContentTypeNames
.VisualBasicSignatureHelpContentType)>
DocumentationComments\DocumentationCommentCommandHandler.vb (1)
18
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
DocumentationComments\XmlTagCompletionCommandHandler.vb (1)
19
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
EncapsulateField\EncapsulateFieldCommandHandler.vb (1)
18
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
EndConstructGeneration\EndConstructCommandHandler.vb (1)
26
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
ExtractInterface\ExtractInterfaceCommandHandler.vb (1)
16
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
ImplementAbstractClass\ImplementAbstractClassCommandHandler.vb (1)
20
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
ImplementInterface\ImplementInterfaceCommandHandler.vb (1)
20
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
LanguageServices\VisualBasicContentTypeLanguageService.vb (2)
10
<ExportContentTypeLanguageService(
ContentTypeNames
.VisualBasicContentType, LanguageNames.VisualBasic), [Shared]>
23
Return Me._contentTypeRegistry.GetContentType(
ContentTypeNames
.VisualBasicContentType)
LineCommit\CommitCommandHandler.vb (1)
31
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
LineCommit\CommitConnectionListener.vb (2)
16
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
55
If Not view.BufferGraph.GetTextBuffers(Function(b) b.ContentType.IsOfType(
ContentTypeNames
.VisualBasicContentType)).Any() Then
LineCommit\CommitViewManager.vb (2)
107
Function(b) b.ContentType.IsOfType(
ContentTypeNames
.VisualBasicContentType),
123
For Each buffer In _view.BufferGraph.GetTextBuffers(Function(b) b.ContentType.IsOfType(
ContentTypeNames
.VisualBasicContentType))
TextStructureNavigation\VisualBasicTextStructureNavigatorProvider.vb (1)
16
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (5)
AutomaticCompletion\AutomaticLineEnderTests.vb (1)
274
ContentTypeNames
.VisualBasicContentType,
DocumentationComments\DocumentationCommentTests.vb (1)
1235
Return workspace.ExportProvider.GetCommandHandler(Of DocumentationCommentCommandHandler)(PredefinedCommandHandlerNames.DocumentationComments,
ContentTypeNames
.VisualBasicContentType)
DocumentationComments\XmlTagCompletionTests.vb (1)
18
Return testWorkspace.ExportProvider.GetCommandHandler(Of XmlTagCompletionCommandHandler)("XmlTagCompletionCommandHandler",
ContentTypeNames
.VisualBasicContentType)
ExtractMethod\ExtractMethodTests.LanguageInteraction.vb (1)
3391
Dim handler = workspace.ExportProvider.GetCommandHandler(Of ExtractMethodCommandHandler)(PredefinedCommandHandlerNames.ExtractMethod,
ContentTypeNames
.VisualBasicContentType)
TextStructureNavigation\TextStructureNavigatorTests.vb (1)
14
Protected Overrides ReadOnly Property ContentType As String =
ContentTypeNames
.VisualBasicContentType
Microsoft.VisualStudio.LanguageServices (16)
CallHierarchy\CallHierarchyCommandHandler.cs (2)
31
[ContentType(
ContentTypeNames
.CSharpContentType)]
32
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
CodeLens\CodeLensCallbackListener.cs (2)
32
[ContentType(
ContentTypeNames
.CSharpContentType)]
33
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
HACK_ThemeColorFixer.cs (1)
30
[ContentType(
ContentTypeNames
.RoslynContentType)]
InheritanceMargin\InheritanceGlyphFactoryProvider.cs (1)
24
[ContentType(
ContentTypeNames
.RoslynContentType)]
InheritanceMargin\InheritanceMarginTaggerProvider.cs (1)
36
[ContentType(
ContentTypeNames
.RoslynContentType)]
InheritanceMargin\InheritanceMarginViewMarginProvider.cs (2)
24
[ContentType(
ContentTypeNames
.CSharpContentType)]
25
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
Interactive\CSharpResetInteractiveMenuCommand.cs (1)
24
: base(
ContentTypeNames
.CSharpContentType, menuCommandService, monitorSelection, componentModel, threadingContext)
Interactive\ScriptingOleCommandTarget.cs (1)
30
var result = WpfTextView.GetBufferContainingCaret(contentType:
ContentTypeNames
.RoslynContentType);
Interactive\VisualBasicResetInteractiveMenuCommand.cs (1)
24
: base(
ContentTypeNames
.VisualBasicContentType, menuCommandService, monitorSelection, componentModel, threadingContext)
Preview\Tagging\PreviewTaggerProvider.cs (2)
21
[ContentType(
ContentTypeNames
.RoslynContentType)]
22
[ContentType(
ContentTypeNames
.XamlContentType)]
ValueTracking\ValueTrackingCommandHandler.cs (1)
36
[ContentType(
ContentTypeNames
.RoslynContentType)]
Workspace\VisualStudioActiveDocumentTracker.cs (1)
239
if (TextBuffer != null && !TextBuffer.ContentType.IsOfType(
ContentTypeNames
.RoslynContentType))
Microsoft.VisualStudio.LanguageServices.CodeLens (2)
ReferenceCodeLensProvider.cs (2)
29
[ContentType(
ContentTypeNames
.CSharpContentType)]
30
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
Microsoft.VisualStudio.LanguageServices.CSharp (13)
Interactive\CSharpInteractiveCommandHandler.cs (1)
21
[ExportInteractive(typeof(IExecuteInInteractiveCommandHandler),
ContentTypeNames
.CSharpContentType)]
Interactive\CSharpVsInteractiveWindowCommandProvider.cs (1)
21
[ContentType(
ContentTypeNames
.CSharpContentType)]
Interactive\CSharpVsInteractiveWindowProvider.cs (1)
75
contentTypeRegistry.GetContentType(
ContentTypeNames
.CSharpContentType),
Interactive\CSharpVsResetInteractiveCommand.cs (1)
16
[ExportInteractive(typeof(IResetInteractiveCommand),
ContentTypeNames
.CSharpContentType)]
LanguageService\CSharpCodeCleanupFixer.cs (1)
19
[ContentType(
ContentTypeNames
.CSharpContentType)]
LanguageService\CSharpCodeCleanupFixerProvider.cs (1)
18
[ContentType(
ContentTypeNames
.CSharpContentType)]
LanguageService\CSharpCreateServicesOnTextViewConnection.cs (1)
25
[ContentType(
ContentTypeNames
.CSharpContentType)]
LanguageService\CSharpDebuggerIntelliSenseContext.cs (2)
44
componentModel.GetService<IContentTypeRegistryService>().GetContentType(
ContentTypeNames
.CSharpContentType))
59
componentModel.GetService<IContentTypeRegistryService>().GetContentType(
ContentTypeNames
.CSharpContentType),
LanguageService\CSharpEditorFactory.cs (1)
29
protected override string ContentTypeName =>
ContentTypeNames
.CSharpContentType;
LanguageService\CSharpLanguageService.cs (1)
46
return
ContentTypeNames
.CSharpContentType;
ObjectBrowser\CSharpSyncClassViewCommandHandler.cs (1)
19
[ContentType(
ContentTypeNames
.CSharpContentType)]
Snippets\SnippetCommandHandler.cs (1)
37
[ContentType(Microsoft.CodeAnalysis.Editor.
ContentTypeNames
.CSharpContentType)]
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\AbstractOptionPreviewViewModel.cs (1)
68
_contentType = _contentTypeRegistryService.GetContentType(
ContentTypeNames
.CSharpContentType);
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Client\Razor\CSharpLspContainedLanguageProvider.cs (1)
37
=> _contentTypeRegistry.GetContentType(
ContentTypeNames
.CSharpContentType);
Microsoft.VisualStudio.LanguageServices.VisualBasic (9)
LanguageService\VisualBasicCodeCleanupFixer.vb (1)
18
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
LanguageService\VisualBasicCodeCleanupFixerProvider.vb (1)
15
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
LanguageService\VisualBasicCreateServicesOnTextViewConnection.vb (1)
18
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
LanguageService\VisualBasicDebuggerIntelliSenseContext.vb (2)
42
componentModel.GetService(Of IContentTypeRegistryService).GetContentType(
ContentTypeNames
.VisualBasicContentType))
57
componentModel.GetService(Of IContentTypeRegistryService).GetContentType(
ContentTypeNames
.VisualBasicContentType),
LanguageService\VisualBasicEditorFactory.vb (1)
23
Protected Overrides ReadOnly Property ContentTypeName As String =
ContentTypeNames
.VisualBasicContentType
LanguageService\VisualBasicLanguageService.vb (1)
41
Return
ContentTypeNames
.VisualBasicContentType
ObjectBrowser\VisualBasicSyncClassViewCommandHandler.vb (1)
15
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
Snippets\SnippetCommandHandler.vb (1)
33
<ContentType(
ContentTypeNames
.VisualBasicContentType)>
Microsoft.VisualStudio.LanguageServices.Xaml (8)
Features\XamlContentTypeLanguageService.cs (1)
14
[ExportContentTypeLanguageService(
ContentTypeNames
.XamlContentType, StringConstants.XamlLanguageName), Shared]
Implementation\LanguageClient\XamlInProcLanguageClient.cs (1)
35
[ContentType(
ContentTypeNames
.XamlContentType)]
Implementation\LanguageClient\XamlInProcLanguageClientDisableUX.cs (1)
32
[ContentType(
ContentTypeNames
.XamlContentType)]
Implementation\XamlOleCommandTarget.cs (1)
28
return this.WpfTextView.GetBufferContainingCaret(contentType:
ContentTypeNames
.XamlContentType);
Implementation\XamlProjectService.cs (1)
240
var isXaml = buffer?.ContentType.IsOfType(
ContentTypeNames
.XamlContentType) == true;
Implementation\XamlTextViewCreationListener.cs (1)
20
[ContentType(
ContentTypeNames
.XamlContentType)]
XamlStaticTypeDefinitions.cs (2)
19
[Name(
ContentTypeNames
.XamlContentType)]
26
[ContentType(
ContentTypeNames
.XamlContentType)]