1 instantiation of CodeGenerationFieldInfo
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationFieldInfo.cs (1)
35
var info = new
CodeGenerationFieldInfo
(isUnsafe, isWithEvents, initializer);
8 references to CodeGenerationFieldInfo
Microsoft.CodeAnalysis.CodeStyle.Fixes (8)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
116
CodeGenerationFieldInfo
.Attach(result, modifiers.IsUnsafe, modifiers.IsWithEvents, initializer);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationFieldInfo.cs (7)
13
private static readonly ConditionalWeakTable<IFieldSymbol,
CodeGenerationFieldInfo
> s_fieldToInfoMap = new();
35
var
info = new CodeGenerationFieldInfo(isUnsafe, isWithEvents, initializer);
39
private static
CodeGenerationFieldInfo
GetInfo(IFieldSymbol field)
41
s_fieldToInfoMap.TryGetValue(field, out
var
info);
45
private static bool GetIsUnsafe(
CodeGenerationFieldInfo
info)
51
private static bool GetIsWithEvents(
CodeGenerationFieldInfo
info)
57
private static SyntaxNode GetInitializer(
CodeGenerationFieldInfo
info)