55 references to CodeGenerationSymbolFactory
Microsoft.CodeAnalysis.CodeStyle.Fixes (55)
src\Analyzers\Core\CodeFixes\AddParameter\AddParameterService.cs (1)
233var newParameterSymbol = CodeGenerationSymbolFactory.CreateParameterSymbol(
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (2)
153(t, r) => CodeGenerationSymbolFactory.CreateParameterSymbol(r, t, name: "")).ToImmutableArray(); 443var constructor = CodeGenerationSymbolFactory.CreateConstructorSymbol(
src\Analyzers\Core\CodeFixes\GenerateConstructor\GenerateConstructorHelpers.cs (1)
166parameters.Add(CodeGenerationSymbolFactory.CreateParameterSymbol(
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\GenerateDefaultConstructorsCodeAction.cs (2)
63return CodeGenerationSymbolFactory.CreateConstructorSymbol( 76return CodeGenerationSymbolFactory.CreateParameterSymbol(
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.CodeAction.cs (1)
40CodeGenerationSymbolFactory.CreateFieldSymbol(
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateDeconstructMethodService.State.cs (1)
71var methodSymbol = CodeGenerationSymbolFactory.CreateMethodSymbol(
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateMethodService.State.cs (1)
250return CodeGenerationSymbolFactory.CreateMethodSymbol(
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.AbstractInvocationInfo.cs (1)
71return CodeGenerationSymbolFactory.CreateTypeParameter(
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.SignatureInfo.cs (4)
76var getMethod = CodeGenerationSymbolFactory.CreateAccessorSymbol( 83return CodeGenerationSymbolFactory.CreatePropertySymbol( 111var method = CodeGenerationSymbolFactory.CreateMethodSymbol( 217result.Add(CodeGenerationSymbolFactory.CreateParameterSymbol(
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.CodeAction.cs (3)
74var propertySymbol = CodeGenerationSymbolFactory.CreatePropertySymbol( 92var fieldSymbol = CodeGenerationSymbolFactory.CreateFieldSymbol( 108return CodeGenerationSymbolFactory.CreateAccessorSymbol(
src\Analyzers\Core\CodeFixes\ImplementAbstractClass\ImplementAbstractClassData.cs (6)
187return CodeGenerationSymbolFactory.CreateMethodSymbol( 212? CodeGenerationSymbolFactory.CreateAccessorSymbol( 221? CodeGenerationSymbolFactory.CreateAccessorSymbol( 229return CodeGenerationSymbolFactory.CreatePropertySymbol( 241return CodeGenerationSymbolFactory.CreateEventSymbol( 260return CodeGenerationSymbolFactory.CreateAccessorSymbol(
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator.cs (3)
314var accessor = CodeGenerationSymbolFactory.CreateAccessorSymbol( 319return CodeGenerationSymbolFactory.CreateEventSymbol( 340return CodeGenerationSymbolFactory.CreateAccessorSymbol(
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (4)
174return CodeGenerationSymbolFactory.CreateMethodSymbol( 180parameters: [CodeGenerationSymbolFactory.CreateParameterSymbol( 223var result = CodeGenerationSymbolFactory.CreateMethodSymbol( 251return CodeGenerationSymbolFactory.CreateFieldSymbol(
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Method.cs (1)
42return CodeGenerationSymbolFactory.CreateMethodSymbol(
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Property.cs (3)
71return [CodeGenerationSymbolFactory.CreatePropertySymbol( 118return CodeGenerationSymbolFactory.CreateAccessorSymbol( 144return CodeGenerationSymbolFactory.CreateAccessorSymbol(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\TypeGenerator.cs (2)
16=> CodeGenerationSymbolFactory.CreateArrayTypeSymbol(elementType, rank); 19=> CodeGenerationSymbolFactory.CreatePointerTypeSymbol(pointedAtType);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IMethodSymbolExtensions.cs (5)
62return CodeGenerationSymbolFactory.CreateMethodSymbol( 73CodeGenerationSymbolFactory.CreateParameterSymbol(p.GetAttributes(), p.RefKind, p.IsParams, p.Type.SubstituteTypes(mapping, typeGenerator), p.Name, p.IsOptional, 88return CodeGenerationSymbolFactory.CreateMethodSymbol( 162return CodeGenerationSymbolFactory.CreateMethodSymbol( 168CodeGenerationSymbolFactory.CreateParameterSymbol(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (2)
26: CodeGenerationSymbolFactory.CreateParameterSymbol( 41: CodeGenerationSymbolFactory.CreateParameterSymbol(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IPropertySymbolExtensions.cs (3)
25return CodeGenerationSymbolFactory.CreatePropertySymbol( 51return CodeGenerationSymbolFactory.CreatePropertySymbol( 61CodeGenerationSymbolFactory.CreateParameterSymbol(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (3)
300result.Add(CodeGenerationSymbolFactory.CreateFieldSymbol( 322result.Add(CodeGenerationSymbolFactory.CreatePropertySymbol( 331getMethod: CodeGenerationSymbolFactory.CreateAccessorSymbol(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (6)
51return CodeGenerationSymbolFactory.CreateMethodSymbol( 60parameters: [CodeGenerationSymbolFactory.CreateParameterSymbol(compilation.GetSpecialType(SpecialType.System_Object).WithNullableAnnotation(NullableAnnotation.Annotated), ObjName)], 85var parameters = ImmutableArray.Create(CodeGenerationSymbolFactory.CreateParameterSymbol( 92return CodeGenerationSymbolFactory.CreateMethodSymbol( 101return CodeGenerationSymbolFactory.CreateMethodSymbol( 480var constructor = CodeGenerationSymbolFactory.CreateConstructorSymbol(