24 instantiations of new
Microsoft.Interop.JavaScript.JSImportGenerator (6)
JSExportCodeGenerator.cs (1)
59diagnosticsBag.ReportGeneratorDiagnostic(new GeneratorDiagnostic.NotSupported(spanArg.TypeInfo)
JSGeneratorFactory.cs (4)
22return ResolvedGenerator.NotSupported(info, context, new(info) 31return ResolvedGenerator.NotSupported(info, context, new(info) 42return ResolvedGenerator.NotSupported(info, context, new(info)); 92return ResolvedGenerator.NotSupported(info, context, new(info));
JSImportCodeGenerator.cs (1)
66diagnosticsBag.ReportGeneratorDiagnostic(new GeneratorDiagnostic.NotSupported(spanArg.TypeInfo)
Microsoft.Interop.SourceGeneration (18)
BoundGenerators.cs (1)
215return ResolvedGenerator.NotSupported(info, context, new(info)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (7)
74_ => new GeneratorDiagnostic.NotSupported(info) 96return new GeneratorDiagnostic.NotSupported(info) 105return new GeneratorDiagnostic.NotSupported(info) 154return ResolvedGenerator.NotSupported(info, context, new(info) 424return new(info) 434return new(info) 444return new(info)
Marshalling\BlittableMarshallerResolver.cs (1)
34context, new GeneratorDiagnostic.NotSupported(info)
Marshalling\ByValueMarshalKindSupportDescriptor.cs (2)
31new GeneratorDiagnostic.NotSupported(info) 78diagnostic = new GeneratorDiagnostic.NotSupported(info)
Marshalling\CharMarshallingGeneratorResolver.cs (4)
40return ResolvedGenerator.NotSupported(info, context, new(info) 63return ResolvedGenerator.NotSupported(info, context, new(info) // [Compat] UTF-8 is not supported for char 68return ResolvedGenerator.NotSupported(info, context, new(info) 75return ResolvedGenerator.NotSupported(info, context, new(info));
Marshalling\MarshalAsMarshallingGeneratorResolver.cs (1)
62return ResolvedGenerator.NotSupported(info, context, new(info));
Marshalling\NoMarshallingInfoErrorResolver.cs (1)
20return ResolvedGenerator.NotSupported(info, context, new(info)
Marshalling\NotSupportedResolver.cs (1)
9ResolvedGenerator.NotSupported(info, context, new(info));
22 references to new
Microsoft.Interop.ComInterfaceGenerator (4)
DiagnosticDescriptorProvider.cs (4)
23GeneratorDiagnostic.NotSupported { NotSupportedDetails: null, TypePositionInfo: { IsManagedReturnPosition: true, MarshallingAttributeInfo: MarshalAsInfo } } => GeneratorDiagnostics.MarshalAsReturnConfigurationNotSupported, 24GeneratorDiagnostic.NotSupported { NotSupportedDetails: null, TypePositionInfo: { IsManagedReturnPosition: false, MarshallingAttributeInfo: MarshalAsInfo } } => GeneratorDiagnostics.MarshalAsParameterConfigurationNotSupported, 25GeneratorDiagnostic.NotSupported { NotSupportedDetails: not null, TypePositionInfo.IsManagedReturnPosition: true } => GeneratorDiagnostics.ReturnTypeNotSupportedWithDetails, 26GeneratorDiagnostic.NotSupported { NotSupportedDetails: not null, TypePositionInfo.IsManagedReturnPosition: false } => GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails,
Microsoft.Interop.JavaScript.JSImportGenerator (2)
DescriptorProvider.cs (2)
20GeneratorDiagnostic.NotSupported { NotSupportedDetails: not null, TypePositionInfo.IsManagedReturnPosition: true } => GeneratorDiagnostics.ReturnTypeNotSupportedWithDetails, 21GeneratorDiagnostic.NotSupported { NotSupportedDetails: not null, TypePositionInfo.IsManagedReturnPosition: false } => GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails,
Microsoft.Interop.LibraryImportGenerator (4)
DiagnosticDescriptorProvider.cs (4)
21GeneratorDiagnostic.NotSupported { NotSupportedDetails: null, TypePositionInfo: { IsManagedReturnPosition: true, MarshallingAttributeInfo: MarshalAsInfo } } => GeneratorDiagnostics.MarshalAsReturnConfigurationNotSupported, 22GeneratorDiagnostic.NotSupported { NotSupportedDetails: null, TypePositionInfo: { IsManagedReturnPosition: false, MarshallingAttributeInfo: MarshalAsInfo } } => GeneratorDiagnostics.MarshalAsParameterConfigurationNotSupported, 23GeneratorDiagnostic.NotSupported { NotSupportedDetails: not null, TypePositionInfo.IsManagedReturnPosition: true } => GeneratorDiagnostics.ReturnTypeNotSupportedWithDetails, 24GeneratorDiagnostic.NotSupported { NotSupportedDetails: not null, TypePositionInfo.IsManagedReturnPosition: false } => GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails,
Microsoft.Interop.LibraryImportGenerator.Downlevel (4)
DiagnosticDescriptorProvider.cs (4)
21GeneratorDiagnostic.NotSupported { NotSupportedDetails: null, TypePositionInfo: { IsManagedReturnPosition: true, MarshallingAttributeInfo: MarshalAsInfo } } => GeneratorDiagnostics.MarshalAsReturnConfigurationNotSupported, 22GeneratorDiagnostic.NotSupported { NotSupportedDetails: null, TypePositionInfo: { IsManagedReturnPosition: false, MarshallingAttributeInfo: MarshalAsInfo } } => GeneratorDiagnostics.MarshalAsParameterConfigurationNotSupported, 23GeneratorDiagnostic.NotSupported { NotSupportedDetails: not null, TypePositionInfo.IsManagedReturnPosition: true } => GeneratorDiagnostics.ReturnTypeNotSupportedWithDetails, 24GeneratorDiagnostic.NotSupported { NotSupportedDetails: not null, TypePositionInfo.IsManagedReturnPosition: false } => GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails,
Microsoft.Interop.SourceGeneration (8)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (7)
53private record struct ExpressionOrNotSupported(ExpressionSyntax? Expression, GeneratorDiagnostic.NotSupported? NotSupported) 59public ExpressionOrNotSupported(GeneratorDiagnostic.NotSupported notSupportedDiagnostic) 65private GeneratorDiagnostic.NotSupported? ValidateCountInfo(TypePositionInfo info, CountInfo count, StubCodeContext context, out bool countInfoRequiresCast) 80GeneratorDiagnostic.NotSupported? ValidateNumElementsExpression(TypePositionInfo paramInfo, out bool requiresCast) 146if (ValidateCustomNativeTypeMarshallingSupported(info, context, marshalInfo) is GeneratorDiagnostic.NotSupported diagnostic) 234GeneratorDiagnostic.NotSupported? countInfoDiagnostic = ValidateCountInfo(info, countInfo, context, out countInfoRequiresCast); 417private GeneratorDiagnostic.NotSupported? ValidateCustomNativeTypeMarshallingSupported(TypePositionInfo info, StubCodeContext context, NativeMarshallingAttributeInfo marshalInfo)
Marshalling\ResolvedGenerator.cs (1)
25public static ResolvedGenerator NotSupported(TypePositionInfo info, StubCodeContext context, GeneratorDiagnostic.NotSupported notSupportedDiagnostic)