Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
System
Tests
DelegateTests
ValueTypeMethod
System.Tests.DelegateTests.ValueTypeMethod C# (CSharp) Method
DelegateTests Class Documentation
Mostra file
Open project: dotnet/corefx
ValueTypeMethod()
private
static
method
private
static
ValueTypeMethod
(
MyStruct
s
) :
void
s
MyStruct
return
void
private static void ValueTypeMethod(MyStruct s) { Assert.Equal(s.X, 0); Assert.Equal(s.Y, 0); }
Same methods
DelegateTests::
ValueTypeMethod
(
CustomValueType
parameter
) :
CustomValueType
DelegateTests
AllPrimitivesMethod
ClosedStaticDelegate
DateTimeMethod
DecimalMethod
DynamicInvoke
DynamicInvokeTestFunction
DynamicInvoke_ConvertMatchingTToNullable_Succeeds
DynamicInvoke_ConvertNonMatchingTToNullable_ThrowsArgumentException
DynamicInvoke_DefaultParameter_AllPrimitiveParametersWithAllExplicitValues
DynamicInvoke_DefaultParameter_AllPrimitiveParametersWithMissingValues
DynamicInvoke_DefaultParameter_AllPrimitiveParametersWithSomeExplicitValues
DynamicInvoke_DefaultParameter_DateTimeParameterWithExplicitValue
DynamicInvoke_DefaultParameter_DateTimeParameterWithMissingValue
DynamicInvoke_DefaultParameter_DecimalParameterWithAttributeAndExplicitValue
DynamicInvoke_DefaultParameter_DecimalParameterWithAttributeAndMissingValue
DynamicInvoke_DefaultParameter_DecimalParameterWithExplicitValue
DynamicInvoke_DefaultParameter_DecimalParameterWithMissingValue
DynamicInvoke_DefaultParameter_EnumParameterWithMissingValue
DynamicInvoke_DefaultParameter_NullableIntWithExplicitValue
DynamicInvoke_DefaultParameter_NullableIntWithMissingValue
DynamicInvoke_DefaultParameter_ReferenceTypeParameterWithExplicitValue
DynamicInvoke_DefaultParameter_ReferenceTypeParameterWithMissingValue
DynamicInvoke_DefaultParameter_StringParameterWithExplicitValue
DynamicInvoke_DefaultParameter_StringParameterWithMissingValue
DynamicInvoke_DefaultParameter_ValueTypeParameterWithExplicitValue
DynamicInvoke_DefaultParameter_ValueTypeParameterWithMissingValue
DynamicInvoke_MissingTypeForDefaultParameter_Succeeds
DynamicInvoke_MissingTypeForNonDefaultParameter_ThrowsArgumentException
DynamicInvoke_NullRefValueTypeParameter_ReturnsValueTypeDefault
DynamicInvoke_NullValueType_Succeeds
DynamicInvoke_OptionalParameterUnassingableFromMissing_WithMissingValue
DynamicInvoke_OptionalParameter_WithExplicitValue
DynamicInvoke_OptionalParameter_WithMissingValue
DynamicInvoke_ParameterSpecification_ArrayOfMissing
DynamicInvoke_ParameterSpecification_ArrayOfStrings
DynamicInvoke_RefValueTypeParameter
DynamicInvoke_SizePreservingNonVauePreservingConversion_ThrowsArgumentException
DynamicInvoke_TypeDoesntExactlyMatchRefValueType_ThrowsArgumentException
DynamicInvoke_ValuePreservingPrimitiveWidening_Succeeds
DynamicInvoke_ValuePreservingWideningToEnum_Succeeds
EmptyFunc
EnumEnumMethod
EnumMethod
IntIntMethod
NullableIntMethod
NullableMethod
ObjectMethod
RefIntMethod
RefValueTypeMethod
ReferenceMethod
StringMethod
ValueTypeMethod