3 implementations of GetOrCreateData
Microsoft.CodeAnalysis (3)
Symbols\Attributes\CommonFieldWellKnownAttributeData.cs (1)
102
MarshalPseudoCustomAttributeData IMarshalAsAttributeTarget.
GetOrCreateData
()
Symbols\Attributes\CommonParameterWellKnownAttributeData.cs (1)
56
MarshalPseudoCustomAttributeData IMarshalAsAttributeTarget.
GetOrCreateData
()
Symbols\Attributes\CommonReturnTypeWellKnownAttributeData.cs (1)
21
MarshalPseudoCustomAttributeData IMarshalAsAttributeTarget.
GetOrCreateData
()
7 references to GetOrCreateData
Microsoft.CodeAnalysis (7)
Symbols\Attributes\MarshalAsAttributeDecoder.cs (7)
78
arguments.GetOrCreateData<TWellKnownAttributeData>().
GetOrCreateData
().SetMarshalAsSimpleType(unmanagedType);
92
arguments.GetOrCreateData<TWellKnownAttributeData>().
GetOrCreateData
().SetMarshalAsSimpleType(unmanagedType);
170
arguments.GetOrCreateData<TWellKnownAttributeData>().
GetOrCreateData
().SetMarshalAsCustom(hasTypeName ? (object)typeName : typeSymbol, cookie);
203
arguments.GetOrCreateData<TWellKnownAttributeData>().
GetOrCreateData
().SetMarshalAsComInterface(unmanagedType, parameterIndex);
284
var data = arguments.GetOrCreateData<TWellKnownAttributeData>().
GetOrCreateData
();
362
arguments.GetOrCreateData<TWellKnownAttributeData>().
GetOrCreateData
().SetMarshalAsSafeArray(elementTypeVariant, elementTypeSymbol);
408
arguments.GetOrCreateData<TWellKnownAttributeData>().
GetOrCreateData
().SetMarshalAsFixedString(elementCount);