21 references to FieldWellKnownAttributeData
Microsoft.CodeAnalysis.CSharp (21)
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (19)
105protected FieldWellKnownAttributeData GetDecodedWellKnownAttributeData() 113return (FieldWellKnownAttributeData)attributesBag.DecodedWellKnownAttributeData; 173arguments.GetOrCreateData<FieldWellKnownAttributeData>().HasSpecialNameAttribute = true; 177arguments.GetOrCreateData<FieldWellKnownAttributeData>().HasNonSerializedAttribute = true; 198arguments.GetOrCreateData<FieldWellKnownAttributeData>().SetFieldOffset(offset); 203MarshalAsAttributeDecoder<FieldWellKnownAttributeData, AttributeSyntax, CSharpAttributeData, AttributeLocation>.Decode(ref arguments, AttributeTargets.Field, MessageProvider.Instance); 227arguments.GetOrCreateData<FieldWellKnownAttributeData>().HasAllowNullAttribute = true; 231arguments.GetOrCreateData<FieldWellKnownAttributeData>().HasDisallowNullAttribute = true; 235arguments.GetOrCreateData<FieldWellKnownAttributeData>().HasMaybeNullAttribute = true; 239arguments.GetOrCreateData<FieldWellKnownAttributeData>().HasNotNullAttribute = true; 246private static FlowAnalysisAnnotations DecodeFlowAnalysisAttributes(FieldWellKnownAttributeData attributeData) 268var data = arguments.GetOrCreateData<FieldWellKnownAttributeData>(); 321var data = (FieldWellKnownAttributeData)decodedData; 356var data = GetDecodedWellKnownAttributeData(); 365var data = GetDecodedWellKnownAttributeData(); 374var data = GetDecodedWellKnownAttributeData(); 383var data = GetDecodedWellKnownAttributeData();
Symbols\Source\SourceMemberFieldSymbol.cs (2)
114var data = GetDecodedWellKnownAttributeData(); 138!(decodedData is FieldWellKnownAttributeData fieldData && fieldData.ConstValue != CodeAnalysis.ConstantValue.Unset))