1 instantiation of CodeGenerationPropertyInfo
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationPropertyInfo.cs (1)
35
var info = new
CodeGenerationPropertyInfo
(isNew, isUnsafe, initializer);
12 references to CodeGenerationPropertyInfo
Microsoft.CodeAnalysis.CodeStyle.Fixes (12)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
75
CodeGenerationPropertyInfo
.Attach(result, modifiers.IsNew, modifiers.IsUnsafe, initializer);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationPropertyInfo.cs (7)
13
private static readonly ConditionalWeakTable<IPropertySymbol,
CodeGenerationPropertyInfo
> s_propertyToInfoMap = new();
35
var
info = new CodeGenerationPropertyInfo(isNew, isUnsafe, initializer);
39
private static
CodeGenerationPropertyInfo
GetInfo(IPropertySymbol property)
41
s_propertyToInfoMap.TryGetValue(property, out
var
info);
45
public static SyntaxNode GetInitializer(
CodeGenerationPropertyInfo
info)
57
private static bool GetIsNew(
CodeGenerationPropertyInfo
info)
60
private static bool GetIsUnsafe(
CodeGenerationPropertyInfo
info)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationPropertySymbol.cs (4)
48
CodeGenerationPropertyInfo
.Attach(result,
49
CodeGenerationPropertyInfo
.GetIsNew(this),
50
CodeGenerationPropertyInfo
.GetIsUnsafe(this),
51
CodeGenerationPropertyInfo
.GetInitializer(this));