20 references to ValueInternal
Microsoft.CodeAnalysis (20)
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (1)
387info.Id = attribute.CommonConstructorArguments[1].ValueInternal as string;
Emit\NoPia\CommonEmbeddedType.cs (1)
168string defaultMember = constructorArguments[0].ValueInternal as string;
MetadataReader\PEModule.cs (5)
1319if (typeCode == SerializationTypeCode.String && isProperty && value.ValueInternal is string stringValue) 1364isOptional = (bool)namedArgValues.nameValuePair.Value.ValueInternal!; 1525allowMultiple = (bool)namedArgValues.nameValuePair.Value.ValueInternal!; 1528inherited = (bool)namedArgValues.nameValuePair.Value.ValueInternal!; 2149if (typeCode == SerializationTypeCode.String && isProperty && value.ValueInternal is string stringValue)
Symbols\Attributes\CommonAttributeData.cs (12)
276string? diagnosticId = this.CommonConstructorArguments[0].ValueInternal as string; 288urlFormat = value.ValueInternal as string; 317message = (string?)args[0].ValueInternal; 321Debug.Assert(args[1].ValueInternal is object); 322isError = (bool)args[1].ValueInternal!; 332diagnosticId = value.ValueInternal as string; 336urlFormat = value.ValueInternal as string; 374Debug.Assert(args[1].ValueInternal is object); 375message = (string?)args[0].ValueInternal; 376isError = ((int)args[1].ValueInternal! == 1); 571Debug.Assert(positionalArg.ValueInternal is object); 572var validOn = (AttributeTargets)positionalArg.ValueInternal;
Symbols\TypedConstant.cs (1)
79object? result = ValueInternal;