108 references to MakeTypeMissing
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (26)
CodeGen\CodeGenAsyncIteratorTests.cs (2)
137
comp.
MakeTypeMissing
(type);
1170
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_AsyncIteratorStateMachineAttribute);
CodeGen\CodeGenAwaitForeachTests.cs (2)
103
comp.
MakeTypeMissing
(WellKnownType.System_Threading_Tasks_ValueTask);
5336
comp.
MakeTypeMissing
(WellKnownType.System_IAsyncDisposable);
CodeGen\CodeGenAwaitUsingTests.cs (4)
943
comp.
MakeTypeMissing
(WellKnownType.System_Threading_Tasks_ValueTask);
1154
comp.
MakeTypeMissing
(WellKnownType.System_Threading_Tasks_ValueTask);
1191
comp.
MakeTypeMissing
(WellKnownType.System_Threading_Tasks_ValueTask);
4921
comp.
MakeTypeMissing
(WellKnownType.System_IAsyncDisposable);
CodeGen\CodeGenLockTests.cs (1)
2038
compilation.
MakeTypeMissing
(WellKnownType.System_Threading_Monitor);
CodeGen\CodeGenUsingDeclarationTests.cs (2)
1346
comp.
MakeTypeMissing
(WellKnownType.System_Threading_Tasks_ValueTask);
1377
comp.
MakeTypeMissing
(WellKnownType.System_Threading_Tasks_ValueTask);
CodeGen\IndexerTests.cs (1)
1210
comp1.
MakeTypeMissing
(WellKnownType.System_Reflection_DefaultMemberAttribute);
Emit\InAttributeModifierTests.cs (14)
1747
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
1788
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
1829
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
1850
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
1909
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
1954
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
1994
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
2102
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
2139
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
2181
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
2244
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
2290
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
2331
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
2519
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (26)
Attributes\AttributeTests_NativeInteger.cs (1)
207
comp.
MakeTypeMissing
(WellKnownType.System_AttributeUsageAttribute);
Attributes\AttributeTests_Nullable.cs (1)
748
comp.
MakeTypeMissing
(WellKnownType.System_AttributeUsageAttribute);
Attributes\AttributeTests_NullableContext.cs (1)
233
comp.
MakeTypeMissing
(WellKnownType.System_AttributeUsageAttribute);
Attributes\AttributeTests_NullablePublicOnly.cs (1)
523
comp.
MakeTypeMissing
(WellKnownType.System_AttributeUsageAttribute);
Attributes\AttributeTests_Synthesized.cs (1)
936
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_CompilerGeneratedAttribute);
FieldKeywordTests.cs (1)
8087
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_CompilerGeneratedAttribute);
RefReadonlyParameterTests.cs (3)
544
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
884
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
1270
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
Semantics\CollectionExpressionTests.cs (6)
6134
comp.
MakeTypeMissing
(WellKnownType.System_Collections_Generic_List_T);
13276
comp.
MakeTypeMissing
(WellKnownType.System_Collections_Generic_List_T);
15621
comp.
MakeTypeMissing
((WellKnownType)missingType);
15646
comp.
MakeTypeMissing
(WellKnownType.System_Collections_Generic_List_T);
45333
comp.
MakeTypeMissing
((WellKnownType)missingType);
47179
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_InlineArray2 + (arrayLength - 2));
Semantics\InlineArrayTests.cs (2)
18802
comp.
MakeTypeMissing
(WellKnownType.System_Span_T);
19093
comp.
MakeTypeMissing
(WellKnownType.System_ReadOnlySpan_T);
Semantics\PatternMatchingTests.cs (3)
7319
comp.
MakeTypeMissing
(WellKnownType.System_Exception);
7336
comp.
MakeTypeMissing
(WellKnownType.System_Exception);
7371
comp.
MakeTypeMissing
(WellKnownType.System_Exception);
Semantics\PatternMatchingTests_ListPatterns.cs (3)
7631
comp.
MakeTypeMissing
(WellKnownType.System_Index);
8051
compilation.
MakeTypeMissing
(WellKnownType.System_Index);
8052
compilation.
MakeTypeMissing
(WellKnownType.System_Range);
Semantics\PatternMatchingTests4.cs (1)
2603
compilation.
MakeTypeMissing
(WellKnownType.System_InvalidOperationException);
Semantics\RecordTests.cs (2)
5200
comp.
MakeTypeMissing
(WellKnownType.System_Text_StringBuilder);
19267
comp.
MakeTypeMissing
(WellKnownType.System_Type);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (47)
Semantics\DelegateTypeTests.cs (34)
18587
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18610
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18628
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18646
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18670
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18690
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18707
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18728
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18744
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18764
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18782
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18809
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18835
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18855
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18880
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18901
comp2.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18927
comp2.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18941
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18959
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
18983
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
19013
comp2.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute);
19043
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DateTimeConstantAttribute);
19064
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DateTimeConstantAttribute);
19090
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DateTimeConstantAttribute);
19113
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DateTimeConstantAttribute);
19138
comp2.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DateTimeConstantAttribute);
19168
comp2.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DateTimeConstantAttribute);
19206
comp2.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_DateTimeConstantAttribute);
19224
comp.
MakeTypeMissing
(WellKnownType.System_ParamArrayAttribute);
19238
comp.
MakeTypeMissing
(WellKnownType.System_ParamArrayAttribute);
19256
comp.
MakeTypeMissing
(WellKnownType.System_ParamArrayAttribute);
19278
comp2.
MakeTypeMissing
(WellKnownType.System_ParamArrayAttribute);
19295
comp.
MakeTypeMissing
(WellKnownType.System_ParamArrayAttribute);
19312
comp.
MakeTypeMissing
(WellKnownType.System_ParamArrayAttribute);
Semantics\LambdaTests.cs (2)
8643
comp.
MakeTypeMissing
(WellKnownType.System_ParamArrayAttribute);
8666
comp.
MakeTypeMissing
(WellKnownType.System_ParamArrayAttribute);
Semantics\LocalFunctionTests.cs (2)
2693
comp.
MakeTypeMissing
(WellKnownType.System_ParamArrayAttribute);
2717
comp.
MakeTypeMissing
(WellKnownType.System_ParamArrayAttribute);
Semantics\NullableReferenceTypesTests.cs (2)
142864
comp.
MakeTypeMissing
(WellKnownType.System_IEquatable_T);
144026
comp.
MakeTypeMissing
(WellKnownType.System_Collections_Generic_IEqualityComparer_T);
Semantics\RecordStructTests.cs (4)
4235
comp.
MakeTypeMissing
(WellKnownType.System_IEquatable_T);
4878
comp.
MakeTypeMissing
(WellKnownType.System_Collections_Generic_EqualityComparer_T);
4889
comp.
MakeTypeMissing
(WellKnownType.System_Collections_Generic_EqualityComparer_T);
5279
comp.
MakeTypeMissing
(WellKnownType.System_Text_StringBuilder);
Semantics\TopLevelStatementsTests.cs (2)
7639
comp.
MakeTypeMissing
(WellKnownType.System_Threading_Tasks_Task_T);
7666
comp.
MakeTypeMissing
(WellKnownType.System_Threading_Tasks_Task_T);
Semantics\Utf8StringsLiteralsTests.cs (1)
1973
comp.
MakeTypeMissing
(WellKnownType.System_ReadOnlySpan_T);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (9)
Compilation\UsedAssembliesTests.cs (1)
6092
comp1.
MakeTypeMissing
(WellKnownType.System_Collections_Generic_EqualityComparer_T);
Symbols\FunctionPointerTypeSymbolTests.cs (6)
1007
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
1008
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_OutAttribute);
1021
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
1022
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_OutAttribute);
1607
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_InAttribute);
1608
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_InteropServices_OutAttribute);
Symbols\RequiredMembersTests.cs (2)
389
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_RequiredMemberAttribute);
426
comp.
MakeTypeMissing
(WellKnownType.System_Runtime_CompilerServices_CompilerFeatureRequiredAttribute);