41 writes to AllowDefault
Microsoft.Cci.Extensions (1)
Differs\Rules\TokenListDiffer.cs (1)
18[Import(AllowDefault = true)]
Microsoft.CodeAnalysis.CSharp.Features (2)
ExternalAccess\Pythia\PythiaDeclarationNameRecommender.cs (1)
22internal sealed class PythiaDeclarationNameRecommender([Import(AllowDefault = true)] Lazy<IPythiaDeclarationNameRecommenderImplementation>? implementation) : IDeclarationNameRecommender
MoveToNamespace\CSharpMoveToNamespaceService.cs (1)
17[Import(AllowDefault = true)] IMoveToNamespaceOptionsService optionsService) :
Microsoft.CodeAnalysis.EditorFeatures (2)
ExternalAccess\VSTypeScript\VSTypeScriptEditorInlineRenameService.cs (1)
22[Import(AllowDefault = true)] Lazy<VSTypeScriptEditorInlineRenameServiceImplementation>? service) : IEditorInlineRenameService
Tagging\TaggerHost.cs (1)
21[Import(AllowDefault = true)] ITextBufferVisibilityTracker? visibilityTracker,
Microsoft.CodeAnalysis.ExternalAccess.Apex (1)
ApexAsynchronousOperationListenerProviderAccessor.cs (1)
25[Import(AllowDefault = true)] VisualStudioWorkspace? workspace)
Microsoft.CodeAnalysis.ExternalAccess.Copilot (5)
Internal\Analyzer\CSharp\CSharpCopilotCodeAnalysisService.cs (4)
37[Import(AllowDefault = true)] IExternalCSharpCopilotCodeAnalysisService? externalCopilotService, 38[Import(AllowDefault = true)] IExternalCSharpCopilotGenerateDocumentationService? externalCSharpCopilotGenerateDocumentationService, 39[Import(AllowDefault = true)] IExternalCSharpOnTheFlyDocsService? externalCSharpOnTheFlyDocsService, 40[Import(AllowDefault = true)] IExternalCSharpCopilotGenerateImplementationService? externalCSharpCopilotGenerateImplementationService,
Internal\SemanticSearch\SemanticSearchCopilotServiceWrapper.cs (1)
19[Import(AllowDefault = true)] Lazy<ISemanticSearchCopilotServiceImpl>? impl) : ISemanticSearchCopilotService
Microsoft.CodeAnalysis.ExternalAccess.FSharp (7)
Internal\Editor\FSharpEditorInlineRenameService.cs (2)
196[Import(AllowDefault = true)] IFSharpEditorInlineRenameService? legacyService, 197[Import(AllowDefault = true)] FSharpInlineRenameServiceImplementation? service)
Internal\InlineHints\FSharpInlineHintsService.cs (1)
25[Import(AllowDefault = true)] IFSharpInlineHintsService? service)
Internal\Navigation\FSharpCrossLanguageSymbolNavigationService.cs (1)
28[Import(AllowDefault = true)] IFSharpCrossLanguageSymbolNavigationService underlyingService)
Internal\SignatureHelp\FSharpSignatureHelpProvider.cs (2)
29[Import(AllowDefault = true)] IFSharpSignatureHelpProvider? legacyProvider, 30[Import(AllowDefault = true)] AbstractFSharpSignatureHelpProvider? newProvider)
TaskList\FSharpTaskListService.cs (1)
23public FSharpTaskListService([Import(AllowDefault = true)] IFSharpTaskListService impl)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (3)
Cohost\RazorConfigurationChangedServiceFactory.cs (1)
19[Import(AllowDefault = true)] Lazy<ICohostConfigurationChangedService>? cohostConfigurationChangedService) : ILspServiceFactory
Cohost\RazorStartupServiceFactory.cs (2)
24[Import(AllowDefault = true)] IUIContextActivationService? uIContextActivationService, 25[Import(AllowDefault = true)] Lazy<ICohostStartupService>? cohostStartupService) : ILspServiceFactory
Microsoft.CodeAnalysis.ExternalAccess.Xaml (3)
Internal\OnInitializedServiceFactory.cs (2)
26[Import(AllowDefault = true)] IInitializationService? initializationService, 27[Import(AllowDefault = true)] IOnInitializedService? onInitializedService)
Internal\XamlDiagnosticSourceProvider.cs (1)
20internal sealed class XamlDiagnosticSourceProvider([Import(AllowDefault = true)] IXamlDiagnosticSource? xamlDiagnosticSource) : IDiagnosticSourceProvider
Microsoft.CodeAnalysis.Features (11)
Diagnostics\Service\DiagnosticAnalyzerService.cs (1)
29[Import(AllowDefault = true)] IAsynchronousOperationListenerProvider? listenerProvider) : IWorkspaceServiceFactory
EditAndContinue\EditAndContinueService.cs (2)
34[Import(AllowDefault = true)] IEditAndContinueSessionTracker? sessionTracker = null) : IEditAndContinueWorkspaceService 64[Import(AllowDefault = true)] IEditAndContinueLogReporter? logReporter)
ExternalAccess\VSTypeScript\VSTypeScriptFormattingService.cs (1)
20internal sealed class VSTypeScriptFormattingService([Import(AllowDefault = true)] IVSTypeScriptFormattingServiceImplementation impl) : IFormattingService
ExternalAccess\VSTypeScript\VSTypeScriptNavigateToSearchService.cs (1)
26[Import(AllowDefault = true)] IVSTypeScriptNavigateToSearchService? searchService) : INavigateToSearchService
ExternalAccess\VSTypeScript\VSTypeScriptTaskListService.cs (1)
20internal sealed class VSTypeScriptTaskListService([Import(AllowDefault = true)] IVSTypeScriptTaskListServiceImplementation impl) : ITaskListService
PdbSourceDocument\PdbFileLocatorService.cs (2)
22[Import(AllowDefault = true)] ISourceLinkService? sourceLinkService, 23[Import(AllowDefault = true)] IPdbSourceDocumentLogger? logger) : IPdbFileLocatorService
PdbSourceDocument\PdbSourceDocumentLoaderService.cs (2)
24[Import(AllowDefault = true)] Lazy<ISourceLinkService>? sourceLinkService, 25[Import(AllowDefault = true)] IPdbSourceDocumentLogger? logger) : IPdbSourceDocumentLoaderService
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (1)
38[Import(AllowDefault = true)] IPdbSourceDocumentLogger? logger) : IMetadataAsSourceFileProvider
Microsoft.CodeAnalysis.Workspaces (1)
TemporaryStorage\TemporaryStorageService.Factory.cs (1)
19[Import(AllowDefault = true)] IWorkspaceThreadingService? workspaceThreadingService) : IWorkspaceServiceFactory
Microsoft.VisualStudio.LanguageServices (4)
Packaging\PackageInstallerServiceFactory.cs (3)
106[Import(AllowDefault = true)] Lazy<IVsPackageInstaller2>? packageInstaller, 107[Import(AllowDefault = true)] Lazy<IVsPackageUninstaller>? packageUninstaller, 108[Import(AllowDefault = true)] Lazy<IVsPackageSourceProvider>? packageSourceProvider)
PdbSourceDocument\SourceLinkService.cs (1)
28[Import(AllowDefault = true)] IPdbSourceDocumentLogger? logger)
System.Composition.Convention (1)
System\Composition\Convention\ImportConventionBuilder.cs (1)
140AllowDefault = _allowDefault
1 reference to AllowDefault
System.Composition.TypedParts (1)
System\Composition\TypedParts\ContractHelpers.cs (1)
42allowDefault = ia.AllowDefault;