1 instantiation of Optional
System.Xaml.Tests (1)
Common\Optional.cs (1)
28
return new
Optional
<T>
97 references to Optional
System.Xaml.Tests (97)
Common\CustomAssembly.cs (5)
19
public
Optional
<string?> FullNameResult { get; set; }
22
public
Optional
<bool> IsDynamicResult { get; set; }
25
public
Optional
<bool> ReflectionOnlyResult { get; set; }
28
public
Optional
<IList<CustomAttributeData>> GetCustomAttributesDataResult { get; set; }
34
public
Optional
<Dictionary<Type, object?[]?>> GetCustomAttributesMap { get; set; }
Common\CustomConstructorInfo.cs (11)
19
public
Optional
<MethodAttributes> AttributesResult { get; set; }
22
public
Optional
<Type> DeclaringTypeResult { get; set; }
25
public
Optional
<MethodImplAttributes> GetMethodImplementationFlagsResult { get; set; }
28
public
Optional
<ParameterInfo[]> GetParametersResult { get; set; }
31
public
Optional
<bool> IsSecurityCriticalResult { get; set; }
34
public
Optional
<bool> IsSecuritySafeCriticalResult { get; set; }
37
public
Optional
<bool> IsSecurityTransparentResult { get; set; }
40
public
Optional
<RuntimeMethodHandle> MethodHandleResult { get; set; }
43
public
Optional
<MemberTypes> MemberTypeResult { get; set; }
46
public
Optional
<string> NameResult { get; set; }
49
public
Optional
<Type> ReflectedTypeResult { get; set; }
Common\CustomMethodInfo.cs (12)
19
public
Optional
<MethodAttributes> AttributesResult { get; set; }
22
public
Optional
<Type?> DeclaringTypeResult { get; set; }
25
public
Optional
<MethodInfo> GetBaseDefinitionResult { get; set; }
28
public
Optional
<MethodImplAttributes> GetMethodImplementationFlagsResult { get; set; }
31
public
Optional
<ParameterInfo[]> GetParametersResult { get; set; }
34
public
Optional
<RuntimeMethodHandle> MethodHandleResult { get; set; }
37
public
Optional
<MemberTypes> MemberTypeResult { get; set; }
40
public
Optional
<string> NameResult { get; set; }
43
public
Optional
<Type> ReflectedTypeResult { get; set; }
46
public
Optional
<ParameterInfo> ReturnParameterResult { get; set; }
49
public
Optional
<Type?> ReturnTypeResult { get; set; }
52
public
Optional
<ICustomAttributeProvider> ReturnTypeCustomAttributesResult { get; set; }
Common\CustomType.cs (11)
16
public
Optional
<Assembly> AssemblyResult { get; set; }
19
public
Optional
<IList<CustomAttributeData>> GetCustomAttributesDataResult { get; set; }
25
public
Optional
<Type?> DeclaringTypeResult { get; set; }
29
public
Optional
<ConstructorInfo?> GetConstructorResult { get; set; }
35
public
Optional
<EventInfo[]> GetEventsResult { get; set; }
41
public
Optional
<Type?[]?> GetGenericParameterConstraintsResult { get; set; }
47
public
Optional
<Type?[]?> GetInterfacesResult { get; set; }
53
public
Optional
<MemberInfo[]> GetMemberResult { get; set; }
59
public
Optional
<PropertyInfo[]> GetPropertiesResult { get; set; }
65
public
Optional
<bool> IsGenericParameterResult { get; set; }
68
public
Optional
<Type> UnderlyingSystemTypeResult { get; set; }
Common\CustomXamlType.cs (35)
21
public
Optional
<XamlMember?> LookupAliasedPropertyResult { get; set; }
27
public
Optional
<IEnumerable<XamlMember>?> LookupAllAttachableMembersResult { get; set; }
33
public
Optional
<IEnumerable<XamlMember>?> LookupAllMembersResult { get; set; }
39
public
Optional
<IList<XamlType>?> LookupAllowedContentTypesResult { get; set; }
45
public
Optional
<XamlMember?> LookupAttachableMemberResult { get; set; }
51
public
Optional
<XamlType?> LookupBaseTypeResult { get; set; }
57
public
Optional
<XamlCollectionKind> LookupCollectionKindResult { get; set; }
63
public
Optional
<bool> LookupConstructionRequiresArgumentsResult { get; set; }
69
public
Optional
<ICustomAttributeProvider> LookupCustomAttributeProviderResult { get; set; }
76
public
Optional
<XamlMember?> LookupContentPropertyResult { get; set; }
82
public
Optional
<IList<XamlType>?> LookupContentWrappersResult { get; set; }
88
public
Optional
<XamlValueConverter<XamlDeferringLoader>?> LookupDeferringLoaderResult { get; set; }
94
public
Optional
<XamlTypeInvoker?> LookupInvokerResult { get; set; }
100
public
Optional
<bool> LookupIsAmbientResult { get; set; }
106
public
Optional
<bool> LookupIsConstructibleResult { get; set; }
112
public
Optional
<bool> LookupIsMarkupExtensionResult { get; set; }
118
public
Optional
<bool> LookupIsNameScopeResult { get; set; }
124
public
Optional
<bool> LookupIsNullableResult { get; set; }
130
public
Optional
<bool> LookupIsPublicResult { get; set; }
136
public
Optional
<bool> LookupIsUnknownResult { get; set; }
142
public
Optional
<bool> LookupIsWhitespaceSignificantCollectionResult { get; set; }
148
public
Optional
<bool> LookupIsXDataResult { get; set; }
154
public
Optional
<XamlType?> LookupItemTypeResult { get; set; }
160
public
Optional
<XamlType?> LookupKeyTypeResult { get; set; }
166
public
Optional
<XamlType?> LookupMarkupExtensionReturnTypeResult { get; set; }
172
public
Optional
<XamlMember?> LookupMemberResult { get; set; }
178
public
Optional
<IList<XamlType>?> LookupPositionalParametersResult { get; set; }
184
public
Optional
<EventHandler<XamlSetMarkupExtensionEventArgs>?> LookupSetMarkupExtensionHandlerResult { get; set;}
190
public
Optional
<EventHandler<XamlSetTypeConverterEventArgs>?> LookupSetTypeConverterHandlerResult { get; set; }
196
public
Optional
<bool> LookupTrimSurroundingWhitespaceResult { get; set; }
202
public
Optional
<XamlValueConverter<TypeConverter>?> LookupTypeConverterResult { get; set; }
208
public
Optional
<Type?> LookupUnderlyingTypeResult { get; set; }
214
public
Optional
<bool> LookupUsableDuringInitializationResult { get; set; }
220
public
Optional
<XamlValueConverter<ValueSerializer>?> LookupValueSerializerResult { get; set; }
226
public
Optional
<IList<string>?> GetXamlNamespacesResult { get; set; }
Common\Optional.cs (1)
26
public static implicit operator
Optional
<T>(T t)
Common\SubXamlReader.cs (1)
27
public
Optional
<bool> IsEofResult { get; set; }
System\Xaml\XamlMemberTests.cs (1)
2383
public
Optional
<string?> NameResult { get; set; }
System\Xaml\XamlMemberTests.Mocks.cs (20)
95
public
Optional
<ICustomAttributeProvider?> LookupCustomAttributeProviderResult { get; set; }
101
public
Optional
<IList<XamlMember>?> LookupDependsOnResult { get; set; }
107
public
Optional
<XamlValueConverter<XamlDeferringLoader>?> LookupDeferringLoaderResult { get; set; }
113
public
Optional
<XamlMemberInvoker?> LookupInvokerResult { get; set; }
119
public
Optional
<bool> LookupIsAmbientResult { get; set; }
125
public
Optional
<bool> LookupIsEventResult { get; set; }
131
public
Optional
<bool> LookupIsReadOnlyResult { get; set; }
137
public
Optional
<bool> LookupIsReadPublicResult { get; set; }
143
public
Optional
<bool> LookupIsUnknownResult { get; set; }
149
public
Optional
<bool> LookupIsWriteOnlyResult { get; set; }
155
public
Optional
<bool> LookupIsWritePublicResult { get; set; }
161
public
Optional
<IReadOnlyDictionary<char,char>?> LookupMarkupExtensionBracketCharactersResult { get; set; }
167
public
Optional
<XamlType?> LookupTargetTypeResult { get; set; }
173
public
Optional
<XamlType?> LookupTypeResult { get; set; }
179
public
Optional
<XamlValueConverter<TypeConverter>?> LookupTypeConverterResult { get; set; }
185
public
Optional
<MethodInfo?> LookupUnderlyingGetterResult { get; set; }
191
public
Optional
<MemberInfo?> LookupUnderlyingMemberResult { get; set; }
197
public
Optional
<MethodInfo?> LookupUnderlyingSetterResult { get; set; }
203
public
Optional
<XamlValueConverter<ValueSerializer>?> LookupValueSerializerResult { get; set; }
209
public
Optional
<IList<string>?> GetXamlNamespacesResult { get; set; }