2 writes to _marshalTypeNameOrSymbol
Microsoft.CodeAnalysis (2)
Symbols\Attributes\MarshalPseudoCustomAttributeData.cs (2)
41
_marshalTypeNameOrSymbol
= typeSymbolOrName;
80
_marshalTypeNameOrSymbol
= elementTypeSymbol;
10 references to _marshalTypeNameOrSymbol
Microsoft.CodeAnalysis (10)
Symbols\Attributes\MarshalPseudoCustomAttributeData.cs (10)
120
var typeSymbol =
_marshalTypeNameOrSymbol
as ITypeSymbolInternal;
127
Debug.Assert(
_marshalTypeNameOrSymbol
== null ||
_marshalTypeNameOrSymbol
is string);
128
return
_marshalTypeNameOrSymbol
;
181
if (
_marshalTypeNameOrSymbol
== null)
186
return ((CommonPEModuleBuilder)context.Module).Translate((ITypeSymbolInternal)
_marshalTypeNameOrSymbol
, context.SyntaxNode, context.Diagnostics);
197
if (_marshalType != Cci.Constants.UnmanagedType_SafeArray ||
_marshalTypeNameOrSymbol
== null)
202
var translatedType = translator((TTypeSymbol)
_marshalTypeNameOrSymbol
, arg);
203
if ((object)translatedType == (object)
_marshalTypeNameOrSymbol
)
216
return
_marshalTypeNameOrSymbol
as ITypeSymbolInternal;