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