1 implementation of ITypeResolutionService
System.Windows.Forms (1)
System\Resources\AssemblyNamesTypeResolutionService.cs (1)
10
internal class AssemblyNamesTypeResolutionService :
ITypeResolutionService
47 references to ITypeResolutionService
netstandard (1)
netstandard.cs (1)
273
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.
ITypeResolutionService
))]
System (1)
src\runtime\src\libraries\shims\System\ref\System.cs (1)
259
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.
ITypeResolutionService
))]
System.ComponentModel.TypeConverter (6)
System\ComponentModel\LicFileLicenseProvider.cs (3)
70
ITypeResolutionService
? resolver = (
ITypeResolutionService
?)context.GetService(typeof(
ITypeResolutionService
));
System\ComponentModel\TypeDescriptor.cs (3)
2554
ITypeResolutionService
? typeResolutionService = (
ITypeResolutionService
?)site?.GetService(typeof(
ITypeResolutionService
));
System.Windows.Forms (18)
System\Resources\ResXDataNode.cs (5)
325
private object? GenerateObjectFromDataNodeInfo(DataNodeInfo dataNodeInfo,
ITypeResolutionService
? typeResolver)
414
private object? GenerateObjectFromBinaryDataNodeInfo(DataNodeInfo dataNodeInfo,
ITypeResolutionService
? typeResolver)
517
public string? GetValueTypeName(
ITypeResolutionService
? typeResolver)
600
public object? GetValue(
ITypeResolutionService
? typeResolver)
664
private static Type? ResolveType(string typeName,
ITypeResolutionService
? typeResolver)
System\Resources\ResXResourceReader.cs (10)
25
private readonly
ITypeResolutionService
? _typeResolver;
38
private ResXResourceReader(
ITypeResolutionService
? typeResolver)
54
public ResXResourceReader(string fileName,
ITypeResolutionService
? typeResolver)
59
internal ResXResourceReader(string fileName,
ITypeResolutionService
? typeResolver, IAliasResolver? aliasResolver)
70
public ResXResourceReader(TextReader reader,
ITypeResolutionService
typeResolver)
75
internal ResXResourceReader(TextReader reader,
ITypeResolutionService
? typeResolver, IAliasResolver? aliasResolver)
86
public ResXResourceReader(Stream stream,
ITypeResolutionService
typeResolver)
91
internal ResXResourceReader(Stream stream,
ITypeResolutionService
? typeResolver, IAliasResolver? aliasResolver)
282
=> FromFileContents(fileContents, (
ITypeResolutionService
?)null);
287
public static ResXResourceReader FromFileContents(string fileContents,
ITypeResolutionService
? typeResolver)
System\Resources\ResXSerializationBinder.cs (3)
21
private readonly
ITypeResolutionService
? _typeResolver;
26
/// <see cref="
ITypeResolutionService
.GetType(string)"/> is called by this binder.
28
internal ResXSerializationBinder(
ITypeResolutionService
? typeResolver) => _typeResolver = typeResolver;
System.Windows.Forms.Design (21)
System\ComponentModel\Design\DesignerHost.cs (1)
1033
if (this.TryGetService(out
ITypeResolutionService
? ts))
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.LocalDesignerSerializationManager.cs (1)
44
private bool TypeResolutionAvailable => _typeSvcAvailable ??= GetService(typeof(
ITypeResolutionService
)) is not null;
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (3)
63
protected abstract
ITypeResolutionService
? TypeResolutionService { get; }
105
host.RemoveService<
ITypeResolutionService
>();
594
if (!TryGetService(out
ITypeResolutionService
? typeResolutionService))
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (3)
18
private
ITypeResolutionService
? _typeResolver;
571
_typeResolver = GetService(typeof(
ITypeResolutionService
)) as
ITypeResolutionService
;
System\Drawing\Design\ToolboxItem.cs (1)
452
if (host.TryGetService(out
ITypeResolutionService
? ts))
System\Windows\Forms\Design\ComponentTray.cs (3)
776
ITypeResolutionService
tr = (
ITypeResolutionService
)GetService(typeof(
ITypeResolutionService
));
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
202
public static ComponentDesigner? GetComponentDesignerForType(
ITypeResolutionService
? typeResolutionService, Type type)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (4)
116
ITypeResolutionService
? tr = _liveDataGridView?.Site?.GetService<
ITypeResolutionService
>();
870
ITypeResolutionService
? tr = _liveDataGridView?.Site?.GetService<
ITypeResolutionService
>();
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
100
private
ITypeResolutionService
? _typeResolutionService; // Service that can return Type info for types in the user's project, at design time
387
_typeResolutionService = _serviceProvider.GetService<
ITypeResolutionService
>();
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (2)
174
ITypeResolutionService
? trs = host.GetService<
ITypeResolutionService
>();